Everything K-culture — comebacks to K-beauty, straight to your inboxGet it in your inbox

METAL MEDIA

memcode-ai/memcode

11GoMIT

memcode is a coding agent that keeps a memory of your repo, working both as a terminal tool and as a chat-app gateway from one binary

Unlike most coding agents that start every session from scratch, memcode stores a persistent model of your repository in a .memcode folder, tracking past work, failed approaches, and corrections you've given it. One Go binary runs two ways: Code, an interactive terminal agent, and Agents, a self-hosted gateway that answers across twelve chat channels. It can run on your own API keys, a local model like Ollama, or a hosted memcode account.

What it does

  1. The .memcode folder records repo structure, what was worked on before, failed attempts, and user-corrected preferences, so the team doesn't have to re-explain context each time.
  2. It defaults to cheap models for routine work and switches to stronger models for hard or risky tasks, while /model lets you pin a specific model manually.
  3. The /plan command researches the codebase, drafts an approach, and gets a second model's review before execution proceeds on the approved plan.
  4. The same binary can run as a gateway across twelve channels — Telegram, Discord, Slack, GitHub, WhatsApp, Email, Signal, Matrix, Mattermost, Microsoft Teams, Google Chat, and SMS — replying in the same conversation the request came from.
  5. Users can connect their own API keys, a local endpoint such as Ollama, or a hosted memcode.ai account to run any model they choose.

Why it matters

For developers tired of re-explaining project context to a coding agent every session, and for teams that want an agent they can run across their own chat tools without being locked to one model vendor, this offers a self-hosted, MIT-licensed alternative.

Terms in this repo

  • MCP · a protocol that lets a model connect to external tools and data sources
  • gateway · a relay server that receives messages from chat channels and routes them to the agent
  • context compaction · trimming long conversation history down to essentials before sending it to the model
  • BYOK · bring your own key — using your own existing API credentials

Repository description (English)

The coding agent that remembers your repo. CLI, gateway, MIT.

Open on GitHub

Coverage

Trending repos

All repos →

Latest from METAL MEDIA