sophia
One command for your Sophia: it starts the engine for your home, works with graphs and documents, and connects agents.
Write, read and search documents from the shell, run SPARQL, and pipe one note into another. Back a graph up whole and restore it in another home, bring back an earlier version of a note with sophia doc history and sophia doc restore, and ask sophia doctor what is wrong with a setup. Every verb answers in JSON with --json.
sophia find heron
Searches the text of your documents; --semantic adds the engine’s semantic index.
State Pre-release: sophia is not yet in a published release. The install command above works from its first release.
sophia-labs/sophia-mcp
Garden, the engine
Garden is a local-first knowledge graph engine: notes, documents, files, RDF triples and a SPARQL store, in a profile directory on your own machine.
You seldom start it yourself: sophia up runs it for your home. It serves the Sophia app to your browser, a REST API and an MCP endpoint on 127.0.0.1, and a semantic index of your blocks computed on your machine.
gardend --version --json
Prints its name, version and storage format as JSON.
State Pre-release: version 0.1.4 is published for Linux and macOS (x86_64 and arm64). Its archives carry the app and its services beside the engine.
sophia-labs/gardend
The Sophia app
The app is your Sophia in a browser: an editor for your documents, the graph of how they link, and whiteboards.
sophia up prints a link; open it and your graphs are there. The link carries your home’s key, so the page answers only to you; sophia up shows the key only on a terminal, unless you ask for it.
sophia open
Brings the engine up and opens the link in your browser.
State Served by the engine from version 0.1.2. A desktop app builds from source on macOS; it is not published.
sophia-labs/shrubbery
MCP for agents
sophia mcp serves your graph to an agent over MCP, on stdio.
sophia connect writes an agent’s MCP configuration with a token of its own, and can add a skill generated from the command list. With --tools daily the agent sees about ten tools instead of about 134. A token can be held to one graph, one role and a lifetime.
sophia token new --label agent --role editor --graph notes --expires 12h
A token for one agent: editor on one graph, for twelve hours, shown once.
State The standalone sophia-mcp server has published releases (0.6.2 is the latest). sophia mcp, the daily profile and sophia connect come with the CLI’s first release.
sophia-labs/sophia-mcp
These run beside the engine and stay off until you turn them on. Each works with keys you supply yourself: bring your own key (BYOK).
Vehicle BYOK
Vehicle is how people and agents talk to a Sophia agent through one surface: the chat panel, a terminal room, Neovim, or another agent.
A session has one driver at a time. Anyone else on the graph can send a chime, which the room lets in, holds for the driver, or refuses. Sessions outlive any process, can be forked or cloned, and each conversation is written to a document in its graph, where it can be read, searched and linked.
sophia chat sessions
The chat sessions on the graph, through the vehicle client.
You bring Your own model provider key (an OpenRouter key, kept by the engine) and Node.js 22.19 or later.
State Ships with the engine as a service, off until you turn it on.
sophia-labs/vehicle
Sophia Compute BYOK
Sophia Compute runs workflows whose steps are programs and agents, against a Sophia graph.
A workflow is a small script: its phases and inputs, then its steps. Agent steps read and write the graph through the engine’s tools, and never hold a model key: every model call goes through the host. Start a workflow from the engine’s MCP tools or its local API, and follow it as it runs.
gardend service enable choreograph
Starts Sophia Compute with the engine from now on.
You bring Your own model provider key (an OpenRouter key, the same one chat uses) and Node.js 22.19 or later.
State Ships with the engine from 0.1.4 as a service, off until you turn it on.
sophia-labs/choreograph
Grapevine BYOK
Grapevine, Sophia’s chat edge, is built and tested against Zulip as a hosted edge; the local version, with its own Matrix server running beside the engine, is in progress.
You bring A model provider key: the agent that answers runs in Sophia Compute, on Compute’s key.
State Not yet in the engine bundle.
sophia-labs/grapevine