A chat interface for interacting with an AI assistant that can communicate with the Sei blockchain.
One-click setup! Just run this single command and everything will be set up automatically:
- Clone the repo
git clone https://github.com/CambrianAgents/agent-launcher
cd agent-launcher- Run the script and follow the few steps requested
./run-agent.shThis script will:
- ✅ Check and install Node.js (if needed)
- 📦 Install all dependencies
- 🔧 Guide you through environment setup
- 🚀 Start the development server
- Node.js 16+
- npm
-
Clone the repository:
git clone https://github.com/CambrianAgents/agent-launcher cd agent-launcher -
Install dependencies:
npm install
-
Set up environment variables:
./setup-env.sh
This interactive script will guide you through setting up your:
- OpenAI API key
- Sei wallet private key
- RPC URL (defaults to https://evm-rpc.sei-apis.com)
-
Start the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
The chat interface provides a simple way to interact with the Cambrian AI Assistant. Simply type your question or request in the input field and press enter or click the send button. The AI will process your message and respond in real-time.
Example queries:
- "How can I interact with the Sei blockchain?"
- "How much sei do I own?"
- "Swap 5 sei for USDC."
- "Stake 3 sei."
| Script | Purpose | When to Use |
|---|---|---|
./run-agent.sh |
Complete setup and launch | First time setup, non-developers |
./setup-env.sh |
Environment variable setup only | Updating API keys, manual setup |
"Node.js not found" error:
- The install script will automatically install Node.js for you
- If manual installation is needed, visit nodejs.org
"Permission denied" error:
- Make sure the scripts are executable:
chmod +x *.sh
Environment variables not working:
- Re-run the environment setup:
./setup-env.sh - Check that your
.envfile exists and contains the required variables
Port 3000 already in use:
- Stop other applications using port 3000, or
- The app will automatically try the next available port
For more details on the available features, visit our website or the official Sei Agent Kit repository.
Follow us on X
The easiest way to deploy this agent is using Vercel:
- Push your code to a GitHub repository
- Go to Vercel and sign up or log in
- Click "Add New Project" and import your GitHub repository
- Configure the following environment variables:
OPENAI_API_KEYSEI_PRIVATE_KEYRPC_URL
- Click "Deploy"
- Push your code to a GitHub repository
- Go to Netlify and sign up or log in
- Click "Add new site" → "Import an existing project"
- Connect to your GitHub repository
- Configure the build settings:
- Build command:
npm run build - Publish directory:
.next
- Build command:
- Add the environment variables in the site settings
- Deploy the site
Before deploying, make sure you have the following environment variables set:
OPENAI_API_KEY=your_openai_api_key
SEI_PRIVATE_KEY=your_sei_private_key
RPC_URL=your_rpc_url
To run the agent locally:
npm install
npm run devVisit http://localhost:3000 to see your agent in action.
