Open Source · MIT License

AI-Powered Coding
in Your Terminal

Open source CLI for AI-assisted development. 7 providers, 5 agent types, 54 tools. Free to start.

$ curl -fsSL https://raw.githubusercontent.com/ginkida/gokin/main/install.sh | sh click to copy
or go install github.com/ginkida/gokin/cmd/gokin@latest
7Providers
5Agent Types
54Tools
100KLines of Go
MITLicense

Built for Power Users

Everything you need for AI-assisted development, directly in the terminal.

🔌

Multi-Provider

7 AI providers — Gemini, Claude, DeepSeek, GLM, MiniMax, Kimi, Ollama. Switch instantly or use locally with Ollama.

🤖

Multi-Agent

5 agent types with parallel execution and delegation. Orchestrate complex tasks across specialized agents.

🌲

Tree Planning

Beam Search, MCTS, and A* planning algorithms. Explore multiple solution paths and pick the best one.

🛠️

54 Built-in Tools

File operations, git, search, code analysis, shell commands, and more — all available out of the box.

🧠

Persistent Memory

Session, project, and global memory. Gokin learns from your projects and remembers context across sessions.

🔒

Security First

3-level permission system, bash sandbox, and audit logging. Full control over what the AI can access.

See It in Action

A quick demo of Gokin CLI in action.

gokin — ~/project
Gokin CLI demo — AI-powered coding in the terminal
🔒 Security & Privacy

Zero Proxies — Your Code Goes
Nowhere Except the LLM

No middle servers. No Vercel. No telemetry proxies. Your API key, your code, your conversation — direct.

Gokin (local)
TLS 1.2+
Provider API Gemini / Claude / DeepSeek / Ollama

Some CLI tools route requests through their own proxy servers (Vercel Edge, custom gateways) for telemetry, analytics, or API key management. Gokin does none of this. Every API call goes directly from your machine to the provider's endpoint. You can verify this — it's open source.

🙈 Secret Redaction

LLM tool calls can accidentally expose secrets found in your codebase. Gokin automatically redacts them before they reach the model or your terminal.

CategoryExamples
API keysAKIA..., ghp_..., sk_live_..., AIza...
TokensBearer tokens, JWT (eyJ...), Slack / Discord
CredentialsDB URIs (postgres://user:pass@...), Redis, Mongo
CryptoPEM private keys, SSH keys

41 regex patterns, applied to every tool result. Custom patterns supported via API.

🛡️ Defense in Depth

Multiple layers of protection — every boundary is validated.

LayerWhat it does
TLS 1.2+No weak ciphers, certificate verification always on
SandboxBash runs in isolated namespace, safe env whitelist (~35 vars)
Command validation50+ blocked patterns: fork bombs, reverse shells, credential theft
SSH validationHost allowlist, loopback blocked, injection prevention
Path validationSymlink resolution, directory traversal & TOCTOU prevention
SSRF protectionPrivate IPs, loopback, link-local blocked; DNS results checked
Audit trailEvery tool call logged with sanitized args

🔑 Keys Stay Local

  • API keys loaded from env vars or local config (~/.config/gokin/config.yaml)
  • Keys are masked in all UI displays (sk-12****cdef)
  • Keys are never included in conversation history or tool results
  • Ollama mode: zero network calls — fully airgapped

How Gokin Compares

Open source, multi-provider, and free to start.

FeatureGokinClaude CodeCursor
Open Source✓ Yes✗ No✗ No
Providers711
Local Models✓ Ollama✗ No✗ No
Free Tier✓ Gemini / Ollama✗ NoLimited
Multi-Agent5 types + customLimited✗ No
Tree Planning✓ Beam / MCTS / A*✗ No✗ No
Semantic Search✓ Yes✗ No✓ Yes
MCP Support✓ Yes✓ Yes✗ No
InterfaceTerminal (TUI)TerminalIDE
Swipe to see all columns →

Why Go, Not TypeScript

Most coding agents are TypeScript wrappers around an API call. Gokin is a compiled Go binary built for throughput.

Single Binary

go build → one file. No Node.js runtime, no node_modules, no npm install. Copy it and run.

🔀

Native Concurrency

Goroutines for parallel agents, concurrent tool calls, and streaming — not Promise.all chains on a single thread.

🚀

Instant Startup

Cold start in milliseconds. No JIT warmup, no module resolution. Ready before your terminal prompt redraws.

📉

Low Memory

~30 MB baseline. TypeScript agents regularly consume 200 MB+ just from their dependency tree and V8 heap.

🖥️

Cross-Platform

GOOS=linux go build — ship to any OS and architecture. No platform-specific native module headaches.

📦

No Dependency Hell

Go modules with vendoring. Reproducible builds, no phantom dependencies, no left-pad incidents.