{"ref":"content:agentic-ai-on-btp-a-single-agent-with-langgraph","page":"/content/agentic-ai-on-btp-a-single-agent-with-langgraph","json":"/content/agentic-ai-on-btp-a-single-agent-with-langgraph.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"agentic-ai-on-btp-a-single-agent-with-langgraph","title":"Agentic AI on BTP: a Single Agent with LangGraph","url":"https://community.sap.com/t5/technology-blog-posts-by-members/agentic-ai-on-btp-a-single-agent-with-langgraph/ba-p/14388025","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:mcp-servers","applies_to":{"ecosystems":["btp","cap"]}},{"ref":"capability:agent-tooling","applies_to":{"ecosystems":["btp","cap"]}},{"ref":"capability:llm-integration","applies_to":{"ecosystems":["btp","cap"]}},{"ref":"capability:authorization","applies_to":{"ecosystems":["btp","cap"]}}],"summary":"A CAP TypeScript agent puts a LangGraph StateGraph in front of AzureOpenAiChatClient from @sap-ai-sdk/langchain, reaching [SAP AI Core](artifact:btp-ai-core)'s Generative AI Hub, and lets its tool-calling loop draw on five deployed [MCP servers](capability:mcp-servers) — [OData MCP Proxy](artifact:lemaiwo-odata-mcp-proxy), [CI MCP Server](artifact:lemaiwo-ci-mcp-server), [AI Core MCP Server](artifact:lemaiwo-ai-core-mcp-server), [BTP MCP Server](artifact:lemaiwo-btp-mcp-server) and [BTP CF MCP Server](artifact:lemaiwo-btp-cf-mcp-server) — through @langchain/mcp-adapters' MultiServerMCPClient. Because agent, servers and APIs share one XSUAA tenant, the chat service forwards the signed-in user's own JWT instead of a service account, so each downstream server enforces that user's own authorizations. Past roughly a hundred combined tools the single prompt slows down and stops separating concerns, which is why the author's next post splits it into one specialist agent per MCP server behind an orchestrator.","short":"LangGraph agent in CAP TypeScript calling five MCP servers","authors":["actor:lemaiwo"],"published":"2026-05-03","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"agentic-ai-tag"},{"source":"source:sap-community","channel":"cloud-foundry-tag"}],"first_seen":"2026-09-29"},"drafted_with_ai":true,"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:mcp-servers (cap, btp); capability:agent-tooling (cap, btp); capability:llm-integration (cap, btp); capability:authorization (cap, btp)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"good","evidence":"published 5 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"@cap-js/mcp 1.1.0, 2026-07 and 1 more"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":2093,"unit":"views"},{"value":1,"unit":"comments"},{"value":7,"unit":"likes"}]},"signals":{"views":2093,"likes":7,"comments":1,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[{"ref":"actor:lemaiwo","name":"Wouter Lemaire","json":"/actors/lemaiwo.json"}]}}