cap-agent-ui5-webui-sample
A worked example of the cap-agent-ui5-webuicap-agent-ui5-webuiGives a CAP agent a UI5 web interface out of the box, so an agent built in the service has somewhere to be talked to without a separate frontend project.independent, cap plugin, shown running locally, in hybrid mode against SAP AI Core, and deployed.
Facts
Where it sits
Who is behind it
In the atlas: maintains 25, contributes to 39, wrote 12@lemaiwomaintainer
Before choosing this
Signals
LicenceNo licenseNeither the package manifest nor the repository tree declares a licence
Without a licence the default is all rights reserved. Ask the maintainer, or check for terms stated elsewhere, before depending on it.
What it declares
Every artifact
- Type
- Sample
- Origin
- Independently maintained
- Runtime
- Node.js
As a sample
- Form
- does not say
Connections
Building an agent into your own application
Calling a language model with tenant and credential handling solved
Download
Architecture
as mta.yaml states it at 3f71183, readDownload
Bound, and not drawn
- sample-srvhana, sample-aicore
- sample-db-deployerhana
- sample-app-contentSAP HTML5 Application Repository service for SAP BTP
Documented, with no instance in the document
- @cap-js/agents requires SAP AI Coresample-srvconditionalThe model the agent calls on each turn of its loop, reached through an SAP AI Core service instance.CAP-level Agents, cds.requires.llm — capire
The default for `production` and `hybrid`, connects to SAP AI Core
CAP-level Agents, cds.requires.llm — capireThe LLM used by an agent is configured via `cds.requires.llm`.
- @cap-js/hana requires SAP HANA Cloudsample-srvconditionalThe database this is the service for: capire's standard database for production, reached with the credentials
cds watchorcds runfetch from the binding at runtime.Using SAP HANA Cloud for Production — capire, Prepare for ProductionThis configures deployment for SAP HANA. The configuration is added to a `[hybrid]` profile in your _package.json_.
Using SAP HANA Cloud for Production — capire, cds deployWith this information, `cds watch`/`run` can fetch the SAP HANA credentials at runtime, so that the server can connect to it.
Databases — capire, overview (the 2 is the page's footnote mark)in production, SAP HANA 2 is used by default
- @sap/xssec requires Cloud Identity Servicessample-srv
- @sap/approuter requires Cloud Identity Servicessample-routerAuthenticating the user against Identity Authentication instead of, or alongside, SAP Authorization and Trust Management service. Bound to both, the router picks IAS.@sap/approuter 23.0.0 — README, authenticationType
Bound to both services: prefers ias if both authentication services can be used in the current subaccount, determined via BTP security endpoint (may impact response time)
- @sap/approuter requires SAP Destination servicesample-routerReading the destination a route forwards to, where that configuration is not written into the router's own environment.@sap/approuter 23.0.0 — README, destination configuration
Destination configuration can also be read from `destination service`.
- @sap/approuter requires SAP Connectivity servicesample-routerForwarding to an on-premise backend: the binding is required once a destination sets its ProxyType to on-premise.@sap/approuter 23.0.0 — README, destination ProxyType
if ProxyType set to `on-premise`, binding to SAP Cloud Platform connectivity service is required.
Bound in the descriptor, not joined to an entry
hana
README
quoted from lemaiwo/cap-agent-ui5-webui-sample, readcap-agent-ui5-webui-sample
A small CAP application that uses the
cap-agent-ui5-webui plugin, showing
the three ways you would actually run it: locally, hybrid against a real LLM on SAP
AI Core, and deployed to SAP BTP Cloud Foundry.
The domain is a tiny support desk — customers and tickets, with an escalate action gated
behind human approval. Swap it for your own; nothing about the plugin changes.
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- First seen.
For your agent
- Ref
artifact:lemaiwo-cap-agent-ui5-webui-sample- JSON
- /artifacts/lemaiwo-cap-agent-ui5-webui-sample.json
- MCP
- Connecting an agent