← all repositories
nextlevelbuilder/goclaw

AI agent gateway that treats multi-tenancy as a first-class citizen

GoClaw exists to deploy AI agent teams at scale without letting one tenant’s keys, memory, or prompts leak into another.

3.5k stars Go AgentsLLMOps · Eval
goclaw
Velocity · 7d
+3.1
★ / day
Trend
cooling
star history

What it does

GoClaw is a multi-tenant AI agent gateway and orchestrator written in Go. It connects teams of autonomous agents to over 20 LLM providers and seven messaging channels—Telegram, Discord, Slack, WhatsApp, and others—while isolating each tenant’s data, encrypted API keys, and context in PostgreSQL. A single static binary runs the server; a separate desktop edition (GoClaw Lite) offers local SQLite-based agents for individuals.

The interesting bit

The project treats an AI gateway like a serious distributed system rather than a thin proxy. It implements an 8-stage execution pipeline, a three-tier memory hierarchy (working, episodic, semantic), and a knowledge vault with [[wikilinks]] and hybrid search—features usually found in research frameworks, here packaged for production deployment.

Key highlights

  • Supports 20+ LLM providers (Anthropic, OpenAI, OpenRouter, Groq, DeepSeek, Gemini, etc.) with unified adapter routing and prompt caching.
  • Multi-tenant PostgreSQL with per-user workspaces, RBAC, AES-256-GCM encrypted API keys, and isolated sessions.
  • Agent teams can delegate tasks synchronously, asynchronously, or bidirectionally with explicit permission links and concurrency limits.
  • Self-adapting agents collect metrics and refine their own communication style within guardrails, without altering core identity.
  • Ships as a ~25 MB static Go binary with embedded web UI, or as a Wails-based desktop app for macOS and Windows.

Caveats

  • Licensed under CC BY-NC 4.0, so commercial use requires separate permission.
  • The default Git branch is dev; the README explicitly warns users to clone -b main for stable releases.
  • Desktop Lite caps users at 5 agents and 1 team, and omits multi-tenant RBAC, knowledge graphs, and external messaging channels.

Verdict

Worth evaluating if you need to host AI agents for multiple users or teams and want provider portability without managing a Node.js fleet. Skip it if you need a permissive open-source license or a simple single-user chatbot wrapper.

Frequently asked

What is nextlevelbuilder/goclaw?
GoClaw exists to deploy AI agent teams at scale without letting one tenant’s keys, memory, or prompts leak into another.
Is goclaw open source?
Yes — nextlevelbuilder/goclaw is an open-source project tracked on heatdrop.
What language is goclaw written in?
nextlevelbuilder/goclaw is primarily written in Go.
How popular is goclaw?
nextlevelbuilder/goclaw has 3.5k stars on GitHub and is currently cooling off.
Where can I find goclaw?
nextlevelbuilder/goclaw is on GitHub at https://github.com/nextlevelbuilder/goclaw.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.