A modern chat interface for AgentOS built with Next.js, Tailwind CSS, and TypeScript. This template provides a ready-to-use UI for connecting to and interacting with your AgentOS instances through the Agno platform.
Before setting up Agent UI, you need a running AgentOS instance. If you haven't created one yet, check out our Creating Your First OS guide.
Note: Agent UI connects to AgentOS instances through the Agno platform. Make sure your AgentOS is running before attempting to connect.
npx create-agent-ui@latest
git clone https://github.com/agno-agi/agent-ui.git
cd agent-ui
pnpm install
pnpm dev
Agent UI connects directly to your AgentOS instance, allowing you to interact with your agents through a modern chat interface.
Prerequisites: You need a running AgentOS instance before you can connect Agent UI to it. If you haven't created one yet, check out our Creating Your First OS guide.
By default, Agent UI connects to http://localhost:7777. You can easily change this by:
http://localhost:7777 (default) or your custom local portWarning: Make sure your AgentOS is actually running on the specified endpoint before attempting to connect.
If your AgentOS instance requires authentication, you can configure it in two ways:
Set the OS_SECURITY_KEY environment variable:
# In your .env.local file or shell environment
NEXT_PUBLIC_OS_SECURITY_KEY=your_auth_token_here
Note: This uses the same environment variable as AgentOS, so if you're running both on the same machine, you only need to set it once. The token will be automatically loaded when the application starts.
Security Note: Authentication tokens are stored locally in global store and are included as Bearer tokens in API requests to your AgentOS instance.
Once you've configured the endpoint:
Contributions are welcome! Please see CONTRIBUTING.md for contribution guidelines.
This project is licensed under the MIT License.
$ claude mcp add agent-ui \
-- python -m otcore.mcp_server <graph>