# Ogcode

> Self-hosted, open-source AI coding agent that maps codebases, recalls decisions across sessions, and runs locally with any model provider including Ollama.

- **Category:** AI Assistant
- **Licence:** AGPL-3.0
- **Latest version:** v0.53.1
- **Open source:** oss
- **Languages:** Typescript, Go
- **Platforms:** Docker, Docker Compose, Go, Linux, Windows, Homebrew
- **Tags:** Mcp, Automation, Ai Assistant, Solidjs, Local First, LLM, Ollama, Memory, Developer Tools, Code Review, Open Source, Go, Self Hosted, Coding Assistant, Ai Agent, Agentic, Context Engineering, Code generation, Coding agent, Computer Use, AI Coding Agent, Plan Mode, Token Efficiency

## Description

Ogcode is a self-hosted AI coding agent that runs as a single Go binary with an embedded web UI. It understands codebases by mapping them before reading, recalls past decisions instead of replaying entire conversation histories, and keeps context windows small to reduce token costs. The agent supports multiple model providers (Anthropic, OpenAI, OpenRouter, Ollama) and can run fully offline with local models. It features three permission modes (Ask, Auto, Yolo), Plan Mode for breaking features into parallel tasks with pull requests, built-in web search, skills for repeatable workflows, MCP server integration, and rich result rendering (Mermaid, LaTeX, Plotly, HTML). Installation options include Docker, Homebrew, winget, Go install, and a curl script. The web UI runs on port 9595 by default. Licensed under AGPL-3.0 with a commercial license option.

## Links

- [Homepage](https://github.com/prasenjeet-symon/ogcode)
- [Website](https://ogcode.in)
- [Docker](ghcr.io/prasenjeet-symon/ogcode)
- [Documentation](https://ogcode.in/docs/)
- [GitHub Repository](https://github.com/prasenjeet-symon/ogcode)
- [Reddit Community](https://www.reddit.com/r/ogcode/)
- [Blog](https://ogcode.in/blog/)
- [OGX Plan](https://ogcode.in/ogx/)
- [Docker Image (GitHub)](https://github.com/prasenjeet-symon/ogcode/pkgs/container/ogcode)
- [Releases](https://github.com/prasenjeet-symon/ogcode/releases)
- [License](https://github.com/prasenjeet-symon/ogcode/blob/main/LICENSING.md)

---
Source: https://selfhost.directory/project/ogcode