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

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "schist": {
      "command": "node",
      "args": ["/absolute/path/to/schist/mcp-server/dist/index.js"],
      "env": {
        "SCHIST_VAULT_PATH": "/absolute/path/to/vault"
      }
    }
  }
}

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.1.0.tar.gz (61.6 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.1.0-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for schist-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ce1224c6648d5118fecdba46c6d2402ef392a0260a1d09af77673bef5d5e7d18
MD5 9630f2a27090c4294dd49ed939af66eb
BLAKE2b-256 6731d5b04b85f9d8c76fbc7bb22ba9dd59e880fafc6b32d375d27425101d85ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for schist-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: schist-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 39.0 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e675acf1ae4416063e5cb07f3eac83d019b3a2d42f6f8c8e524ba6f5f827bad
MD5 90e966816658b00ec3b557b1b07c34eb
BLAKE2b-256 0bbc79511f99880195c87666ae300be815dddbffabd7e6bcc4d6233fd4a85f87

See more details on using hashes here.

Provenance

The following attestation bundles were made for schist-0.1.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