Solomon
A local-first terminal agent for any LLM.
One Go binary. Your provider, your keys, your workspace.
Quickstart ·
Features ·
What makes it different ·
How it works ·
Documentation
[!WARNING]
Early release — preview software, not production-ready. APIs, behavior, and on-disk formats may change without notice. Expect rough edges and open an issue with feedback.
Why Solomon
Most coding agents are tied to one vendor, one IDE, or one hosted service. Solomon is a terminal harness that attaches to your project and talks to whatever model you choose: any OpenAI-compatible endpoint, the Anthropic Messages API, or your existing ChatGPT, Claude, and Cursor subscriptions.
Everything it knows about your work — config, sessions, plans, skills, logs — lives under ~/.solomon, keyed by workspace, and never inside your repository.
|
|
| Local-first |
State stays on your machine under ~/.solomon, partitioned per project |
| Bring your own model |
OpenAI-compatible APIs, Anthropic, ChatGPT Sub, Claude Sub, Cursor Sub |
| Code mode |
The agent writes Go scripts that batch file, shell, and search operations in a WASM sandbox |
| Scriptable |
solomon exec --jsonl for pipelines and CI with stable exit codes |
| Extensible |
Skills, MCP servers, custom rules, and AGENTS.md instructions |
Quickstart
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/SAPPHIR3-ROS3/Solomon/main/scripts/install.sh | bash
Windows (PowerShell)
irm https://raw.githubusercontent.com/SAPPHIR3-ROS3/Solomon/main/scripts/install.ps1 | iex
Then open any project and start a session:
cd /path/to/your/project
solomon .
The first run launches an interactive setup for provider, API key, and model. Prefer Go directly? go install github.com/SAPPHIR3-ROS3/Solomon/v2026/cmd/solomon@latest — see Installation and PATH for details.
/agent agent mode: orchestrate, searchTools, subagents
/chat chat mode: web search, docs, research
/connect add a provider
/models switch model
/help full command list
Features
Agent at work
- Read, edit, create, rename, and delete files
- Glob and regexp search in one
find tool
- Real shell commands with timeouts
- Nested subagents, sync or in background
- Durable plans with a
buildPlan handoff
|
Knowledge and the web
- Web search: DuckDuckGo, SearxNG, Google PSE, Brave, Bing, or Exa/Parallel
- URL fetch with markdown conversion
- Deep research jobs with evidence checks and HTML reports
- Embedded docs search with
/docs
|
A REPL built for work
- Multiline input, streaming output, reasoning display
@file mentions and clipboard images
- Checkpoints with
/goto rewind and branches
/btw side questions while the model streams
- Shell-first mode with
/terminal on
|
Beyond the terminal
solomon exec one-shot and ephemeral runs
--json / --jsonl output for CI
- Local server for the web GUI and desktop client
- Reachable on loopback, LAN, and Tailscale
- Built-in release updates and config backup
|
The full, ranked catalog lives in docs/features.md.
What makes it different
- Checkpoint rewind — every turn gets an id like
[#012]; /goto rewinds or forks the transcript instead of starting over.
- Plans as artifacts — plans are files with checkable todos, not just a read-only mode.
- Tool output spill — oversized results are truncated for the model but saved in full to a local path it can read later.
- Fail-closed streaming — inconsistent SSE chunks are rejected so the saved transcript always stays coherent.
- Dual transcript for skills —
/skill:name stays readable in history while the model receives the expanded skill.
- Safe skill installs — only
skills add commands pass, executed as argv and never through sh -c.
- Legacy XML tool calling — a fallback, or a forced mode, for backends without reliable native function calling.
How it works
flowchart LR
user([You]) --> repl[REPL / exec / GUI]
repl --> runtime[Agent runtime]
runtime --> llm[LLM layer]
llm --> providers[(OpenAI-compatible<br/>Anthropic<br/>ChatGPT / Claude / Cursor Sub)]
runtime --> orch[orchestrate<br/>Go to WASM sandbox]
orch --> tools[Files · Shell · Search · Web · Plans]
runtime --> ext[Skills · MCP · AGENTS.md]
runtime --> store[(~/.solomon<br/>sessions · plans · logs)]
Each message starts a turn: Solomon streams the reply, runs any tool calls, feeds the results back, and loops until the model is done. In agent mode the model discovers tools with searchTools and chains many operations in one orchestrate script, keeping round trips and context usage low. Details: Architecture overview and Agent turn pipeline.
Headless and CI
solomon exec "summarize the README"
solomon temp exec "explain this stack trace"
solomon exec --jsonl --fail-on-tool-error "run go test ./..."
Machine mode writes JSON only to stdout and uses stable exit codes (0 ok, 3 config, 4 API, 5 tool policy, 6 timeout). A ready-made workflow is in ci-github-actions.example.yml.
Build from source
git clone https://github.com/SAPPHIR3-ROS3/Solomon.git
cd Solomon
make build # ./solomon
make test # full test suite
make install # full local install with integrations
Documentation
License
Released under the MIT License.