Skip to main content

Prerequisites

  • Node.js 22+
  • (Optional) Docker for voice services
  • (Optional) Claude API key or Max subscription

1. Install

git clone https://github.com/agtos-ai/agtos.git
cd agtos
npm install

2. Configure Authentication

echo "ANTHROPIC_API_KEY=sk-ant-api03-your-key" >> .env.local
Get your key from console.anthropic.com

3. Start the Server

npx tsx src/server.ts
The health endpoint is available immediately at http://localhost:4102/health.

4. Test Chat

curl -X POST http://localhost:4102/api/chat \
  -H 'Content-Type: application/json' \
  -d '{"text": "Hello, what is 2+2?"}'

5. (Optional) Start Voice Services

docker compose up -d redis speaches
Then open the dashboard at http://localhost:4102 and try voice chat.