An open-source, local-first AI teammate and agent operating environment for turning intent into completed work—with tools, memory, permissions, and human oversight.
# Add to your Claude Code skills
git clone https://github.com/prasenjeet-symon/ogcodeogcode is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by prasenjeet-symon. An open-source, local-first AI teammate and agent operating environment for turning intent into completed work—with tools, memory, permissions, and human oversight. It has 148 GitHub stars.
ogcode's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/prasenjeet-symon/ogcode" and add it to your Claude Code skills directory (see the Installation section above).
ogcode is primarily written in Go. It is open-source under prasenjeet-symon on GitHub, so you can review or fork the full source.
Yes. AgentsLLM 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 ogcode against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Ogcode is an AI agent that understands your codebase, uses real tools, researches the web, remembers decisions, plans complex work, and ships changes, all from your browser. Your computer, your models, your data, your rules.
# YOLO
curl -fsSL https://ogcode.in/install.sh | sh
# Package managers
brew tap prasenjeet-symon/tap && brew install ogcode # macOS and Linux
winget install prasenjeet-symon.ogcode # Windows
go install github.com/prasenjeet-symon/ogcode@latest # any OS with Go
[!TIP]
CGO_ENABLED=1is required when building from source: the Swift tree-sitter binding is cgo.
On Windows without winget:
irm https://ogcode.in/install.ps1 | iex
Or run the container:
docker run -p 9595:9595 \
-v ~/.ogcode:/root/.ogcode \
-v "$(pwd):/workspace" -w /workspace \
ghcr.io/prasenjeet-symon/ogcode:latest
The image is also on Docker Hub as prasenjeetsimon/ogcode:latest.
Start it and open the web interface:
ogcode # serves the UI on http://localhost:9595
Use a local model with Ollama, no API key needed:
ollama serve
ogcode
Permissions are per session: Ask (approve each step), Auto (risk-gated), or Yolo (no prompts). Learn more about permissions.
Two more commands are handy from a terminal:
ogcode run "fix the failing test" runs a one-shot prompt non-interactively and prints to stdout; --max-turns caps the agent loop (the default 0 means no limit) and --output-format json prints a machine-readable result.ogcode index builds the semantic project index the agent maps your project with before reading files.SKILL.md workflows, and external MCP servers. Search, skills & MCP →For configuration, providers, skills, remote deployment, and everything else, head over to our docs.
Ogcode detects your provider from the environment. Set at least one:
| Variable | Provider |
|---|---|
ANTHROPIC_API_KEY |
Anthropic / Claude |
OPENAI_API_KEY |
OpenAI / GPT |
OPENROUTER_API_KEY |
OpenRouter |
OLLAMA_BASE_URL |
Ollama, or an OpenAI-compatible local endpoint |
Settings can also live in ogcode.json at the project root (project settings) and ~/.config/ogcode/config.json (global settings); environment variables override both.
Set previewDomain to serve live-service previews under a real wildcard domain, the ogcode.json equivalent of the OGCODE_PREVIEW_DOMAIN environment variable. See the remote deployment guide.
{
"providers": {
"ollama": { "baseUrl": "http://localhost:11434" },
"anthropic": { "apiKey": "sk-ant-..." }
},
"skills": {
"paths": ["./team-skills"],
"permissions": { "deploy-prod": "ask" }
}
}
OGX is a subscription plan from OG Lab. Connect it from the settings screen and the plan's models run through OG Lab's gateway; no environment variable needed.
Ogcode can run on a remote machine and be reached from a browser, but it can read and modify files and run commands. Never expose it directly to the public internet without authentication.
Recommended boundaries:
ssh -L 9595:localhost:9595 user@your-server
Working setups (SSH tunnel, reverse proxy, and Docker) are in the remote deployment guide. For a hosted, multi-user deployment, see the control-plane documentation.
If you're interested in contributing to Ogcode, please read CONTRIBUTING.md before submitting a pull request.
Development builds use make build, and tests run with CGO_ENABLED=1 go test ./....
Treat Ogcode like a powerful automation process:
Your code and session data stay local; only conversation content is sent to the model provider you configure, where that provider's privacy policy applies.
Ogcode is dual-licensed:
Releases up to and including v0.36.1 remain MIT. v0.37.0 onward is AGPL-3.0-only. Bundled third-party code is listed in THIRD_PARTY_NOTICES.md.
Join our community Documentation | Star on GitHub