People
Ask questions in natural language and receive knowledge-backed answers through an Agent.
OCTX
Package complete Markdown, Chunks, Events, Entities, relations, and vectors into an open, verifiable, portable context Package. Build once and reuse it across compatible knowledge systems and Agents.
Reference architecture
Ask questions in natural language and receive knowledge-backed answers through an Agent.
Searches the knowledge system and writes retrieved results into the active context before answering.
For example, SAG reads OCTX, writes knowledge into a database, and builds retrieval indexes.
An open context asset carrying Markdown, Chunks, Events, Entities, relations, and optional vectors.
One file, more than one document
sha256:9bd4…e31aindex.mdconcepts/*.md
chunks.jsonlevents.jsonlentities.jsonl
chunk-events.jsonlevent-entities.jsonl
config.json*.arrow
Why Open Context
When a document enters a knowledge system, it is chunked, extracted, connected, and embedded. Those expensive results usually exist only inside one database. When the file leaves the system, its structure disappears.
Open Context turns those results into independent assets. Producers can publish them; recipients can inspect, install, upgrade, and trace them; and Agents can use the normal retrieval path immediately.
Boundary of the open standard
OCTX uses OKF-compatible Markdown. It can be opened, reviewed, and versioned without a specialized SDK.
UUIDv7 preserves object identity, Package Digest fixes exact content, and Release carries version evolution.
Chunks, Events, Entities, relations, and vectors can travel with the Package instead of being extracted again in every system.
Vectors and local indexes are acceleration layers. Reuse compatible data and rebuild incompatible data from trusted upstream records.
From creation to retrieval
Start building
octx package creates, opens, and validates Packages. Using SAG as an example, zleap-sag can import .octx files into a retrieval system and export system context back to .octx.from octx import create_octx, open_octx, validate_octx
release = create_octx(
source="./knowledge",
workspace="./my-context",
name="SAG Technical Research",
output="research-context.octx",
)
with open_octx("research-context.octx") as package:
report = validate_octx(package)
assert report.validfrom zleap_sag import import_octx
installation = import_octx("research-context.octx")
# Documents are available immediately.
# Missing local indexes continue in the background.
print(installation.status) # installed | indexing | readyProgressive adoption
| Layer | Markdown | Stable identity / Release | Chunk / Event / Entity | Vectors | Use |
|---|---|---|---|---|---|
| OKF Bundle | ✓ | — | — | — | Readable by people and Agents |
| OCTX | ✓ | ✓ | Optional | Optional | Portable and verifiable |
| SAG-Structured | ✓ | ✓ | Complete, with no orphaned records | Optional | Direct structured import |
OPEN BY DESIGN