Silos
Menu

Product

Product overviewThe panelNeeds youAgentsTasksAutomationsSilosEnginesOpen source

Solutions

Solutions overviewCoding agentsA small businessSupportFinance

Resources

Compared with terminal tabs

Company

About

Docs

All the docsInstall
Docs menu

Operating

Security and data

Where Silos keeps its data, the defaults that protect it, how requests are authenticated, what Silos never touches, and how deletion works.

Silos is built on one assumption: transcripts contain secrets. Agents read files, run commands and handle credentials, and all of it lands in their session logs. The defaults follow from that.

Where data lives

There is no database. The filesystem is the source of truth.

Path What it holds Who writes it
~/.claude/projects/ Claude Code transcripts (JSONL), including sessions you started outside Silos Claude Code
~/.silos/ Silos’ own state: agents (agents.json), the access token, automations and their runs (automations.json, runs/), the Vault (vault.json), messages, sign-in sessions, the trash, caches Silos
~/.silos/agents/<id>/opencode.db the sessions of an agent on OpenCode OpenCode
each project folder plans/*.plan.json (tasks), CLAUDE.md, skills, deliverables you and your agents

SILOS_DATA_DIR moves ~/.silos, and SILOS_ROOT points Silos at another transcript root. To back up everything worth keeping, copy ~/.claude/projects, ~/.silos and ~/.claude/settings.json. Losing ~/.silos loses no transcripts, but it does lose identities, automations and configuration.

Safe defaults

  • Loopback only. The server binds to 127.0.0.1, so nothing on the network reaches it directly. Remote access goes through a tunnel or proxy you put in front. See Remote access.
  • A private data directory. ~/.silos, its cache and its trash are created with mode 0700. The token, the Vault, provider keys and sign-in sessions are files with mode 0600.
  • Secrets stay out of command lines. Vault values and provider keys reach a console through an env file that the launcher reads and then deletes, never through tmux arguments. API answers never return a secret unmasked.

Authentication per request

Every request is judged on its own:

  • A request that is truly local (a loopback Host, no proxy forwarding headers, and no Origin from another website) may read without a credential.
  • Every write needs an identity, even locally: your token, a Google sign-in session, or an agent’s bearer token. Every WebSocket needs your token or session; an agent’s token never opens one. Silos never treats an anonymous request as the owner.
  • Anything arriving through a tunnel or proxy needs authentication for every request.

Each agent has its own bearer token (SILOS_AGENT_TOKEN) whether or not its territory is on. Writes made with it name the turn they come from, so Silos can tell which agent, and which turn of that agent, did what. Some routes are yours alone, such as editing an agent, the Vault and Usage. An agent’s token is refused there.

What Silos never modifies

  • Claude Code itself. Silos runs the unmodified claude binary and uses only its documented flags, settings, hooks and files. See Claude Code.
  • Sessions it did not create. They are read and never written. OpenCode databases are opened strictly read-only.
  • Your personal configuration. Your ~/.claude.json MCP servers are shown and never written. Where Silos turns something off in a project folder, it uses the engine’s own switch in .claude/settings.local.json, kept out of git.

Deleting and the trash

Nothing is deleted outright. Deleting moves things to ~/.silos/trash/: a conversation’s transcript and its files, for example, or an automation an agent withdraws. The trash empties itself: an entry that has been there longer than 30 days is removed, checked every few hours. Nothing outside the trash directory is touched by that sweep.

On OpenCode, deleting a conversation hides it on Silos’ side, because Silos never writes OpenCode’s database.

Transcript retention is Claude Code’s own setting, cleanupPeriodDays. Claude Code deletes transcripts older than that, and Silos does not duplicate the setting. Settings shows the current value and lets you change it. Silos backs up ~/.claude/settings.json before writing it. If you rely on long history and do not back up ~/.claude/projects, set this value deliberately.

Files changed outside Silos

Silos keeps a copy and a fingerprint of the state files it writes, such as agents.json, automations.json and vault.json. If one of them changes on disk without Silos writing it, Silos puts back its own copy and sets the outside version aside. Needs you then says « changed outside Silos — review the set-aside copy · Keep the edit · Discard». Credentials such as the token are rotated rather than adopted. This guards against an agent, or anything else running as your user, quietly editing Silos’ state. Limit: a process running as the same Unix user can still write. What it changed is just not served.

Territory

Territory is a per-agent fence. Silos generates permissions.deny rules that keep an agent out of Silos’ own data directory, credential files, other agents’ private state, and the files an engine loads behaviour from (skills, plugins, settings, CLAUDE.md of the config directory). New agents get it on from the start. It is enforced by the engine through its documented permission settings, so it covers the engine’s file tools and direct shell commands but not a script interpreter. An agent needs its territory on to work «On its own». The full description is on Territory.