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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce1224c6648d5118fecdba46c6d2402ef392a0260a1d09af77673bef5d5e7d18
|
|
| MD5 |
9630f2a27090c4294dd49ed939af66eb
|
|
| BLAKE2b-256 |
6731d5b04b85f9d8c76fbc7bb22ba9dd59e880fafc6b32d375d27425101d85ab
|
Provenance
The following attestation bundles were made for schist-0.1.0.tar.gz:
Publisher:
release.yml on yibeichan/schist
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
schist-0.1.0.tar.gz -
Subject digest:
ce1224c6648d5118fecdba46c6d2402ef392a0260a1d09af77673bef5d5e7d18 - Sigstore transparency entry: 1330838235
- Sigstore integration time:
-
Permalink:
yibeichan/schist@c8d176d4309ae40bfe1f127bdfa41092407bd5f1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/yibeichan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c8d176d4309ae40bfe1f127bdfa41092407bd5f1 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e675acf1ae4416063e5cb07f3eac83d019b3a2d42f6f8c8e524ba6f5f827bad
|
|
| MD5 |
90e966816658b00ec3b557b1b07c34eb
|
|
| BLAKE2b-256 |
0bbc79511f99880195c87666ae300be815dddbffabd7e6bcc4d6233fd4a85f87
|
Provenance
The following attestation bundles were made for schist-0.1.0-py3-none-any.whl:
Publisher:
release.yml on yibeichan/schist
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
schist-0.1.0-py3-none-any.whl -
Subject digest:
2e675acf1ae4416063e5cb07f3eac83d019b3a2d42f6f8c8e524ba6f5f827bad - Sigstore transparency entry: 1330838333
- Sigstore integration time:
-
Permalink:
yibeichan/schist@c8d176d4309ae40bfe1f127bdfa41092407bd5f1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/yibeichan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c8d176d4309ae40bfe1f127bdfa41092407bd5f1 -
Trigger Event:
workflow_dispatch
-
Statement type: