The open specification for the doors of a Bevia engine — how evidence goes in, and how understanding comes back out. If you can read or write a JSON file, you can build against Bevia.
- SPEC.md — the capture protocol (v1, the way in): capture body, drop-file convention, location object, behavioral guarantees. Versioned, additive-only.
- SPEC-EXPORT.md — the export protocol (v1.1, the way out): export records, drop-file and pull conventions, provenance guarantees.
- schema/ — JSON Schemas for validation.
- examples/ — real capture files (a chat session, a robot maintenance session, a captured note) and a matching export.
- tools/ — zero-dependency conformance tools:
check-capture.mjsvalidates your capture bodies against the spec, andfake-engine.mjsis a local test double (HTTP + drop-file watcher) that answers honestly — what landed, what deduped, why something was rejected — so you can build a sensor without an engine. - SENSOR-CHECKLIST.md — the five honesty rules every sensor should meet, with a troubleshooting table for "my data isn't landing."
- reference/ — reference sensor implementations.
Bevia turns observed work — conversations, sessions, notes — into a
navigable, queryable memory. This repo specifies the doors. In:
the shape of a capture, how a file in a watched folder becomes
evidence (*.bevia-capture.json — the file's content is the
request body), and how a sensor stamps where knowledge happened.
Out: the export record, how the engine's understanding lands as
files or answers a pull (*.bevia-export.jsonl), and the guarantee
that every record traces back to evidence. Everything here is open
and free to implement, forever.
What this repo is not: the engine. How captures become understanding — the compilation, the cartography, the narration — is proprietary and is the product. Implementing this spec requires no license; running an engine does. Open doors, paid brain.
In (sensor):
- Write a capture file (copy one from examples/).
- Name it
anything.bevia-capture.json. - Put it in a folder your Bevia app watches.
Out (consumer):
- Point your Bevia app's export at a folder.
- Read
*.bevia-export.jsonl— one record per line, deduped byid.
That's the whole integration, both directions. For a continuous sensor, see the reference implementations.
The spec, schemas, and examples in this repository are MIT-licensed. Bevia engines (Bevia Local, Bevia Cloud) are separate, proprietary products and are not covered by this license.