Solomon

module
v2026.1019.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT

README

Solomon

Solomon

A local-first terminal agent for any LLM.
One Go binary. Your provider, your keys, your workspace.

Latest release Platforms

Website · 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

Topic Where
Install Installation and PATH
First steps Usage and commands
Configuration Providers, web search, tools
Project instructions AGENTS.md and custom rules
Architecture Overview · Package index
Troubleshooting Common problems and diagnostics
Contributing Contributor guide · Cookbook · Testing
Roadmap Planned features

License

Released under the MIT License.

Directories

Path Synopsis
cmd
solomon command
gui
Package gui provides the production frontend shared by the web and desktop clients.
Package gui provides the production frontend shared by the web and desktop clients.
desktop command
internal
desktopgit
Package desktopgit parses the machine-readable Git output used by the desktop bridge.
Package desktopgit parses the machine-readable Git output used by the desktop bridge.
guicustom
Package guicustom lets chat tools configure the daemon without importing its runtime (which itself executes chat tools).
Package guicustom lets chat tools configure the daemon without importing its runtime (which itself executes chat tools).
llm
mcp
modelcatalogcache
Package modelcatalogcache persists the provider model list for one local day.
Package modelcatalogcache persists the provider model list for one local day.
modelsdev
Package modelsdev reads the public models.dev catalog used to enrich model selectors with provider-specific capabilities.
Package modelsdev reads the public models.dev catalog used to enrich model selectors with provider-specific capabilities.
build_version command
build_version chooses a development baseline without regressing an installed release.
build_version chooses a development baseline without regressing an installed release.
hot_install command
hot_install coordinates Make's source installation with native client shutdown.
hot_install coordinates Make's source installation with native client shutdown.
install_local command
install_local commits prebuilt Windows artifacts using the common handoff.
install_local commits prebuilt Windows artifacts using the common handoff.
install_path command
install_path resolves Go's install directory, including multiple GOPATH entries.
install_path resolves Go's install directory, including multiple GOPATH entries.
npm_deps command
npm_deps verifies and, when necessary, installs a project's locked npm dependencies.
npm_deps verifies and, when necessary, installs a project's locked npm dependencies.
site command
source_identity command
source_identity fingerprints source inputs before compilation and version stamping.
source_identity fingerprints source inputs before compilation and version stamping.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL