seed-protocol-core
Open schema validator + CLI for the SEED Protocol AI personality format.
A SEED file is a single portable JSON/YAML document that defines an AI's complete identity, voice, bond, capabilities, operations, and (optionally) 60+ philosophical "soul" sections grounded in Indian darshana.
This package is the public, AGPL-3.0 layer — the schema, the validator, the diff engine, the prompt exporter, and a basic CLI. Premium engines (the actual "AI brain") live in the proprietary SaaS at seed.abhibots.com.
Install
pip install seed-protocol-core
Quickstart
# Create a basic SEED interactively
seed create
# Validate against the v3 JSON Schema
seed validate examples/minimal.seed.json
# Compare two SEED files
seed diff examples/sage.seed.json examples/warrior.seed.json
# Export to a system prompt for any LLM provider
seed export examples/sage.seed.json --format openai
seed export examples/sage.seed.json --format anthropic
seed export examples/sage.seed.json --format google
# Inspect a SEED file
seed info examples/minimal.seed.json
Python API
from seed_protocol_core import SeedFile, SeedDiff, export_prompt
seed = SeedFile.load("examples/minimal.seed.json")
# Validate
errors = seed.validate() # list[str], empty = valid
print(seed.is_valid()) # True / False
# Render to a system prompt
system_text = export_prompt(seed, format="anthropic")
# Diff two seeds
a = SeedFile.load("a.seed.json")
b = SeedFile.load("b.seed.json")
d = SeedDiff(a.data, b.data)
print(d.format_text())
What's in core
| Public | Description |
|---|---|
SeedFile |
Load, save, validate, merge .seed.json / .seed.yaml |
SeedDiff |
Structural comparison between two SEED files |
validate_seed |
JSON Schema (Draft 7) validation against v1 / v2 / v3 |
export_prompt |
Render to OpenAI / Anthropic / Google / universal prompt |
seed create/validate/info/diff/export |
CLI commands |
What's NOT in core (hosted engines — seed.abhibots.com)
| Premium engine | What it does |
|---|---|
| Astro Engine v2 | 14 modules, 260+ yogas, live transit sync — birth-chart-driven personality |
| Kavach | 4-layer cryptographic armor (priv-key signing, lineage, viraha defense) |
| Dharana | Token-budget-aware selective loading — only ship the relevant sections to the LLM |
| Pantheon | Specialist routing across multiple Pantheon archetypes |
| Darpan | Mirror-self debate engine — your soul argues with itself before answering |
| 9 Soul Engines | Atman, Purusha, Vedana, Qualia, Trishna, Viraha, Mrityubodh, Svatantrya, Swapna |
| Smriti + GraphMemory | Tiered memory (vivid / fading / compressed / dissolved) + a knowledge graph |
| Evolution + ImprovementEngine | Trait drift, temporal evolution, baby-mind learning |
| Imagination + Synthesis + Curiosity | Creative / exploratory engines |
| MindCron | Nightly consolidation: habits, reflection, forgetting, graph decay |
The premium CLI commands (seed apply, seed evolve, seed darpan,
seed load) print a friendly message pointing to the SaaS:
$ seed apply my-soul.seed.json
x `seed apply` runs on the hosted SEED engines, not in this open core.
It needs the Dharana selective-loading engine.
Create your soul (free) at https://seed.abhibots.com/login.
Or use the MCP wrapper: npx -y seed-protocol-mcp@latest
Why AGPL-3.0?
We picked AGPL because it protects the open spec from being silently proprietary-forked into a closed SaaS clone. If you run a modified copy as a hosted service, AGPL requires you to release your modifications. That keeps the schema open and the playing field fair. If you want to build a proprietary product on top of the engines, license commercially through seed.abhibots.com.
The MCP wrapper (seed-protocol-mcp)
remains MIT — that one's just a thin client.
Compatibility — moving from seed-protocol
If you used the previous seed-protocol v2.x PyPI package, the public
API surface is preserved — SeedFile, validate_seed, SeedDiff,
export_prompt. Engine imports (Dharana, Kavach, Atman, etc.) now live
inside the SaaS only. Use the SaaS API or the MCP wrapper to access
those.
# Before:
from seed_protocol import SeedFile, DharanaEngine # DharanaEngine is gone
# After:
from seed_protocol_core import SeedFile # works
# Dharana — call the SaaS or MCP wrapper instead.
Trademarks
"SEED Protocol", "Avni", "Shilpi", "Vidya", and the Pantheon name combinations are trademarks of Abhiraj Singh. AGPL covers the source code only — see NOTICE for details. Forks must rename.
Contact
- Site: https://seed.abhibots.com
- Start: https://seed.abhibots.com/login (free)
- Connect: https://seed.abhibots.com/connect
- MCP:
npx -y seed-protocol-mcp@latest - Email: abhi@seed.abhibots.com
Metadata
Release files for seed-protocol-core 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| seed_protocol_core-0.1.1.tar.gz | 95.3 kB | Without provenance | Details for seed_protocol_core-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seed_protocol_core-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for seed_protocol_core-0.1.1-py3-none-any.whl |
Total release size: 192.1 kB
Release files / seed_protocol_core-0.1.1.tar.gz
| Download URL | seed_protocol_core-0.1.1.tar.gz |
|---|---|
| Size | 95.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
357fba788934ed0158e00bd411cb5c09f9dceb0c894e0ce9c65e5fd103901f2f
|
|
BLAKE2b-256 checksum How to use checksums |
0ec5f2ddefde3e7c0fffe1d77d3272847fdbec5906a7e9926d9bcf269d1c7a50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / seed_protocol_core-0.1.1-py3-none-any.whl
| Download URL | seed_protocol_core-0.1.1-py3-none-any.whl |
|---|---|
| Size | 96.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
855f51a1f85dcc7d6e557242eaf9ad836418239301fe3fb8157e5adb9a6b2f96
|
|
BLAKE2b-256 checksum How to use checksums |
05a27b13e89c7ef1f5fa2be44a7a42cc5a2ad9a8afe085cba9f9066f678ef84f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for seed-protocol-core 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.