Tutorials

Getting Started with GoClaw: Deploy Your First AI Agent

GoClaw Team·Published on

Getting Started with GoClaw

GoClaw is the enterprise AI agent platform built in Go. This tutorial walks you through deploying your first agent.

Prerequisites

  • Go 1.21 or later
  • PostgreSQL 14+
  • Docker (optional but recommended)

Installation

Clone the repository and build the binary:

git clone https://github.com/nextlevelbuilder/goclaw.git
cd goclaw
go build -o goclaw ./cmd/server

Configuration

Create a .env file with your settings:

DATABASE_URL=postgres://user:pass@localhost:5432/goclaw
ANTHROPIC_API_KEY=your-key-here
PORT=8080

Starting the Server

./goclaw serve

GoClaw starts in under 1 second and listens on port 8080.

Creating Your First Agent

Use the REST API to create an agent:

curl -X POST http://localhost:8080/api/agents \
  -H "Content-Type: application/json" \
  -d '{"name": "my-agent", "model": "claude-3-5-sonnet"}'

Next Steps

  • Explore the architecture guide
  • Configure multi-tenant isolation
  • Add custom tools via MCP protocol

GoClaw is built for production from day one. Welcome aboard.