Notes on simple agentification of a CAP service 0 ▲ DJ Adams 2 hours ago · Tech · hide · 0 comments Baseline The plugin for building agents based on the A2A protocol is here. I start with the simple bookshop project and add the plugin: gh repo clone capire/bookshop \ && cd bookshop \ && npm add @cap-js/agents Agentification I apply the @agent annotation to the CatalogService in srv/cat-agent.cds: using { CatalogService } from './cat-service'; annotate CatalogService with @agent; Startup and development mode I start up a CAP server and ask for debug level output for the agents component: DEBUG=agents cds watch and observe the log output: [agents] - Adapter initialized { service: 'CatalogService' } [cds] - serving CatalogService { at: [ '/odata/v4/browse', '/rest/browse', '/hcql/browse', '/a2a/browse' ], decl: 'srv/cat-service.cds:3', impl: 'srv/cat-service.js' } http://localhost:4004/a2a/browse is an A2A JSON-RPC endpoint that is expecting POST requests http://localhost:4004/a2a/browse/.well-known/agent-card.json is the agent card http://localhost:4004/a2a/browse/preview/ is a helper… No comments yet. Log in to reply on the Fediverse. Comments will appear here.