Building an SAP BTP Agent Architecture from Scratch: Python + CAP + HANA
A first-person build log of a Flask orchestrator on Cloud Foundry that reduces a question to keywords, searches a Node.js service's Documents entity, and passes what it finds to Claude for a grounded answer. Getting there means learning that HANA's fuzzy .search() matches one word but not a full sentence, fixed by splitting the query into terms and merging the per-term hits, and that provisioning SAP HANA CloudSAP HANA CloudThe managed database under most of this: CAP's default target, the store Datasphere and Analytics Cloud sit on, and a service with plans and components.sap official, btp hits a database-level free-tier quota rather than an HDI-container one, with a stopped instance needing to be resumed first. It also covers @sap/cds-dk@sap/cds-dkThe command line client and development toolkit for CAP projects, with the commands cds build, cds deploy, cds watch and cds add among them.sap official, cap needing to sit in dependencies rather than devDependencies, since Cloud Foundry's buildpack skips the latter, before cds deploy --to hana can run as part of the push.
Where it sits
Who is behind it
Properties
About this work
For search
Details
Graph
Source
History
- explains → applies_to on capability:searchDoor scope derived from the artifacts this piece also explains, so a door page lists it only where it holds (docs/concepts/content-on-doors.md).
- Entered the atlasDiscovered via SAP Community · agentic-ai-tag.
For your agent
- Ref
content:building-an-sap-btp-agent-architecture-from-scratch-python-cap-hana- JSON
- /content/building-an-sap-btp-agent-architecture-from-scratch-python-cap-hana.json
- MCP
- Connecting an agent