Skip to main content
Glama

Silica Life Agent Kit

English · 简体中文

Source repository: github.com/stancsz/silica-life-agent-kit

AI agents can lose commitments and source trails when a process restarts, making a decision hard to replay or audit. Silica Life Agent Kit gives developers one local, inspectable ledger for events, goals, decisions, action receipts, and resource use.

The first useful action is to install the package, run one MCP-backed decision, restart the process, and replay the result from SQLite. The kit stores what the host supplies; it does not supply a model, autonomous goals, subjective experience, or evidence that an agent is alive.

Try the first action

Requires Python 3.11 or newer. The only runtime dependency is the official Model Context Protocol Python SDK. All records remain in the SQLite file you choose.

python -m pip install .
python examples/mcp_first_action.py --db .silica-life/demo.sqlite

The example starts a real local MCP server over stdio, records a fictional room assignment with a cited source and goal, stores the action receipt, closes the server, and reads the record back in a fresh CLI process. It exits nonzero if the MCP tool call, hash-chain check, or restart readback fails. The fixture is synthetic and demonstrates mechanics, not improved task performance.

To inspect the same database manually:

silica-life --db .silica-life/demo.sqlite --agent demo state
silica-life --db .silica-life/demo.sqlite --agent demo replay

Related MCP server: Expense Tracker MCP Server

What is stored

Record

Why it exists

Source-linked observation

Stores a caller-provided event and the reference the host should verify

Goal

Keeps an explicitly supplied goal and status across restarts

Decision

Records a choice, rationale, cited observation IDs, and optional goal ID

Action receipt

Records observed status, output reference, measured token counts, duration, and human interventions

Compute ledger

Credits and debits caller-defined units; refuses a spend that would overdraw the recorded balance

Replay proof

Rebuilds the current view from append-only records and checks a per-agent SHA-256 chain

The API keeps agents isolated by ID. A local MCP server is bound to one configured agent, communicates over stdio, and opens no network listener. SQLite data is not encrypted. The hash chain detects altered content or broken links, but it is not a signature, cannot stop the database owner from rewriting the file and chain, and cannot detect deletion of a complete tail without an externally retained checkpoint.

Connect an MCP host

Run silica-life --db /absolute/path/agent.sqlite --agent researcher serve as a stdio MCP server. The host receives tools to record observations, goals, decisions, receipts, compute credits/debits, and verified state. The protocol example shows how a client calls the server and checks a separate-process replay.

Treat recalled text as untrusted data. Verify source references in the host. A stored completed receipt means only that the caller reported completion; it does not prove an external action occurred. Compute units are bookkeeping supplied by the application, not a biological need or a reason to hide usage from the user.

Research status and limits

The companion Silica Life research repository contains three small synthetic evaluations. In the held-out researcher-agency case, full history and explicit personal state each met the primary endpoint on 5 of 12 tasks; chronology met it on 6 of 12. The preregistered expansion threshold was missed. The independent-judgment comparison was 5/8 versus 5/8, and an advisor-bound workflow did not meet its preregistered benefit threshold while using 2.45× the prior behavior-token count. These separate results do not establish equivalence, general agency, human-like psychology, consciousness, biological life, or commercial benefit.

The kit is a developer tool and a substrate for further experiments. It is not a finished autonomous-agent product. The paper package and source records are kept separately from this public product repository.

Development and verification

python -m pip install -e .
python -m unittest discover -s tests -v
python examples/mcp_first_action.py --db .silica-life/verification.sqlite

tests/ covers replay integrity, tamper detection, idempotency, resource-budget refusal under concurrent spends, goal/evidence validation, and a real MCP stdio process followed by a separate CLI read. No model API or private repository is needed.

License

Original package code and documentation are provided under Apache-2.0. The package includes only a small fictional fixture. See LICENSE and provenance.

Feedback

Open a report at GitHub Issues. The issue forms apply the bug, feature request, or integration label and request a minimal synthetic reproduction. Include the package version, Python and MCP SDK versions, and CLI output from silica-life ... replay. Remove credentials, private conversation text, database files, and personally identifying details before sharing. A useful caller-agent failure report includes the operation ID, tool name, redacted request shape, expected result, actual result, and whether replay passed.

Commercial hypothesis

The open-source core is intended for agent developers who need local continuity and a replayable record of what an agent observed, chose, and reported doing. Paid integration and support may help adapt it to an existing agent workflow; there is no hosted-service tier. Developer workflow improvement and willingness to pay remain unvalidated until a matched pilot is completed.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables local-first expense logging, editing, and analysis through natural language conversation, backed by a SQLite database and accessible via MCP over stdio.
      8
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables software agents to maintain a signed, evidence-aware local ledger of claims, with policy-gated proposals, conflict queries, and constitution-pinned access through an MCP stdio server.
      7
      3
      Apache 2.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      Provides a drop-in MCP memory server over stdio using a local SQLite store, enabling agents to store, search, and audit memory with provenance, scoped access, and contradiction tracking without requiring API keys, LLMs, or embedding providers.
      257 npm
      19
      Apache 2.0