gocode
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Basarisiz
- rm -rf — Recursive force deletion command in install.sh
Permissions Gecti
- Permissions — No dangerous permissions requested
This tool is a high-performance, multi-model AI coding agent runtime written in Go. It functions as an MCP server and CLI orchestrator that connects to over 200 external AI models and integrates with various IDEs.
Security Assessment
The overall risk is Medium. The tool's primary function involves executing shell commands and making external network requests to 11 different AI providers. While no hardcoded secrets or dangerous repository permissions were found, a critical issue exists in the installation script: it contains a recursive force deletion command (`rm -rf`). Blindly running installation scripts with force deletion flags can be highly destructive if there is a path error, so users must carefully inspect the script before executing it.
Quality Assessment
The project is under the MIT license and was actively updated recently. However, it suffers from extremely low community visibility, currently backed by only 7 GitHub stars. The repository's bold claims of being a complete rewrite featuring hundreds of models and complex multi-agent orchestration, contrasted with its lack of widespread community testing, make these ambitious assertions difficult to independently verify.
Verdict
Use with caution — carefully inspect the installation script before running it, and be aware that this ambitious project currently lacks significant community validation or trust.
Claude Code rewritten in Go.. High-performance AI agent harness runtime in Go. MCP server, CLI tool orchestration, session management, Kiro integration. Single binary, zero dependencies.
gocode — Claude Code, Rewritten in Go. Now Multi-Model.
One binary. Zero dependencies. 200+ models. A team of agents.
This is what an AI coding agent should feel like.
go install github.com/AlleyBo55/gocode/cmd/gocode@latest
Why gocode Exists
Every great product starts with a simple observation.
Claude Code is a remarkable piece of engineering. But the implementation carries weight it doesn't need. And it only works with Claude.
We asked two questions: what if the best AI coding agent was also the fastest? And what if it worked with any model?
A complete, ground-up reimplementation in Go — every registry, every scoring algorithm, every subsystem — enhanced with multi-model support, multi-agent orchestration, model fallback chains, IDE-level tooling, and a skills system. One binary, any LLM, instant startup.
gocode starts in under 10 milliseconds. Ships as a single 12MB binary. Works with 200+ models across 11 providers. You download it. You run it. That's it.
What's New
v0.8.0 — Every Model. Every Provider. One Binary.
We ripped out the four-provider ceiling and replaced it with a universal model layer. 200+ models. 11 providers. Local inference. Persistent memory. Task management. Runtime hardening. The agent can search the web, delegate to specialists, and remember what you told it last week.
v0.7.0 — The Agent Operating System
Full terminal UI. Multi-agent orchestration. Model fallback. 21 slash commands. Skills system. Plugin architecture. LSP integration. AST-grep. Everything Claude Code does, plus everything it doesn't.
v0.3.0 — The Foundation
38 internal packages. 14 MCP tools. 5 IDEs. 4 providers. One binary. The complete Go reimplementation of Claude Code.
Two Modes. One Binary.
| Mode | What It Does | How You Use It |
|---|---|---|
| Agent Mode (REPL) | Line-based chat. Default mode. | gocode chat |
| Agent Mode (TUI) | Full terminal UI with split panels, diff viewer, themes. | gocode chat --tui |
| API Server Mode | Headless HTTP REST API for remote clients. | gocode serve |
| MCP Server Mode | Plug into Cursor, Kiro, VS Code, Antigravity, or Claude Desktop. | gocode mcp-serve |
Supported Models
Every model. Every provider. One binary. We don't lock you in.
4 native providers. 7 proxy services. Local inference. 200+ models. Set one env var and go.
| Provider | Highlights | Env Var |
|---|---|---|
| Anthropic | Claude Opus 4.6, Sonnet 4.6, Haiku 4.5 | ANTHROPIC_API_KEY |
| OpenAI | GPT-5.4, o3, o4-mini, Codex | OPENAI_API_KEY |
| Gemini 3.1 Pro, Gemini 3 Flash | GEMINI_API_KEY |
|
| xAI | Grok 4.20 Beta, Grok 3 | XAI_API_KEY |
| DeepSeek | DeepSeek Chat, R1 Reasoner, Coder | DEEPSEEK_API_KEY |
| Mistral | Mistral Large, Codestral, Pixtral | MISTRAL_API_KEY |
| Groq | Llama 3.3 70B at 800 tok/s | GROQ_API_KEY |
| Together AI | Llama 405B, Qwen 72B Turbo | TOGETHER_API_KEY |
| OpenRouter | 200+ models, one API key | OPENROUTER_API_KEY |
| Azure OpenAI | Enterprise GPT deployments | AZURE_OPENAI_API_KEY |
| Local (Ollama/LM Studio) | Run any model on your machine | OPENAI_BASE_URL |
gocode chat --model sonnet # Claude
gocode chat --model gpt5 # GPT-5.4
gocode chat --model deepseek # DeepSeek
gocode chat --model groq-llama # Llama on Groq (800 tok/s)
gocode chat --model llama # Ollama local
gocode chat --goal coding # auto-pick the best coding model
Skills — Expertise on Demand
Coding agents are generalists. Skills change that. One flag, and your agent becomes a specialist.
gocode chat --skill golang-best-practices # writes Go like a senior engineer
gocode chat --skill nothing-design # designs like Teenage Engineering
gocode chat --skill clone-website # reverse-engineers websites
8 Built-in Skills
| Skill | What It Does |
|---|---|
git-master |
Atomic commits, interactive rebase, clean history |
frontend-ui-ux |
Design-first UI development, accessibility, semantic HTML |
nothing-design |
Nothing-inspired monochrome design. Swiss typography, OLED blacks. |
golang-best-practices |
Idiomatic Go — code style, error handling, testing, naming |
clone-website |
Pixel-perfect website cloning. Extract CSS, rebuild in Next.js. |
nextjs-best-practices |
Next.js 15+ patterns — RSC, async APIs, data fetching |
react-best-practices |
React performance — eliminate waterfalls, bundle size, re-renders |
web-design-guidelines |
Accessibility audit, responsive design, WCAG compliance |
Create your own — drop a JSON file in .gocode/skills/.
Community Skills — Standing on the Shoulders of Giants
| Skill | Inspired By | Author |
|---|---|---|
nothing-design |
nothing-design-skill | @dominikmartn |
golang-best-practices |
cc-skills-golang | @samber |
clone-website |
ai-website-cloner-template | @JCodesMore |
nextjs-best-practices |
claude-code-nextjs-skills | @laguagu |
react-best-practices |
claude-code-nextjs-skills | @laguagu |
web-design-guidelines |
claude-code-nextjs-skills | @laguagu |
Installation
One-Line Install (macOS / Linux)
curl -fsSL https://raw.githubusercontent.com/AlleyBo55/gocode/main/install.sh | bash
One-Line Install (Windows PowerShell)
irm https://raw.githubusercontent.com/AlleyBo55/gocode/main/install.ps1 | iex
Go Install (all platforms, requires Go 1.21+)
go install github.com/AlleyBo55/gocode/cmd/gocode@latest
Download Binary Manually
Grab the binary for your platform from GitHub Releases:
| Platform | File |
|---|---|
| macOS (Apple Silicon) | gocode_*_darwin_arm64.tar.gz |
| macOS (Intel) | gocode_*_darwin_amd64.tar.gz |
| Linux (x86_64) | gocode_*_linux_amd64.tar.gz |
| Linux (ARM64) | gocode_*_linux_arm64.tar.gz |
| Windows (x86_64) | gocode_*_windows_amd64.zip |
| Windows (ARM64) | gocode_*_windows_arm64.zip |
Linux Packages (deb/rpm)
# Debian/Ubuntu
curl -fsSL https://github.com/AlleyBo55/gocode/releases/latest/download/gocode_amd64.deb -o gocode.deb
sudo dpkg -i gocode.deb
# Fedora/RHEL
curl -fsSL https://github.com/AlleyBo55/gocode/releases/latest/download/gocode_amd64.rpm -o gocode.rpm
sudo rpm -i gocode.rpm
Build from Source
git clone https://github.com/AlleyBo55/gocode.git
cd gocode
go build -o gocode ./cmd/gocode/
sudo mv gocode /usr/local/bin/
Verify
gocode --version
# gocode version v0.8.0
Quickstart
# 1. Install
go install github.com/AlleyBo55/gocode/cmd/gocode@latest
# 2. Set your API key
export ANTHROPIC_API_KEY=sk-ant-...
# 3. Chat
gocode chat
# Or one-shot
gocode prompt "find all TODO comments in this project"
No Python. No Node. No virtual environments. One binary, one env var, go.
Documentation
| Guide | Description |
|---|---|
| 📖 Agent Mode Guide | Models, API keys, flags, slash commands, examples |
| 🌍 Supported Models | 200+ models across 11 providers |
| 🚀 Advanced Features | Multi-agent, fallback, planning, skills, LSP, AST-grep |
| 🎨 UX Features | Streaming, thinking blocks, slash commands, cost estimation |
| 🔌 MCP & IDE Guide | Cursor, Kiro, VS Code, Antigravity, Claude Desktop |
| 🏗 Architecture | Internal packages, system diagrams, design decisions |
| 📚 CLI Reference | All CLI commands with flags and examples |
| 📋 Changelog | Full version history |
Contributing
git clone https://github.com/AlleyBo55/gocode.git
cd gocode
make test && make build
Search Keywords
claude code go · claude code golang · claude code alternative · claude code open source · ai coding agent go · go ai agent · mcp server go · cursor mcp server go · kiro mcp server · vscode mcp server golang · claude code go port · fast ai agent go · single binary ai agent · multi model ai agent · multi agent orchestration go · deepseek coding agent · groq fast inference agent · ollama coding agent · local llm coding agent · 200 models ai agent · openai compatible agent · claude code replacement · ai pair programmer terminal
License
MIT — use it, fork it, ship it.
"The people who are crazy enough to think they can change the world are the ones who do."
gocode — the Go version of Claude Code. Now a multi-agent operating system.
One binary. Zero dependencies. Instant startup. Any LLM. A team of agents.
⭐ Star this repo if you believe developer tools should be fast, simple, and open.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi