BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

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 Cloud 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 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

Explains
SearchCAPSearchcapabilityFree-text search across an entity and its compositions, pushed into the database rather than filtered in the service. Declared search, database similarity search and filtering in application code are often lumped together.SAP HANA CloudCAPBTPSAP HANA CloudserviceThe 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/cds-dkCAP@sap/cds-dkcliThe command line client and development toolkit for CAP projects, with the commands cds build, cds deploy, cds watch and cds add among them.
Since then
No major release of @sap/cds-dk since this was published
Source
reachable

Who is behind it

neilaspinauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
868

For search

on the edge
Applies in
authored
cap

More on this30

Group by30 of 30 pieces
Piece, what it offersStill applies
Also explainingSearch30
CAP in the age of AI #7 - vector embeddings wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 7 of 7
nothing recorded
CAP in the age of AI #6 - vector embeddings
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Daniel Schlachter, part 6 of 7
nothing recorded
SAP BDC in Business AI Platform: Contextualize and Reason
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Bring "developers.sap.com" Into Your Dev Environment: SAP Developer Context for AI Coding Agents
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Building your knowledge graph on SAP HANA Cloud
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Combining AI Agents with the power of SAP HANA embedded ML (part 1)
YouTube — SAP Developers playlists, Vitaliy Rudnytskiy
nothing recorded
Understanding Fuzzy Search in SAP Fiori Applications
SAP Community, Ruchi5
nothing recorded
Automate Recurring Data Updates in SAP HANA Cloud
SAP Community, Joni
nothing recorded
Accelerating Your Analytics with Delta Table Replication into SAP HANA Cloud
SAP Community, SeungjoonLee
nothing recorded
Medallion Reference Architecture for Big Data Processing in SAP HANA Cloud
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
SAP HANA Cloud as an Esri Geodatabase
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Case-insensitive filters in Fiori Elements (List report + CAP)
SAP Community, Kishannaicker
nothing recorded
Improved Search Performance in SAP BTP Core, SAP Cloud Application Programming Model, Node.js Runtime
SAP Community, Arley Triana Morin
nothing recorded
SAP HANA Data Lake Files (HDLF) Basic Functionalities
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Talking to your database: The new data exploration tools in SAP HANA Cloud
SAP TechEd — session catalogueThe reasoning
nothing recorded
Stop guessing, start counting: How generative AI fixed an inventory mess
SAP TechEd — session catalogueThe reasoning
nothing recorded
SAP HANA Cloud as a self-managed database: Advisors and automation
SAP TechEd — session catalogueThe reasoning
nothing recorded
Build AI agents and applications natively on SAP HANA Cloud
SAP TechEd — session catalogueThe reasoning
nothing recorded
Modernize your database landscape with SAP HANA Cloud
SAP TechEd — session catalogueThe reasoning
nothing recorded
SAP HANA Cloud advisors and automation
SAP TechEd — session catalogueThe reasoning
nothing recorded
Building agentic applications with SAP HANA Cloud
SAP TechEd — session catalogueA recipe
nothing recorded
Unlock predictive and generative AI with your data in SAP HANA Cloud
SAP TechEd — session catalogueThe reasoning
nothing recorded
Agentic memory: Knowledge graph engine and recall in SAP HANA Cloud
SAP TechEd — session catalogue, Markus FathThe reasoning
nothing recorded
Get hands on with tabular AI and forecasting models in SAP HANA Cloud
SAP TechEd — session catalogue, Markus FathA recipe
nothing recorded
Knowledge graph and agent memory: Build an agent that remembers
SAP TechEd — session catalogue, Markus Fath, Thomas HammerA recipe
nothing recorded
Flexible analytics at speed: Calculation views in SAP Business Data Cloud
SAP TechEd — session catalogue, Thomas HammerThe reasoning
nothing recorded
Road map for SAP HANA Cloud: What’s next for the AI database
SAP TechEd — session catalogue, Thomas HammerThe reasoning
nothing recorded
SAP HANA Cloud: The data foundation for contextualizing and reasoning
SAP TechEd — session catalogueThe reasoning
nothing recorded
SAP HANA Cloud as the AI database for SAP Business Data Cloud
SAP TechEd — session catalogue, Thomas HammerThe reasoning
nothing recorded
Build your custom knowledge layer with SAP HANA Cloud
SAP TechEd — session catalogue, Sebastian SchmidtThe reasoning
nothing recorded

Details

Graph5 edges
POINTS OUT →
explainsSearchcapability, core and community
explainsSAP HANA Cloudartifact
explains@sap/cds-dkartifact
published onSAP Communitypublishing source
discovered viaSAP Communityagentic-ai-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • 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