Examples, Claude Code skills, and documentation to help you integrate AGO into your application.
ago-developer-kit/
├── skills/ # Claude Code skills for AI-assisted AGO integration
│ ├── ago-setup/ # /ago-setup — Install & configure the SDK
│ ├── ago-function/ # /ago-function — Create client-side functions
│ ├── ago-react/ # /ago-react — Build custom React chat UI
│ └── ago-widget/ # /ago-widget — Embed the chat widget
├── examples/
│ ├── react-chat/ # Custom chat UI with React hooks
│ ├── nextjs/ # Next.js App Router integration
│ ├── vanilla-js/ # No framework, plain JavaScript
│ ├── react-client-functions/ # Client-side functions the agent can call
│ └── widget-embed/ # Widget embed with script tag
└── docs/ # Integration guides
The fastest way to get started — let Claude Code set up AGO for you:
git clone https://github.com/useago/ago-developer-kit.git ~/.claude/skills/ago-developer-kit
cd~/.claude/skills/ago-developer-kit && ./setupThen open Claude Code in your project and type:
/ago-setup
Claude will install @useago/sdk, configure the client, and set up environment variables.
| Skill | Description |
|---|---|
/ago-setup | Install & configure @useago/sdk in any JS/TS project |
/ago-function | Create a client-side function that AGO agents can call from the browser |
/ago-react | Build a custom chat interface with React hooks (useChat, useMessages) |
/ago-widget | Embed the AGO chat widget with a single script tag |
Share the skills with your team by adding them to your project:
cd<your-project>~/.claude/skills/ago-developer-kit/setup --local
git add .claude/skills && git commit -m "Add AGO developer skills"Each example is a standalone project you can run locally. Set your AGO instance URL in the .env file.
Custom chat interface using useChat hook:
cd examples/react-chat
npm install
cp .env.example .env # Set your AGO base URL
npm run devAGO integration in a Next.js App Router app:
cd examples/nextjs
npm install
cp .env.example .env # Set your AGO base URL
npm run devNo framework — plain HTML + JavaScript with the SDK:
cd examples/vanilla-js
# Edit index.html to set your AGO base URL
npx serve .Define functions that AGO agents can call in the browser:
cd examples/react-client-functions
npm install
cp .env.example .env # Set your AGO base URL
npm run devEmbed the chat widget with a script tag — no build step:
cd examples/widget-embed
# Edit index.html to set your AGO base URL
open index.html- An AGO instance URL (e.g.,
https://YOUR-DOMAIN.useago.com) - Node.js 16+
- For Claude Code skills: Claude Code installed
MIT