Skip to content
gnomcode

gnomcode Documentation

Gnomcode is an open source app for Claude Code, Codex and Antigravity. Chat with all three in one place, switch with a handoff when a limit runs out, search every chat, compare two agents, and approve from your phone over an encrypted connection.

Gnomcode guides

Choose a workflow, then check capability and release details.

Quickstart

gnomcode runs locally with no external runtime dependencies. Check the platform guide for current release availability:

Once installed, verify the installation by running:

gnomcode status

Agentic IDE features

Beyond multi-agent chat and quota handoffs, Gnomcode includes a full local-first workspace, multi-surface QA, remote hosts, MCP extensibility, durable automations, bot inboxes, and local dictation.

Workspace IDE

9x9 bento workspace grid, Monaco editor with diagnostics, Quick Open, isolated Git worktrees, inline/split diff review with line comments, Git/PR toolbar, terminal continuity, generic CLI discovery, and provider profiles.

Read Workspace IDE guide
Orchestration & QA

GitHub/Linear tasks, DAG worker orchestration with quota stops, scriptable CLI (gnomcode ctl), embedded Browser & Remote Design Mode, Playwright presets, Android ADB, macOS iOS Simulator, and window-scoped Desktop QA.

Read Orchestration & QA guide
Remote, MCP, Plugins & Bots

Push alerts, multi-host mobile companion, headless host CLI, SSH workspaces & tunnels, cloud worktree sandboxes, stdio MCP server & gateway, TOML plugins, scheduled automations, bot inboxes with redacted Markdown memory, and local dictation.

Read Remote & Extensibility guide

Supported agents & adapters

gnomcode supports exactly Claude Code, OpenAI Codex and Google Antigravity. It reads their local activity files and needs no configuration in the agent for observation.

Claude Code
AUTO-DETECT

Extracts token usage, cached input reads, and thinking tokens from ~/.claude/projects/. Set your Claude subscription plan manually in Settings. By default gnomcode does not read Claude credentials; the optional usage-limit source reads Claude Code's own sign-in only after you enable it.

Log Path: ~/.claude/projects/*/*.jsonl
OpenAI Codex
EXACT LIMITS

Parses ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl with session UUID attribution. Reads recorded 5-hour and weekly rate-limit windows, turn token usage, and mid-session model changes.

Log Path: ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl
Google Antigravity
TRANSCRIPTS

Monitors active conversation transcripts in ~/.gemini/antigravity/brain/. Tracks step indexes, tool call execution states (Running/Waiting), model transitions, and token fields where recorded. Antigravity uses Google's Gemini models.

Log Path: ~/.gemini/antigravity/brain/*/transcript.jsonl

Non-Negotiable Privacy Invariants

gnomcode is designed for privacy-conscious developers. It upholds four non-negotiable architectural guarantees:

Local-first history
Gnomcode stores redacted local chat for continuity. Chat events are excluded from non-E2EE account metadata sync. Paired Remote carries conversations over a separate encrypted channel.
Project identifiers are minimized
The live account snapshot includes project/session labels and automation metadata. HMAC rollup helpers do not make it hash-only. Read the privacy guide before enabling sync; field-level minimization remains a launch gate.
Fail-open integrations
Integrations and hooks operate asynchronously. If the gnomcode daemon is stopped or slow, agent execution never blocks.
Loopback-only network binding
The local REST/WebSocket daemon binds strictly to 127.0.0.1:41738 and requires bearer token validation alongside Host/Origin header verification.

CLI commands

The gnomcode CLI provides fast terminal commands for local inspection:

gnomcode status
Inspect currently active and idle agent sessions across all installed tools.
gnomcode report --range 7d
Shows a seven-day API-equivalent usage report with trust levels supplied by the local engine.
gnomcode daemon
Starts the local HTTP and WebSocket service on port 41738 that the desktop app and the local web app read from.
gnomcode install
Configures autostart, the system tray and shortcuts for the current platform on Windows, macOS and Linux.

REST API

The daemon exposes a local JSON API on http://127.0.0.1:41738:

GET/api/v1/live
Live snapshot containing active agents, KPI totals, quota pools, and recent sessions.
GET/api/v1/report?range=all|today|7d|30d
Aggregated spend, prompt cache savings, and ROI breakdowns by provider and model.
GET/api/v1/quota
Current per-model quota pools (used percentage, reset timestamps, window duration).
POST/api/v1/pricing/custom
Override token pricing for specific models (input, output, and cache read rates per 1M tokens).
GET/api/v1/pricing/models
Returns complete JSON catalog of all supported models, per-million token rates, and known context limits.
POST/api/v1/pricing/refresh
Explicitly refreshes the local rate catalog from the upstream registry. This request is opt-in.

Cost and trust

gnomcode calculates token costs, cache savings and quota usage locally. Costs use the rate catalog available on your desktop; unpriced usage is identified separately.

Reading model and pricing labels

Frontier
A model family or capability tier label. It is not a price or a measurement-confidence level.
Tiered
The provider rate depends on a tier or request conditions such as context length, volume, or service level. A rate-based cost remains estimated unless usage is reconciled against an API or invoice.
Exact
In a provider pricing catalog, the rate is listed by the provider for the named model and conditions. In gnomcode's live views, EXACT separately means the measurement came directly from an exact local record or provider limit response.
EXACT

Measured from local usage records or an exact provider limit response.

EST

Calculated from a rate catalog when provider usage is not an invoice.

API

Reported directly by an opted-in provider API.

UNKNOWN

Shown when a value cannot be measured reliably; it is never replaced with zero.

API-equivalent cost estimates public model rates; it is not a subscription invoice. Unknown model prices remain unknown. Any remote pricing refresh is opt-in; normal local collection does not contact the pricing registry.

Troubleshooting & FAQ

Q: Why did an agent turn status switch from "Thinking" to "Idle"?
gnomcode stops showing a session as Running when its agent has recorded no recent activity or an open tool step has gone stale. New activity changes the session state again.
Q: How is prompt cache savings computed?
Prompt caching may reduce provider token rates. The local Rust pricing engine calculates cache savings using the selected model's rates:
(cached_tokens * raw_input_rate) - (cached_tokens * cached_rate). The result is API-equivalent savings, not a subscription invoice or a guaranteed billed amount.
Q: Can I use gnomcode completely offline?
Yes. The local CLI, daemon, SQLite store, and tray app work without a Gnomcode account or internet access. Agent CLIs still need their own provider network. Account sync is optional for viewing desktop activity across devices.

Ready to see your agents in one place?