{"ref":"content:build-your-ai-agent-prototype-for-free-using-sap-cap-langchain-and-ollama-cloud","page":"/content/build-your-ai-agent-prototype-for-free-using-sap-cap-langchain-and-ollama-cloud","json":"/content/build-your-ai-agent-prototype-for-free-using-sap-cap-langchain-and-ollama-cloud.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"build-your-ai-agent-prototype-for-free-using-sap-cap-langchain-and-ollama-cloud","title":"Build Your AI Agent prototype for free using SAP CAP, LangChain and Ollama cloud","url":"https://community.sap.com/t5/technology-blog-posts-by-members/build-your-ai-agent-prototype-for-free-using-sap-cap-langchain-and-ollama/ba-p/14475207","content_type":"blog","published_on":"source:sap-community","explains":["capability:llm-integration","capability:agent-tooling"],"summary":"A CAP Node.js service action calls an Ollama-hosted model through LangChain's ChatOllama, with the API key read from a .env file instead of any destination or credential binding — the hand-rolled-key route SAP's own SDK call exists to avoid. The same handler then builds a LangChain agent with createAgent and one mock tool, so a question about restaurants triggers a tool call and any other question does not, independent of the [@cap-js/agents](artifact:cap-js-agents) plugin's A2A-served harness.","author":"rajeevgoswami1","published":"2026-08-29","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"agentic-ai-tag"}],"first_seen":"2026-10-25"},"drafted_with_ai":true},"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 3 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2026-08-29"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":2145,"unit":"views"},{"value":2,"unit":"comments"},{"value":5,"unit":"likes"}]},"signals":{"views":2145,"likes":5,"comments":2,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}