GoGogot

by aspasskiyVerified

Lightweight self-hosted AI agent. Open-source OpenClaw alternative in Go.

319
Stars
17
Forks
Go
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/aspasskiy/GoGogot

Getting Started

Guides for using skills like GoGogot.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

GoGogot

GoGogot — Lightweight OpenClaw Written in Go

Go Version License Stars Lines of code Docker

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 ~9,000 lines of core Go.

  • Single binary, ~15 MB, ~10 MB RAM — deploys with one docker run command

  • Your keys stay on your server — no cloud account, no telemetry, no phoning home

  • You pick the model — Anthropic, OpenAI, or any OpenRouter model

  • Extensible — clean Go interfaces (Adapter, Channel, Tool) make it trivial to add providers, transports, or custom tools

Quick Start

Prerequisites

  • Get a TELEGRAM_BOT_TOKEN by creating a new bot via @BotFather on Telegram.

  • Find your 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.

Docker

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-4-6 \
  -v ./data:/data \
  -v ./work:/work \
  octagonlab/gogogot:latest

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-4-6
EOF

docker compose up -d

Requires Go 1.25+:

make generate          # fetch OpenRouter model catalog
go run ./cmd/gogogot

Choosing a Model

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-opus-4-8, claude-sonnet-4-6, claude-haiku-4-5

OpenAI openai OPENAI_API_KEY gpt-5.4, gpt-5.1, gpt-4.1, o3, o4-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.

Short Aliases

For convenience, short aliases are supported as GOGOGOT_MODEL values:

Alias Resolves to

claude claude-sonnet-4-6

openai openai/gpt-5-nano

deepseek deepseek/deepseek-v4-flash

gemini google/gemini-3-flash-preview

grok x-ai/grok-build-0.1

llama meta-llama/llama-4-maverick

qwen qwen/qwen3.7-max

minimax minimax/minimax-m2.5

kimi moonshotai/kimi-k2.5

Browse all available models: Anthropic | OpenAI | OpenRouter | Benchmarks: PinchBench

Features

34 built-in tools, plus the core runtime:

  • Telegram — multi-chat, attachments, typing indicators, interactive prompts (ask_user)

  • System — bash, read/write/edit files, regex file search, system info

  • Web — Brave search, fetch pages, HTTP requests, file downloads

  • Identity — persistent soul.md / user.md, auto-evolving

  • Memory — persistent markdown notes the agent manages itself

  • Recall — semantic search across past conversations

  • Skills — reusable procedural knowledge the agent reads and writes

  • Task planning — session-scoped checklist for multi-step work

  • Scheduling — cron-based self-scheduling, persisted across restarts

  • Compaction — automatic context compression near token limits

  • Multi-model — Anthropic, OpenAI, or any OpenRouter model

  • Observability — compact info-level iteration logs; full request/response dumps at trace level (LOG_LEVEL=debug)

Use Cases

  • Daily digest"Find top 5 AI news, summarize each in 2 sentences, send me every morning at 9:00"

  • Report generation"Download sales data from this URL, calculate totals by region, generate a PDF report"

  • File processing"Take these 12 screenshots, merge them into a single PDF, and send the file back"

  • Market research"Search the web for pricing of competitors X, Y, Z and make a comparison table"

  • Server monitoring"Check disk and memory usage every hour, alert me if anything exceeds 80%"

  • Data extraction"Fetch this webpage, extract all email addresses and phone numbers into a CSV"

  • Routine automation"Every Friday at 18:00, pull this week's git commits and send me a changelog summary"

How It Works

The entire agent is a for loop. Call the LLM, execute tool calls, feed results back, repeat:

func (a *Agent) Run(ctx context.Context, input []ContentBlock) error {
    a.messages = append(a.messages, userMessage(input))

    for {
        resp, err := a.llm.Call(ctx, a.messages, a.tools)
        if err != nil {
            return err
        }
        a.messages = append(a.messages, resp)

        if len(resp.ToolCalls) == 0 {
            break
        }

        results := a.executeTools(resp.ToolCalls)
        a.messages = append(a.messages, results)
    }
    return nil
}

Everything else — memory, scheduling, compaction, identity — is just tools the LLM can call inside this loop.

Extending

GoGogot is designed to be extended without frameworks or plugin registries:

  • Adding a new LLM backend (implement the one-method Adapter interface)

  • Adding a new transport like Discord or Slack (implement Channel + Replier — 3 + 5 methods)

  • Adding custom models by editing JSON catalogs in llm/catalog/

License

MIT

Frequently Asked Questions

What is GoGogot?

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 319 GitHub stars.

Is GoGogot safe to use?

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.

How do I install GoGogot?

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).

What programming language is GoGogot written in?

GoGogot is primarily written in Go. It is open-source under aspasskiy on GitHub, so you can review or fork the full source.

Are there alternatives to GoGogot?

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.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details