Skip to main content

Agent-first knowledge graph: git is truth, SQLite is query, humans just watch

Project description

schist

Agent-first knowledge graph. Git is truth, SQLite is query, humans just watch.

schist is a generic, domain-agnostic knowledge graph where AI agents are the primary writers. Content is markdown + YAML frontmatter, version-controlled in git. SQLite provides the query layer. A static web viewer (D3.js + lunr.js) gives humans a read-only visualization.

Installation

pip install schist

This installs the schist CLI and the schist-ingest console script (used by the git post-commit hook).

Quick Start

# Create a vault
mkdir -p ~/vaults/research/{notes,papers,concepts,.schist}

# Add your first note
schist add --vault ~/vaults/research \
  --title "First Note" \
  --tags getting-started \
  --body "Hello, knowledge graph."

# Search it
schist search --vault ~/vaults/research "knowledge"

# Get graph context (useful for agent session start)
schist context --vault ~/vaults/research

CLI Commands

Command Description
schist add Create a new note
schist link Add a connection between nodes
schist search Full-text search
schist query Raw SQL query
schist build Generate static viewer data
schist context Dump session context
schist schema Print or validate schema

MCP Server

The schist MCP server (@schist/mcp-server) is published separately on npm:

npm install -g @schist/mcp-server

Register it as a user-scope MCP server:

schist --vault /absolute/path/to/vault init --print-mcp-config --format claude --identity local
# then run the printed `claude mcp add ...` line

Claude Code stores user-scope MCP servers in ~/.claude.json (managed by the CLI). On older Claude Code CLIs without mcp add, --print-mcp-config also emits a commented JSON fallback — uncomment the block and hand-merge it under the top-level mcpServers key in ~/.claude.json. Claude Desktop uses ~/Library/Application Support/Claude/claude_desktop_config.json instead; the JSON shape is the same.

See the full README for architecture docs, hub & spoke setup, and MCP tool reference.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schist-0.2.0.tar.gz (81.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

schist-0.2.0-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

Details for the file schist-0.2.0.tar.gz.

File metadata

  • Download URL: schist-0.2.0.tar.gz
  • Upload date:
  • Size: 81.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for schist-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ea236d6d318a237e205e010322e9b097cd22d23ce8cec25eeb2d45584625e02f
MD5 1748e4f6e0d19f209d1ecf15ba2b87e0
BLAKE2b-256 ef461d5e756766c2b6900105942d558349f78e2dde106f60ef87076ad6f0c9c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for schist-0.2.0.tar.gz:

Publisher: release.yml on yibeichan/schist

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file schist-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: schist-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 48.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for schist-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef0890042cfaac44156e30eba87a1b9de907e8bc14298097e0c219c318145b29
MD5 759b6f9d6998d9d21c48f6999c7a0d74
BLAKE2b-256 cf9e81fd6cee9b386bde5f9083cea7e0af8c25195510c9dc9c2ae370e53626d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for schist-0.2.0-py3-none-any.whl:

Publisher: release.yml on yibeichan/schist

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page