A Next.js application for testing and interacting with IntentKit agents - a powerful autonomous agent framework.
intenkit-chat.mp4
- Node.js 14.x or higher
- npm or yarn
- Python 3.12+ (for running IntentKit server)
- Running IntentKit server (see Setup IntentKit Server below)
# Clone the IntentKit repository
git clone https://github.com/crestalnetwork/intentkit.git
cd intentkit
# Set up Python environment
python3.12 -m venv .venv
source .venv/bin/activate
pip install poetry
poetry install --with dev
# Configure environment
cp example.env .env
# Edit .env with your OPENAI_API_KEY and DB settings
# Run the IntentKit server
uvicorn app.api:app --reload
# Clone this repository
git clone https://github.com/bluntbrain/intentkit-sandbox-ui.git
cd intentkit-sandbox-ui
# Install dependencies
npm install
# Start the development server
npm run dev
In a new terminal, navigate to the IntentKit directory:
cd path/to/intentkit/scripts
sh create.sh my-first-agent
Open your browser and navigate to http://localhost:3000
You should now see the IntentKit Sandbox UI. Use the settings icon to configure the server URL if needed (default: http://127.0.0.1:8000).
- 🤖 Chat with IntentKit agents
- 📋 View and manage agent configurations
- 💼 Test agent skills (token, portfolio, etc.)
- 🔍 View JSON responses with syntax highlighting
- ⚙️ Configure server connection settings
- Connect to IntentKit Server: By default, the UI connects to an IntentKit server running on http://127.0.0.1:8000
- Configure Server Settings: Click the gear icon (⚙️) to change the server URL if needed
- Select an Agent: Choose an agent from the sidebar list to start working with it
- Interact with the Agent: Send messages and view responses in the chat interface
- View Agent Details: Toggle between chat and configuration view with the "View Details" button
To create more agents:
cd intentkit/scripts
sh create.sh another-agent
Test your agent:
curl "http://127.0.0.1:8000/debug/my-first-agent/chat?q=Hello"
To get the most out of this UI, familiarize yourself with these IntentKit documents:
- IntentKit Overview - Main project README
- Development Guide - Setup and configuration
- Agent Management Documentation - How to manage agents
- Skills Development Guide - How to create custom skills
- Contributing Guidelines - How to contribute to IntentKit
- Server URL is stored in localStorage for persistence
- Authentication credentials (if required) are also stored in localStorage
- Can't connect to the server? Make sure the IntentKit server is running at the configured URL
- No agents showing up? You need to create at least one agent using the IntentKit CLI
- Authentication errors? Click the gear icon to enter your credentials
Contributions to this UI project are welcome. Please feel free to submit a PR or create an issue.
This project is licensed under the MIT License.