Yet another coding agent harness, lightweight and written in go.
# Add to your Claude Code skills
git clone https://github.com/patriceckhart/zotzot is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by patriceckhart. Yet another coding agent harness, lightweight and written in go. It has 372 GitHub stars.
zot'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/patriceckhart/zot" and add it to your Claude Code skills directory (see the Installation section above).
zot is primarily written in Go. It is open-source under patriceckhart 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 zot 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.
Yet another coding agent harness, lightweight and written (vibe-slopped) in go.
zot ext install or zot --ext. See docs/extensions.md.AGENTS.md files (global and per-project); see Persistent instructions.SKILL.md files; see docs/skills.md..zot files, or temporary public GitHub downloads; see docs/zotfiles.md.zot continuous run, or hosted for multiple clients with zot continuous serve, zot continuous attach, and zot --continuous. Interrupted tools are reported, never silently repeated; approvals, steering, budgets, and tasks are persisted. Stores are a local journal or SQLite file, or optionally an external PostgreSQL server (--backend postgres). Experimental, see docs/continuous.md.curl -fsSL https://www.zot.sh/install.sh | bash
Detects your OS and architecture, downloads the latest release from GitHub, verifies the SHA-256 against the release's checksums.txt, extracts the binary, and drops it in /usr/local/bin, ~/.local/bin, or ~/bin, whichever is writable first. Pass a version or prefix to pin:
curl -fsSL https://www.zot.sh/install.sh | bash -s -- v0.0.1 ~/bin
iwr -useb https://www.zot.sh/install.ps1 | iex
Drops zot.exe into $HOME\bin and adds it to the user PATH if missing. Open a fresh terminal afterwards.
go install github.com/patriceckhart/zot/cmd/zot@latest
The installed binary reports the tagged module version and supports zot update.
git clone https://github.com/patriceckhart/zot
cd zot
make build # produces ./bin/zot
make install # into $GOPATH/bin
Every release on the releases page ships archives for Linux, macOS, and Windows on amd64 and arm64 (except windows/arm64), plus a checksums.txt file. Download, verify, chmod +x, and drop on your $PATH.
The easiest way is to just run zot and type /login. The TUI opens even without credentials. API keys are entered directly in a hidden terminal input, including over SSH. Subscription login uses the provider's browser or device-code flow.
--api-key flagANTHROPIC_API_KEY, OPENAI_API_KEY, KIMI_API_KEY, MOONSHOT_API_KEY, DEEPSEEK_API_KEY, GEMINI_API_KEY, GOOGLE_API_KEY, GROQ_API_KEY, OPENROUTER_API_KEY, MISTRAL_API_KEY, XAI_API_KEY, CEREBRAS_API_KEY, TOGETHER_API_KEY, HF_TOKEN, ZAI_API_KEY, XIAOMI_API_KEY, MINIMAX_API_KEY, FIREWORKS_API_KEY, AI_GATEWAY_API_KEY, COPILOT_GITHUB_TOKEN, GITHUB_COPILOT_TOKEN, and others for provider-specific backends)$ZOT_HOME/auth.json (API key or OAuth token; mode 0600)ZOT_HOME is an optional environment variable that overrides zot's state directory.
When it is unset or empty, zot resolves the directory internally:
$XDG_STATE_HOME/zot when XDG_STATE_HOME is set~/Library/Application Support/zot~/.local/state/zot%LOCALAPPDATA%\zotzot does not populate ZOT_HOME in your shell. An empty echo "$ZOT_HOME"
is normal and does not mean configuration is missing. Throughout these docs,
$ZOT_HOME is shorthand for the resolved state directory, not a guarantee that
the environment variable is set.
Before using $ZOT_HOME in shell commands, set it to your existing state
directory. For example, on Linux with the default location:
export ZOT_HOME="${XDG_STATE_HOME:-$HOME/.local/state}/zot"
To make that variable available in future shells, add the export to your shell's startup file. This is optional for running zot. If you already use a custom state directory, use that path instead to avoid switching to a different configuration.
To keep an API key in a password manager instead of auth.json, configure an api_key_command for the provider:
{
"anthropic": {
"api_key_command": {
"program": "op",
"args": ["read", "op://Work/Anthropic/credential"],
"timeout_ms": 120000
}
}
}
For a provider added through models.json, put the same credential object under additional_api_key_creds using its provider ID. program is executed directly, without a shell, so each argument must be a separate args entry. timeout_ms is optional and defaults to 120 seconds.
zot runs the command only when that provider is selected, not while checking login status or refreshing model catalogs in the background. Successful output is cached in memory for the rest of the zot process and is never written to disk. The command must print one non-empty line to stdout; zot removes trailing CR/LF characters, limits output to 64 KiB, and does not include command output in errors. Saving a normal key through /login replaces the command configuration, and /logout removes it.
Treat auth.json as executable configuration: anyone who can modify it can cause zot to run a program under your user account. zot does not interpret ! prefixes or execute command strings through a shell.
Use zot auth set <provider> for a hidden terminal prompt without starting
the TUI, or zot auth set <provider> --stdin < /path/to/protected-key.txt
for scripts. Keys are not accepted as positional arguments, to avoid exposing
them in process listings and shell history. Both forms validate the key where
supported and save it to $ZOT_HOME/auth.json. Custom providers must already
be configured in models.json.
For subscription login over SSH, use the existing copy-code or device flows, or forward the provider's fixed callback port. See headless and SSH authentication.
/login flowRun zot and type /login. Pick one of two methods:
auth.json. No browser or callback server is needed. Providers with a lightweight model-list endpoint are probed before saving. Providers needing extra project/account settings show setup guidance instead.localhost:53692) or copy code before starting login. Browser callback also accepts a pasted code or full redirect URL from the same authorization link. Copy code uses Anthropic's hosted redirect and works over SSH or on headless machines without a local callback server. Anthropic uses the Claude Code OAuth flow. Messages go to api.anthropic.com with a bearer token and the Claude Code identity headers.localhost:1455. The same authorization link also accepts a pasted code or full redirect URL if the browser cannot reach zot's callback port (for example, over SSH). Copy the final redirect URL from the browser address bar, even if the page fails to load locally. The callback port must still be available on the machine running zot. Messages go to chatgpt.com/backend-api/codex/responses with the chatgpt-account-id extracted from the returned id_token.api.kimi.com/coding/v1 with the Kimi Code identity headers.Note on subscription login. The OAuth client IDs used are the ones published in Anthropic's Claude Code CLI, OpenAI's Codex CLI, Kimi Code CLI, xAI's device flow, and GitHub Copilot's device-code flow. Reusing them from a third-party tool may be against their terms of service and may be revoked at any time. Use it at your own risk; the API-key flow is the safe default.
OAuth access tokens are short-lived (Anthropic ~8h, OpenAI ~30d; Kimi