skills/runtime/references/wiring-agno.md
Agno — wired via @ag-ui/agno. Requires an /agui URL suffix.
pnpm add @ag-ui/agno
import {
CopilotRuntime,
createCopilotRuntimeHandler,
} from "@copilotkit/runtime/v2";
import { AgnoAgent } from "@ag-ui/agno";
const runtime = new CopilotRuntime({
agents: {
default: new AgnoAgent({
url: process.env.AGNO_URL ?? "http://localhost:8000/agui",
}),
},
});
const handler = createCopilotRuntimeHandler({
runtime,
basePath: "/api/copilotkit",
});
export default { fetch: handler };
/agui suffix is mandatoryAgno's AG-UI FastAPI app mounts at /agui. Pointing url at the server root
(http://localhost:8000) returns 404. Always include /agui.
Source: docs/content/docs/integrations/agno/quickstart.mdx:215.