solomon

package module
v2026.1121.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Documentation

Overview

Package solomon exposes build metadata shared by the application and Code Mode.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequiredGoVersion added in v2026.1030.0

func RequiredGoVersion() string

RequiredGoVersion returns the minimum Go version declared by this build.

Types

This section is empty.

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
integrations
claude
Package sidecar ships the Claude Sub sidecar sources inside Solomon binaries, so installed clients can run it without a repository checkout.
Package sidecar ships the Claude Sub sidecar sources inside Solomon binaries, so installed clients can run it without a repository checkout.
internal
acp
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).
imagepreview
Package imagepreview renders static terminal previews without external codecs or rendering libraries.
Package imagepreview renders static terminal previews without external codecs or rendering libraries.
llm
mcp
mediaartifact
Package mediaartifact recognizes local visual artifacts and snapshots their static previews.
Package mediaartifact recognizes local visual artifacts and snapshots their static previews.
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.
networkhttp
Package networkhttp keeps HTTP connection pools aligned with system routing.
Package networkhttp keeps HTTP connection pools aligned with system routing.
networkpolicy
Package networkpolicy stores Solomon's network selection independently of OS configuration.
Package networkpolicy stores Solomon's network selection independently of OS configuration.
terminalmedia
Package terminalmedia adapts image previews to human-facing terminal output.
Package terminalmedia adapts image previews to human-facing terminal output.
build_site command
build_version command
build_version chooses a baseline from origin's tags, with a local fallback.
build_version chooses a baseline from origin's tags, with a local fallback.
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.
logging command
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.
wiki command

Jump to

Keyboard shortcuts

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