For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Build and return the Hono application with all registered agents and a root listing
endpoint. If no agent is mounted at /, the root returns a JSON listing of all
registered agents.
Parameters
None.
Returns
Hono — The fully configured Hono app.
Example
1
import { serve } from '@hono/node-server';
2
import { AgentBase, AgentServer } from '@signalwire/sdk';
3
4
const agent = new AgentBase({ name: 'support', route: '/support' });
5
agent.setPromptText('You are a helpful assistant.');