Repolode
aspasskiy

aspasskiy/GoGogot

A lightweight self-hosted AI agent written in Go that runs on your server and works through Telegram, using Anthropic, OpenAI or OpenRouter models.

Open-source alternative to:OpenClaw

Stars
264
Forks
17
Open issues
4
Last commit
2 months ago

What is it?

GoGogot is a self-hosted AI agent that lives on your own server and is controlled through a Telegram bot. It can run shell commands, read and edit files, search and fetch web pages, keep persistent memory and notes, search past conversations, and schedule recurring tasks with cron-style timing. The project is positioned as a smaller alternative to OpenClaw, with a core of roughly 9,000 lines of Go shipped as a single binary of about 15 MB.

You choose the model provider: Anthropic, OpenAI, or any model available through OpenRouter. API keys stay on your server, and the agent is restricted to the Telegram user ID you set as owner. Deployment is a single Docker command, and the image supports linux/amd64 and linux/arm64 and includes a general-purpose Ubuntu environment with bash, git, Python, Node.js and sqlite.

The agent's core is a loop that calls the LLM, executes tool calls and feeds results back. Memory, scheduling, context compaction and identity files are implemented as tools inside that loop. New model backends, chat transports such as Discord or Slack, and custom tools can be added through small Go interfaces.

Key features

  • 01Telegram interface with multi-chat support, attachments and interactive prompts
  • 02Shell, file read/write/edit and regex search tools running in a Ubuntu container
  • 03Web search via Brave, page fetching and HTTP requests
  • 04Persistent memory, identity files and skills the agent maintains itself
  • 05Cron-based task scheduling that persists across restarts
  • 06Automatic context compaction near token limits

Use cases

  • Receiving a daily news digest or report delivered to Telegram each morning
  • Monitoring server disk and memory usage and alerting on thresholds
  • Processing files such as merging screenshots into a PDF and sending it back
  • Extracting structured data from web pages into CSV

Topics

FAQ

What is GoGogot?
A lightweight self-hosted AI agent written in Go that runs on your server and works through Telegram, using Anthropic, OpenAI or OpenRouter models. GoGogot is a self-hosted AI agent that lives on your own server and is controlled through a Telegram bot. It can run shell commands, read and edit files, search and fetch web pages, keep persistent memory and notes, search past conversations, and schedule recurring tasks with cron-style timing. The project is positioned as a smaller alternative to OpenClaw, with a core of roughly 9,000 lines of Go shipped as a single binary of about 15 MB.
Is GoGogot free to use? What license does it have?
GoGogot is open source under the MIT license. Check the license terms before using it in commercial products.
Is GoGogot still maintained?
Updated within 6 months. The last commit to GoGogot was on Aug 26, 2026.
What can I use GoGogot for?
Receiving a daily news digest or report delivered to Telegram each morning Monitoring server disk and memory usage and alerting on thresholds Processing files such as merging screenshots into a PDF and sending it back Extracting structured data from web pages into CSV
Where can I get GoGogot?
The source code and installation instructions are on GitHub: https://github.com/aspasskiy/GoGogot

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects