Repository navigation
user guide configuration
Solomon stores user settings in ~/.solomon/config.toml. MCP servers use a separate file (see MCP integration).
The terminal welcome logo can be customized with ~/.solomon/banner/ascii/logo.txt
and an optional ~/.solomon/banner/colors/colors.txt, without changing the
configuration or recompiling.
See Custom welcome logo for the format,
size limits, and fallback behavior.
Path: ~/.solomon/config.toml. Schema: config.Root.
| Field | Role |
|---|---|
current.provider, current.model
|
Active backend |
providers.<name> |
Named provider blocks (base_url, api_key, api_protocol, …) |
recent_models.<name> |
Recent model ids per provider |
[gui.chat], [gui.models], [gui.docs]
|
GUI preferences grouped like the Settings page |
user_name |
Shown / used in-session |
subagent_timeout_minutes |
Subagent slices (wizard default 20) |
[api_resilience] |
LLM HTTP retry, backoff, circuit breaker, timeouts (optional; defaults in code) |
reasoning_effort |
Main chat reasoning profile (none, low, medium, high, xhigh/Extra high, or max) |
subagent_reasoning_effort |
Default reasoning profile for nested runs; tool calls may override it |
log_level, max_response_tokens
|
Verbosity and cap |
show_thinking, show_usage_stats
|
Streams / footer |
[tools].legacy, [tools].legacy_force
|
Legacy XML tool calling (global); see below |
[tools].cursor_internal_tools |
Deprecated — always normalized to false; /cursortools off confirms; see Cursor integration
|
response_language |
Default reply language |
compaction_threshold_tokens |
Auto compaction threshold |
tool_output.max_bytes, tool_output.max_lines
|
Tool result truncation before LLM (defaults 65536 / 2048) |
web_search_engine |
Default engine for the webSearch tool and native fetchWeb backend selection (omit for duckduckgo) |
research_max_rounds, research_max_urls_per_round, research_max_content_chars
|
Deep-research limits; defaults 8, 3, and 15000
|
[web_fetch] |
HTTP fetch headers, blocked domains, and redirect cap (optional) |
[server].dev_mode, [server].dev_directory
|
Default server development mode and GUI source directory; editable in Advanced, applied at the next server start/restart |
server_port |
Stable TCP port for the local Solomon server (default 64000; SOLOMON_SERVER_PORT overrides and is persisted) |
fast_mode |
Cursor fast mode when the active provider supports it (default on; toggle with /fast) |
autoupdate |
At REPL startup, auto-install a newer release when the GitHub check finds one, then restart in the same terminal (toggle with /autoupdate). A development build whose commit is ahead of the latest release is neither replaced nor reported as needing an update. |
doc_search_min_normalized_score |
BM25 minimum for /docs and docsRetrieval (default 0.05) |
doc_search_full_article_score |
Normalized score threshold for returning a full article on short queries (default 0.9) |
[export].path |
Optional absolute directory for /export markdown files (default root ~/.solomon/exported/) |
[[roles.subagent]] |
Optional economical model pool for nested subagents (see below) |
[prompt_templates] |
SHA256 per edited system prompt template (see below) |
The gui section belongs to the graphical interface and follows its Settings
sections. The page lives at /settings; General, Chat, Models, Advanced, and Docs stay on that page.
The daemon reads and writes it through GET /__solomon/gui-settings and
PATCH /__solomon/gui-settings; changes persist in this same file, including for the
native client. Settings writes preserve unrelated backend settings and do not contact providers.
General contains User name (user_name) followed by Response language
(response_language). Advanced exposes compaction_threshold_tokens,
subagent_timeout_minutes, log_level, the three research_max_* limits,
and tool_output.max_bytes / tool_output.max_lines. These settings remain in
their existing runtime TOML locations; they are not duplicated under gui.
General and Advanced save valid edits automatically after a short typing pause
or when leaving a field. Save failures retain the entered value and offer Retry.
Log level changes take effect at the next application startup.
Advanced also contains Dev server, Server port, and GUI source directory.
The dev switch and source path are stored under [server]; the port remains at
root server_port. Configure a GUI directory containing package.json and src
before enabling development mode. Source paths must be absolute or start with ~/.
The repository root is also accepted and resolves to its gui directory. Windows
paths copied with surrounding quotes are accepted and saved without the quotes.
Saving these settings does not restart the running server. The next
solomon server start, solomon server run, or solomon server restart applies
the saved mode. Explicit start normal or start dev <gui-directory> arguments
override the saved mode for that invocation. SOLOMON_SERVER_PORT still takes
precedence over the saved port.
Provider quotas are available in Models settings and through the horizontal quota bars to the left of the notification bell in Home and chat. When ChatGPT reports available banked resets, Use available reset opens a confirmation before consuming one. Cancel or Escape leaves the reset unused. After confirmation, Solomon refreshes the quota windows and available count; failed requests can be retried without consuming the same reset twice.
server_port = 64000
[server]
dev_mode = true
dev_directory = "/path/to/Solomon/gui"[gui.chat]
auto_close_tool_calls = false
start_tool_calls_collapsed = false
[gui.models.hidden_models]
OpenAI = ["model-hidden-from-selector"]
[gui.docs]auto_close_tool_calls collapses tool activity when the model's run ends.
start_tool_calls_collapsed controls its initial state independently. Both default
to false. The first load migrates existing chat preferences from browser storage
only if the corresponding config key is absent. After a successful save, the GUI
removes those browser keys and uses the config as the source of truth.
Model visibility is saved under gui.models.hidden_models. Old root-level
hidden_models and model-visibility.json values are migration inputs until the
first GUI write. Once gui.models exists, it takes precedence, including when no
models are hidden. gui.docs reserves the documentation section; it currently has
no editable preferences. Provider credentials and the active runtime model remain
in their backend sections.
Editable copies of the embedded system prompts live under ~/.solomon/prompts/templates/ (agent.tmpl, chat.tmpl, title.tmpl, summarize.tmpl, summarize_system.tmpl, images.tmpl, atmention.tmpl). Solomon copies missing files from the binary on first run. Legacy plan.tmpl and build.tmpl are removed automatically on startup.
| Situation | SHA compared against |
|---|---|
| First edit (no entry in config) | SHA256 of the embedded default in the Solomon binary |
| After you accept a prior edit | SHA256 stored under [prompt_templates] in this file |
On interactive REPL startup, if a file on disk differs from its [prompt_templates] SHA (tampering after a prior accept), Solomon prints <name> template has been modified and prompts as above. Drift from a newer binary is handled during make install (solomon templates install) before files are written.
Non-interactive use (pipes, scripts, CI — stdin not a TTY): Solomon exits with an error listing modified templates and the absolute paths to config.toml and prompts/templates/. Fix by running solomon in a terminal to review changes, or update [prompt_templates] SHAs to match the files on disk.
Example after accepting a custom agent.tmpl:
[prompt_templates]
agent = "a1b2c3…"Architecture: Startup and CLI, Plan vs build. Data layout: data-layout.md.
Optional override for where /export writes markdown transcripts. When omitted, Solomon uses ~/.solomon/exported/.
| Key | Role |
|---|---|
path |
Absolute directory; files land at {path}/{YYYY-MM-DD}/{basename}.md
|
Example:
[export]
path = "/Users/me/solomon-exports"/export reads this section but does not modify it. Behaviour (basename slug, duplicate suffixes, /export last guard, image appendix): Usage and commands — /export.
Optional pool of provider/model pairs for economical nested subagents ([[roles.subagent]] in TOML). The primary agent lists entries with the native listSubAgents tool, compares description and manually assigned scores, then passes the chosen provider and model to subagent via roleProvider and roleModel. Automatic benchmark score refresh and auto-fill are temporarily disabled. When both role fields are omitted, the subagent uses the session provider and model.
Configure one to five score characteristics in [roles.table], then assign each score directly under [roles.subagent.scores]. Scores must be integers from 0 to 100; a missing selected score is shown as unclassified and is never filled automatically. /add subagent guides both table setup and score entry.
Entries are validated on config load and save: each row requires non-empty provider and model, a configured [providers.<name>], a live model list from that provider (reachable API; model id must appear in the list), valid manual scores, and a unique provider+model pair. Requires network and valid provider credentials when any [[roles.subagent]] row is present (including headless config.Load / Save).
| Key | Role |
|---|---|
provider |
Named provider from [providers.<name>]
|
model |
Model id on that provider |
description |
Short hint for the primary agent when choosing from the pool |
scores |
User-assigned 0–100 values keyed by a characteristic selected in [roles.table]
|
Example:
[roles.table]
characteristics = ["reasoning", "cost", "speed"]
[[roles.subagent]]
provider = "openrouter"
model = "qwen-..."
description = "Fast codebase exploration"
[roles.subagent.scores]
reasoning = 75
cost = 90
speed = 85
[[roles.subagent]]
provider = "groq"
model = "llama-..."
description = "Cheap single-file tasks"
[roles.subagent.scores]
reasoning = 65
cost = 95
speed = 92Agent tools: Native tools — subagent roles. Feature overview: Subagent delegation.
Optional text-based tool protocol for models/backends without reliable native function calling. Persisted globally in config.toml (also toggled in-session with /legacytools).
| Key | Role |
|---|---|
legacy |
When true, the model may use legacy <tool_calls> XML in assistant text (native API tools remain available unless force is on). |
legacy_force |
When true, native API tool_calls are disabled and the model must use legacy XML for tool invocations. Implies legacy = true. |
Example:
[tools]
legacy = true
legacy_force = falseLegacy root keys legacy_tools / legacy_tools_force are still read once for migration, then rewritten under [tools] on save.
| Combination | Effect |
|---|---|
| both off | Native API tool_calls only |
legacy = true, force off |
Native preferred; model may also use <tool_calls> XML |
legacy_force = true |
Native API tools omitted from requests; model must use XML |
On-screen tool lines show intent on its own line, then Tool: name … (same for native and legacy). Syntax or JSON errors trigger an automatic retry turn with a correction message.
Wire format (assistant text):
<tool_calls>
<tool name="shell">
<intent>Run unit tests</intent>
<args>{"command":"go test ./..."}</args>
</tool>
</tool_calls>Rules: one <tool_calls> block per reply that invokes tools; optional prose before the block; no text after </tool_calls>; each <args> must be valid JSON matching the tool schema. Unknown tool names are rejected like malformed XML.
Architecture: Agent turn pipeline, Native tools.
When the active provider is Cursor API, Solomon starts a local OpenAI-compatible sidecar and keeps all tool execution in Go on your project root.
Choose /connect → Cursor Sub to sign in to a Cursor subscription in your browser. Solomon stores the subscription session in its own config.toml, discovers the models available to that account, and sends requests directly to Cursor's subscription Agent endpoint. It does not need the Cursor desktop app, Cursor CLI, Node.js, or the optional Cursor API sidecar.
Cursor Sub uses the same Solomon turn loop as the other providers: streamed text and reasoning, model-specific fast/reasoning settings, images, native Solomon tool calls and their results, conversation history, and token usage. Tools run in Solomon, with the same project permissions and confirmation rules as for other providers. The available model list depends on the signed-in subscription.
If authentication expires or model requests return an authentication error, run /connect → Cursor Sub again to refresh the browser sign-in. Cursor Sub credentials are separate from credentials in a local Cursor installation.
For implementation details and test commands, see Cursor Sub direct endpoint.
| Key | Effective value | Role |
|---|---|---|
cursor_internal_tools |
false always |
Deprecated. Cursor built-in tools (Read, Shell, …) are blocked; Composer uses registered Solomon tools (orchestrate, searchTools, searchSkill, loadSkill, …). Config load/save forces false; /cursortools on is rejected. |
Example (recommended — omit the key or set explicitly):
[tools]
cursor_internal_tools = falseSetup: /connect → Cursor API (requires Node.js). Status: /integrations (URL, health, install path). Fast mode: /fast when the provider supports it. Confirm native-tools policy: /cursortools off (listed in /help only after Cursor API is configured).
Sidecar env (set by Solomon at start): CURSOR_API_PROXY_OBS=1 (structured proxy JSON in ~/.solomon/logs/cursor-sidecar.log). CURSOR_API_ALLOW_INTERNAL_TOOLS is never set.
Architecture (fail-closed layers, HTTP API, tool bridge, debug): Cursor integration.
Implementation paths: integrations/cursor/, internal/integrations/cursor/.
You can edit the file directly, use first-run or /onboard (OpenAI or Anthropic Compatible API), or manage providers and models in the REPL with /connect and /models.
| Setup | api_protocol |
Notes |
|---|---|---|
/onboard or /connect → OpenAI Compatible API |
openai (default) |
Any OpenAI Chat Completions-compatible base_url
|
/onboard or /connect → Anthropic Compatible API |
anthropic |
Messages API (POST …/v1/messages); models loaded from the provider API |
/connect → ChatGPT Sub |
openai |
OAuth; Codex middleware |
/connect → Claude Sub |
anthropic |
OAuth; native Messages API |
/connect → Cursor Sub |
openai |
Browser sign-in; direct subscription Agent endpoint, no Cursor app or CLI dependency |
/connect → Cursor API |
openai |
Optional sidecar; see Cursor integration |
Claude Sub opens your browser and returns automatically through a local callback. If port 53692 is occupied, Solomon selects another available local port. If the browser does not open, copy the displayed sign-in URL into a browser on the same machine. Each sign-in attempt has its own URL; complete the attempt you just started. Credentials refresh automatically during long sessions and remain in the private Solomon configuration file. This integration still needs verification with a real Claude subscription; the optional account-backed test is described in LLM layer.
Provider block fields: base_url, api_key, optional api_protocol (openai | anthropic). Anthropic official base: https://api.anthropic.com (normalized on save).
For ChatGPT Sub, Solomon automatically reads the stable latest version of
@openai/codex from the npm registry and uses it in its Codex requests. This does
not require npm or install any package. The version is cached for six hours in
codex-client-version.json under SOLOMON_HOME (normally ~/.solomon). Refreshing
models in Settings also refreshes this version. If the registry is unavailable
or takes longer than three seconds, Solomon keeps the cached version, or uses
its built-in fallback if no version has been saved yet.
Model switches in Settings are saved in the background to
model-visibility.json under SOLOMON_HOME. Existing hidden_models preferences
from config.toml are carried over on the first switch change. Once created,
this file is the source of model visibility preferences, so refreshing the
catalog, selecting a model, or refreshing authentication cannot overwrite them.
The switches remain usable while saving; a failed save is shown as an error.
Many slash commands write back to config.toml on save:
| Slash command | Config field | Notes |
|---|---|---|
/name |
user_name |
/name clear removes |
/language |
response_language |
/language clear resets to English; custom rules and instruction files may stay in another language — see Project instructions
|
/reasoning |
reasoning_effort |
Main chat default |
/reasoning subagent [level|reset] |
subagent_reasoning_effort |
Show or save the subagent default, or reset it to the built-in default (none); a per-run reasoningEffort takes precedence |
/thinking |
show_thinking |
Streamed reasoning preview |
/stats |
show_usage_stats |
Token line after assistant turns |
/max_response |
max_response_tokens |
Assistant output cap |
/timeout |
subagent_timeout_minutes |
Range 1–180 |
/log |
log_level |
error, warning, info, debug, result
|
/threshold |
compaction_threshold_tokens |
Auto /summarize when prompt tokens exceed limit |
/legacytools |
[tools].legacy, [tools].legacy_force
|
Global, not per session |
/cursortools |
Deprecated Cursor native tools flag — always off; /cursortools off confirms (Cursor API configured) |
|
/fast |
fast_mode |
Only when active provider supports Cursor fast mode |
/autoupdate |
autoupdate |
Auto-install at REPL startup when a newer release is available |
Commands such as /configbackup, /update, /upgrade, and /version do not add new config keys; /onboard overwrites wizard-managed provider fields.
Overrides defaults from EffectiveAPIResilience. Omitted keys keep built-in defaults.
| Key | Default | Role |
|---|---|---|
max_retries |
3 |
Maximum stream/turn attempts per provider host (clamped to 10) |
base_delay_ms |
1000 |
Initial backoff before retry |
max_delay_ms |
30000 |
Cap on wait between retries |
jitter |
true |
Randomize delay up to half the computed wait |
connect_timeout_sec |
30 |
TCP connect and response-header timeout |
read_timeout_sec |
0 (off) |
Whole-request timeout for non-stream calls only |
circuit_open_sec |
60 |
After exhausting retries, block the host for this duration |
Example:
[api_resilience]
max_retries = 3
base_delay_ms = 1000
circuit_open_sec = 60Directory: ~/.solomon/logs. Seven-day retention; file-only logging by default (cmd/solomon/main.go).
The webSearch tool uses web_search_engine from config.toml. If empty or omitted, duckduckgo remains the compatibility default during the migration. Set it to internal to use the Exa/Parallel router with the native CloakBrowser fallback; fetchWeb uses the corresponding MCP fetch adapters and native fallback. Per-call engine and extras override merged config (MergeWebSearchExtras).
web_search_engine |
Required config.toml
|
Notes |
|---|---|---|
duckduckgo (default) |
None | HTML results; no API key. |
internal |
Internal Exa/Parallel MCP entries; official CloakBrowser installed by the standard installer | Alternates Exa and Parallel, retries the other backend on failure, and uses native CloakBrowser as the final fallback. No provider key is embedded in Solomon. |
searxng |
web_search_base_url |
Your SearxNG instance only; no public pool. Per-call extras.baseURL overrides. |
googlepse |
web_search_api_key + web_search_cx
|
Programmable Search Engine. maxResults capped at 10. |
brave |
web_search_api_key |
Brave subscription token. Optional extras.apiKey per call. |
bing |
web_search_api_key |
Bing Web Search. Optional extras.endpoint on the tool call only (default in bing.go); no TOML mapping for endpoint. |
Example snippets:
web_search_engine = "duckduckgo"
web_search_engine = "internal"
web_search_engine = "searxng"
web_search_base_url = "https://search.example.net"
web_search_engine = "googlepse"
web_search_api_key = "YOUR_API_KEY"
web_search_cx = "YOUR_SEARCH_ENGINE_ID"
web_search_engine = "brave"
web_search_api_key = "YOUR_BRAVE_SUBSCRIPTION_TOKEN"
web_search_engine = "bing"
web_search_api_key = "YOUR_SUBSCRIPTION_KEY"The deepResearch tool starts a background project-scoped investigation. The
job combines iterative searches, URL extraction, LLM synthesis, and a final
HTML report. researchStatus reads progress by job id. In the REPL, the same
jobs are managed with /research; see Usage — /research.
| Key | Default | Role |
|---|---|---|
research_max_rounds |
8 |
Maximum search/synthesis rounds |
research_max_urls_per_round |
3 |
Maximum new URLs read per round |
research_max_content_chars |
15000 |
Maximum extracted Markdown sent to the LLM per URL |
subagent_timeout_minutes |
20 |
Overall research time budget; the same limit used for nested subagent work |
Example:
web_search_engine = "internal"
research_max_rounds = 8
research_max_urls_per_round = 3
research_max_content_chars = 15000Research requires a persisted project session and cannot be started from
solomon temp exec or /temp. The internal web backend is configured through
the host-managed Exa/Parallel entries in mcp.json; no API key is placed in a
Solomon build. The standard installer also provisions the native CloakBrowser
fallback. Architecture and persistence details: Deep research.
The optional [web_fetch] table controls the legacy HTTP fetcher. When
web_search_engine = "internal", Exa/Parallel MCP fetch adapters and the
native CloakBrowser fallback are selected instead, while these settings still
describe the HTTP compatibility path.
| Key | Default | Role |
|---|---|---|
user_agent |
HTTP client default | Request User-Agent header |
accept_language |
en-US,en;q=0.9 |
Request Accept-Language header |
blocked_domains |
[] |
Lowercase domains that are refused before the request |
max_redirects |
10 (cap 30) |
Maximum redirects followed by the legacy fetcher |
Example:
[web_fetch]
user_agent = "Solomon/2026"
accept_language = "en-US,en;q=0.9"
blocked_domains = ["example.invalid"]
max_redirects = 10Path: ~/.solomon/mcp.json, or the file in SOLOMON_MCP_CONFIG. If missing, Solomon starts without MCP servers.
In agent mode, connected MCP tools are deferred through orchestrate. Use searchTools to discover their descriptions and argument schemas, then call them as sdk.mcp.<tool>(intent, args); MCP resources and prompts remain host-managed through the MCP manager.
Full schema, JSON example, and runtime behavior: MCP integration.
- Usage and commands
- Data layout
- Startup and CLI — first-run wizard
The native settings tool is available in agent and chat modes. Ask Solomon to
read settings or change a supported preference without editing config.toml.
action: "read" returns persisted values and an explicit catalog of supported
keys, types, ranges and enum values. A null value means the default is in use.
To change one setting, use action: "update", key, value, and expected
(the value returned by the last read), together with the required intent.
The tool rejects unknown arguments, unsupported keys, incorrect types, invalid
ranges and stale expected values before writing. It reloads under the config
lock and saves atomically, preserving unrelated settings. Successful updates
record the setting name, before/after values and tool correlation in the
application log; the normal tool log also records calls and failures.
Supported preferences include response language, user name, reasoning effort, fast mode, thinking/usage display, anonymization, automatic updates, subagent timeout, response/compaction token limits and research limits. Providers, credentials and advanced configuration are deliberately excluded.
Successful changes automatically reload the supported preferences in the active
session, including the compaction threshold and the Cursor backend configuration.
The next model request uses the new values; requests and background jobs already
in progress retain their previous configuration. No restart is required.
Provider, model and service configuration remain unchanged by this reload.
If live reload fails after persistence, the tool explicitly reports
persisted: true, applied: false and an error instead of claiming success.
The tool validates changes but cannot guarantee that a model chooses the right
preference; it should be used only for changes requested by the user.