Docs

The documentation lives in the YuCe repository, so there is one source of truth. These are the places to start.

On your own folder: one agent

A folder of UTF-8 text files, one question, one agent. Add one entry to the configuration of your MCP client (Claude Code’s .mcp.json, Claude Desktop, Cursor or any client that starts servers over stdio), with the path of your folder:

  • The yuce binary from the releases page (check its SHA-256 sum); sbgk is the same program.
  • A folder of UTF-8 text files (PDF and Word converted to text first).
  • Your question, written after --ask.

The command your client runs itself:

yuce mcp --docs /path/to/my-docs --ask "What do these documents say about refunds?"

Or as one entry of your MCP client’s configuration:

{"mcpServers": {"yuce": {"command": "yuce", "args": ["mcp", "--docs", "/path/to/my-docs", "--ask", "What do these documents say about refunds?"]}}}

The client starts the server itself: there is nothing else to run and no token to copy. The first start reads the folder and keeps the journal in my-docs/.yuce/run.wal; every later start resumes the same run. Your agent gets the reading agent’s tools and, as the owner, your reading tools, among them audit_withdraw_preview, which shows what a withdrawal would make fall without writing it. The tools that write (withdrawing a text, closing the run) stay closed to the model unless you start the server with --owner-tools all. A long answer comes in parts, because MCP clients cap the size of one tool result: audit_more gives the rest. The topic words come from the question; give them with --about "refund,return window", which a question in Chinese or Japanese needs.

After the owner has withdrawn a text, this names what fell:

sbgk audit-read fallen --wal my-docs/.yuce/run.wal

To run the server yourself, where more agents can join:

cat > questions.json <<'EOF' [{"id": "q1", "text": "What do these documents say about refunds?", "about": ["refund"]}] EOF sbgk audit-serve --profile solo --docs ./my-docs --questions questions.json --run-id mine --wal mine.wal --listen 127.0.0.1:8787

--profile solo runs one reading agent without a graph builder. Without --subjects the server writes mine.wal.subjects.json beside the journal with two tokens, agent for your agent and owner for you, and never prints them. Join your client as agent with --agent-id agent and its token in SBGK_MCP_TOKEN; the bridge entry is in the README. The run fixes its files when it starts: a file that changes means a new run.

The README, with the bridge entry

Start here

Reference

Examples

Install

The name yuce on PyPI belongs to an unrelated project: install organetic-yuce.

What 0.2 adds

New in the 0.2 line (0.2.0, 12 November 2026; 0.2.1, 14 November 2026; 0.2.2, 15 November 2026):

One agent, one line

yuce mcp --docs <folder> --ask <question> is one MCP server that your client starts itself over stdio. It starts or resumes the run, keeps its journal in <folder>/.yuce/run.wal and keeps the run’s two tokens to itself. A long answer comes in parts.

What fell, and why

sbgk audit-read fallen --wal run.wal names each record that lost a ground, the quotes that went (by their bytes, not their text) and why, the quotes under it that still stand, claims on other sources that say much the same, and what to reread. The same report comes before a withdrawal: audit_withdraw_preview shows what it would make fall, and writes nothing.

A quittance for one conclusion

sbgk audit-proof cuts one file with a record and everything it rests on, down to its quotes, under a signed checkpoint: 7 to 24 KB in the control runs. sbgk audit-proof-verify checks it alone, with no journal and no model.

A journal anyone can check

A server started with a signing key signs the checkpoints of its journal (C2SP signed note, Ed25519). sbgk audit-verify checks a journal against a receipt or a checkpoint kept elsewhere. Checking is always free. A signature proves only that the holder of the key said so: keep the checkpoint where the journal’s writer cannot change it.

Nothing skipped in silence

sbgk audit-read coverage says, from the journal and with no model, what each list item, paragraph and table row of the documents came to: quoted, and by which records; left by the reading budget; withdrawn; or not read. The gap pass (--gap-pass, off by default) can hand the parts no quote covers back to the agents as narrow tasks.

An index and provenance beside the journal

sbgk audit-index builds a SQLite file any tool reads. sbgk audit-prov writes the journal as W3C PROV-O, one JSON-LD file any RDF tool reads: who wrote each record, on which bytes of which document version it stands, what it rests on, and when it stood and stopped standing. Both are rebuilt from the journal at any time.

The full list of changes