Skip to content

Docs Home

Source mirrored from seocho/docs/README.md

SEOCHO helps agents use graph memory with an explicit ontology contract.

This page is the front door. It explains what SEOCHO does, which document to read first, and which words matter before you go deeper.

GoalReadYou are done when
Understand the ideaWhy SEOCHOyou can explain ontology-aligned graph memory in one paragraph
Run the smallest exampleQuickstartyou can define one ontology, add text, and ask one question
Use Python directlyPython SDKyou know when to use local, remote, or explicit backend mode
Bring your own filesBring Your Datayou know how your records enter the graph
Run a serviceRuntime Deploymentyou can start the API, UI, and graph services
ContributeOpen Source Playbookyou know how to open a scoped issue or PR

If you only have ten minutes, read Why SEOCHO, then run the Quickstart.

Do not read the docs tree from top to bottom. Pick the path closest to your job and move one step at a time.

SEOCHO documentation reader paths
SEOCHO docs follow a common open-source pattern: understand the idea, try the smallest example, then move into build, operate, or contribute paths.

SEOCHO keeps the same ontology contract across ingestion, graph writes, retrieval, answer synthesis, and runtime APIs.

SEOCHO core loop
The product loop is small on purpose: define the contract, ingest data, shape graph facts, query evidence, and improve the contract.

In plain terms:

StepWhat happensWhat you can inspect
Define ontologyName the allowed entities, relationships, and properties.ontology file or Python object
Ingest dataLoad text, records, or files.input files and run config
Shape graph factsExtract entities and relationships that fit the ontology.graph payloads and validation notes
Query graph memoryAsk questions with schema-aware retrieval.Cypher, evidence, and traces
Improve the contractReview failures, add rules, and rerun.artifacts, reports, and PRs

Everything else in the repository exists to make this loop repeatable, observable, or deployable.

TermMeaning hereSimple example
OntologyThe schema the agent must respect.Person WORKS_AT Company
Graph memoryStored facts plus provenance and constraints.who said a fact, where it came from, and how it links
IndexingTurning documents into graph-shaped facts.extracting companies, incidents, controls, and relationships
Semantic queryResolving intent before generating a graph query.mapping “risk owner” to the right node and relation
RuntimeThe HTTP service for shared usage.an app or agent calls SEOCHO instead of local Python
ArtifactA generated file you can review.trace, rule profile, report, or graph export
ReaderBest first path
New userQuickstart -> Python SDK
Data or RAG builderBring Your Data -> Run Specs
Agent developerPython SDK -> Files and Artifacts
OperatorRuntime Deployment -> Workflow
ContributorOpen Source Playbook -> Issue Task System
MaintainerRelease And Community Operations -> Decision Log

The fastest path is local. It does not require Neo4j, DozerDB, Docker, or a web server.

Terminal window
uv pip install "seocho[local]"

Then run the quickstart from a checkout:

Terminal window
export MARA_API_KEY=...
uv run python examples/finance-compliance/quickstart.py --llm mara/MiniMax-M2.5

Use the runtime later, when another process needs the same graph contract over HTTP.

SEOCHO docs should make evidence visible. Every serious run should leave files or links that another person can inspect.

SEOCHO evidence and artifact loop
Artifacts turn graph behavior into reviewable evidence. Use them to debug extraction, validate answers, and decide the next ontology or rule change.
ArtifactWhy it existsRead next
Run configshows which ontology, documents, questions, and models were usedRun Specs
Graph payloadsshow the nodes, relationships, and evidence before or after writeFiles and Artifacts
Tracesshow how retrieval, routing, and answer synthesis behavedFiles and Artifacts
Reportscompare runs, gaps, costs, and failure modesTutorial First Run
PRs and issueskeep public work reviewable and scopedOpen Source Playbook
AreaDocuments
Product ideaWhy SEOCHO, Philosophy, Architecture Overview
Getting startedQuickstart, Python SDK, Bring Your Data
Repeatable runsRun Specs, Tutorial First Run, Files and Artifacts
OperationsRuntime Deployment, Runtime Architecture, Workflow, Release And Community Operations
Open source workOpen Source Playbook, Issue Task System, Contributing

The map follows this structure:

Docs patternPurposeSEOCHO examples
Conceptsexplain why the system exists and which words matterWhy SEOCHO, Architecture Overview
Tutorialsguide a first successful runQuickstart, Tutorial First Run
How-to guidessolve a concrete taskBring Your Data, Run Specs
Referencepreserve contracts, surfaces, and decisionsFiles and Artifacts, Query Architecture, Decision Log

Generated code indexes such as DeepWiki are useful as secondary maps, but the source docs in this repository remain the contract. Use this table to move from a system area to the maintained guide.

System areaWhat you are trying to understandMaintained docs
Product overviewwhy SEOCHO exists and where it fitsWhy SEOCHO, Architecture Overview
SDK and client interfacehow users call SEOCHO from PythonPython SDK, Quickstart
Ontology systemhow schema, context, drift checks, and governance shape behaviorWhy SEOCHO, SDK Ontology Guide, Maintainer Architecture Notes
Indexing and ingestionhow documents become graph factsBring Your Data, Run Specs, Files and Artifacts
Query and agent orchestrationhow questions become evidence-backed answersQuery Architecture, Graph-RAG Agent Handoff Spec
Runtime and HTTP APIhow the shared service is composed and operatedRuntime Deployment, Runtime Architecture
Storage and graph backendswhere graph state, generated files, and backend assumptions liveFiles and Artifacts, Runtime Architecture
LLM, tracing, and evaluationhow runs stay inspectable and how claims are validatedFiles and Artifacts, Runtime Architecture, Workflow
Developer tooling and CIhow contributors keep changes reviewable and deployableOpen Source Playbook, Workflow, Maintainer Architecture Notes

Current gap list:

GapCurrent workaroundGood future doc
ontology internals are split across product, SDK, and maintainer docsstart from the SDK ontology guide, then read maintainer notesOntology Architecture
indexing/data-plane internals are spread across how-to and artifact docsstart from Bring Your Data, Run Specs, and Files and ArtifactsIndexing Architecture
graph backend details are mostly operational todaystart from Files and Artifacts and Runtime ArchitectureStorage And Backend Guide
tracing/evaluation guidance is distributed across workflow and runtime docsstart from Files and Artifacts, Runtime Architecture, and WorkflowTracing And Evaluation Guide
QuestionShort answerRead next
Do I need a graph database for hello world?No. Start with the embedded local path.Quickstart
When should I use the runtime?When another app or agent needs a shared HTTP boundary.Runtime Deployment
What does the ontology control?It guides extraction, validation, graph writes, retrieval, and answers.Why SEOCHO
Where do generated files go?SEOCHO writes reviewable artifacts such as traces, reports, and profiles.Files and Artifacts
Is debate mode the default?No. Start with semantic graph QA. Use debate for explicit comparison.Python SDK
How do GitHub, Ghost, and Discord fit together?GitHub is source of truth, Ghost is the public archive, Discord is real-time discussion.Release And Community Operations
SurfaceOwner pathMain question
Public SDKsrc/seocho/how do users ingest, query, and configure SEOCHO from Python?
Query and retrievalsrc/seocho/query/how does intent become graph-grounded evidence?
Indexing and graph shapingsrc/seocho/index/how do documents become graph facts?
Runtime APIruntime/how do external agents and apps consume the graph contract?
Extraction compatibilityextraction/which legacy imports or batch paths still need to work?
Examplesexamples/what should a real user copy first?
Docs and governancedocs/what contract should future contributors preserve?

Use these after the first local success:

TopicReference
Architecture detailsArchitecture Overview, Runtime Architecture, Query Architecture, Maintainer Architecture Notes, Internal Class Design
Repository shapeRepository Layout, Workflow
AutomationGitHub Automation, Release And Community Operations
Design historyDecision Log, Reference Docs
Historical materialArchive, Maintainer Docs
  • GitHub README.md is the fastest product landing page.
  • docs/* is the source of truth for long-form product, operator, and system contracts.
  • website/ is the tracked Astro/Starlight source app in this repository.
  • website/scripts/generate-docs.mjs materializes selected /docs/* and /blog/* pages from repo-root source docs for the in-repo site app.
  • Generated mirror files under website/src/content/docs/docs/ are derived site artifacts. Do not edit them by hand; regenerate them when source docs change.
  • Validate the site with cd website && npm run check:docs && npm run build.