by aspasskiy
Lightweight self-hosted AI agent. Open-source OpenClaw alternative in Go.
# Add to your Claude Code skills
git clone https://github.com/aspasskiy/GoGogotGuides for using ai agents skills like GoGogot.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T16:26:38.614Z",
"npmAuditRan": true,
"pipAuditRan": true
}See how GoGogot compares with popular alternatives.
GoGogot is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by aspasskiy. Lightweight self-hosted AI agent. Open-source OpenClaw alternative in Go. It has 307 GitHub stars.
Yes. GoGogot passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/aspasskiy/GoGogot" and add it to your Claude Code skills directory (see the Installation section above).
GoGogot is primarily written in Go. It is open-source under aspasskiy on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh GoGogot against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.

A lightweight, extensible, and secure open-source AI agent that lives on your server. It runs shell commands, edits files, browses the web, manages persistent memory, and schedules tasks — a self-hosted alternative to OpenClaw (Claude Code) in ~11,500 lines of Go.
docker run commandAdapter, Channel, render.Surface) for providers and transports, JSON catalogs for modelsNo bot needed — run it interactively and chat right in the console:
docker run -it --rm \
-e GOGOGOT_PROVIDER=anthropic \
-e ANTHROPIC_API_KEY=... \
-e GOGOGOT_MODEL=claude-sonnet-5-5 \
-v ./data:/data \
-v ./work:/work \
octagonlab/gogogot:latest
Type a message and press Enter. See Terminal for the controls.
TELEGRAM_BOT_TOKEN by creating a new bot via @BotFather on Telegram.TELEGRAM_OWNER_ID (your personal Telegram user ID) using a bot like @userinfobot. This is critical for security — it ensures only you can communicate with your agent.No git clone needed — the image is published on Docker Hub:
docker run -d --restart unless-stopped \
--name gogogot \
-e TELEGRAM_BOT_TOKEN=... \
-e TELEGRAM_OWNER_ID=... \
-e GOGOGOT_PROVIDER=anthropic \
-e ANTHROPIC_API_KEY=... \
-e GOGOGOT_MODEL=claude-sonnet-5-5 \
-v ./data:/data \
-v ./work:/work \
octagonlab/gogogot:latest
Upgrading from an older release? The same command keeps working — no new env vars. A wrong token still stops the container at startup, with the bridge's last log lines in docker logs.
The image supports linux/amd64 and linux/arm64 and ships with a full Ubuntu environment (bash, git, Python, Node.js, ripgrep, sqlite, postgresql-client, and more).
curl -O https://raw.githubusercontent.com/aspasskiy/GoGogot/main/deploy/docker-compose.yml
# Create .env with your keys
cat > .env <<EOF
TELEGRAM_BOT_TOKEN=...
TELEGRAM_OWNER_ID=...
GOGOGOT_PROVIDER=anthropic
ANTHROPIC_API_KEY=...
GOGOGOT_MODEL=claude-sonnet-5-5
EOF
docker compose up -d
Requires Go 1.25+, and python3 on PATH for the Telegram channel (startup fails with a clear error if it is missing):
make generate # fetch OpenRouter model catalog
go run ./cmd/gogogot # opens the terminal chat; also Telegram if TELEGRAM_BOT_TOKEN is set
Without Docker the data directory defaults to ~/.gogogot (override with GOGOGOT_DATA_DIR).
A channel is how you talk to the agent. The terminal is built in; every other interface connects as a plugin — Telegram is just the first one that ships with GoGogot, and you (or the agent itself) can add more without touching Go or rebuilding:
| Channel | Kind | Runs when |
|---|---|---|
| Terminal | built in (Go) | stdin and stdout are a TTY (docker run -it, go run) |
| Telegram | bundled plugin (bridge.py, Python stdlib only) |
TELEGRAM_BOT_TOKEN and TELEGRAM_OWNER_ID are set |
| Your own | plugin in any language | its channel.json says so (required env vars set, not disabled) |
Several channels can run at once: you can start a task in the terminal and get scheduled-task results in Telegram too — owner notifications go to every running channel.
| Env | Default | Meaning |
|---|---|---|
GOGOGOT_TRANSPORT |
auto |
Comma-separated terminal, telegram or auto. auto starts the terminal when stdin/stdout are a TTY and Telegram when TELEGRAM_BOT_TOKEN is set. Asking for terminal without a TTY, or telegram without a token, is a startup error |
TELEGRAM_API_BASE |
https://api.telegram.org |
Point the Telegram bridge at a local Bot API server (lifts the 20 MB download limit) |
GOGOGOT_DATA_DIR |
/data in Docker, ~/.gogogot otherwise |
Where memory, skills (and so channel plugins) and, in terminal mode, the log file live |
Slash commands work the same in every channel: /new, /stop, /history, /memory, /soul, /user, /help.
/help lists the commands/attach <path> [message] sends a file, optionally with a message/exit or Ctrl+D quits$GOGOGOT_DATA_DIR/gogogot.log (./data/gogogot.log with the command above)A channel plugin is a skill directory with a channel.json. The core starts its bridge program as a child process and talks to it in JSON lines over stdin/stdout. The bridge only moves messages — the core renders live status, the plan, progress, answers and buttons, splits long messages, runs slash commands, and drops every message whose sender is not the owner. So every channel looks and behaves the same, and a new one is a few hundred lines of script.
/data/skills/discord/
SKILL.md what the channel is, setup notes
channel.json {"command": ["python3", "bridge.py"], "requires_env": ["DISCORD_BOT_TOKEN"],
"owner_env": "DISCORD_OWNER_ID", "format": "markdown", "max_message_len": 2000,
"can_edit": true, "buttons": false}
bridge.py the bridge
The bridge reports each message from the platform as an event:
{"event": "message", "chat": "123456", "sender": "123456", "text": "hi", "files": []}
and the core asks it to act with requests (send, edit, delete, typing, send_file, ask), each answered with one response line:
{"id": 7, "op": "send", "chat": "123456", "text": "Done ✅", "plain": false, "status": false}
{"id": 7, "ok": true, "msg_id": "42"}
The full protocol — manifest fields, the ready event, file uploads, error handling, restart backoff — is in add-channel/SKILL.md.
The agent can connect itself. Ask it to "connect yourself to Discord": it follows the bundled add-channel skill, writes the bridge, and starts it with channel_restart — no rebuild, no container restart. Tokens go into the container env (docker run -e ...), never into the chat. channel_list and channel_logs show what is running and why a bridge failed.
Telegram is a plugin too — the bundled telegram skill, so the agent can read, patch and restart its own Telegram bridge. On every start the core installs bundled skills into $GOGOGOT_DATA_DIR/skills (/data/skills in Docker):
.upstream/telegram, the bundled one is installed as telegram-bundled.broken/, so a bad edit cannot lock you out (channels the agent wrote itself are not rolled back)Set GOGOGOT_PROVIDER, GOGOGOT_MODEL, and the corresponding API key. The agent will not start without all three.
| Provider | GOGOGOT_PROVIDER |
API key env | Example GOGOGOT_MODEL |
|---|---|---|---|
| Anthropic | anthropic |
ANTHROPIC_API_KEY |
claude-sonnet-5-5, claude-opus-5-5, claude-fable-5-1, claude-haiku-5-5 |
| OpenAI | openai |
OPENAI_API_KEY |
gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4-mini |
| OpenRouter | openrouter |
OPENROUTER_API_KEY |
qwen/qwen3.7-max, deepseek/deepseek-v4-flash, x-ai/grok-build-0.1 |
Model metadata (context window, vision support, pricing) is stored in JSON catalogs under llm/catalog/ — just edit the JSON to add or update models.
With OpenRouter you can also pass any slug directly, e.g. GOGOGOT_MODEL=moonshotai/kimi-k2.5.
For convenience, short aliases are supported as GOGOGOT_MODEL values:
| Alias | Resolves to | PinchBench avg |
|---|---|---|
qwen |
qwen/qwen3.7-max |
92.5% |
grok |
x-ai/grok-build-0.1 |
88.9% |
deepseek |
deepseek/deepseek-v4-flash |
81.7% |
gemini |
google/gemini-3-flash-preview |
72.1% |
kimi |
moonshotai/kimi-k2.5 |
54.6% |
claude |
claude-sonnet-5-5 |
— |
openai |
openai/gpt-5-nano |
— |
llama |
meta-llama/llama-4-maverick |