beme

module
v0.1.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2026 License: MIT

README

Be Me

A local-first, harness-independent, provenance-aware personal execution-context runtime. Be Me turns trusted personal operating principles, approved reusable knowledge, project policy, and bounded historical evidence into scope-safe, inspectable ContextPack objects for AI coding agents.

Give an agent the right, authorized evidence about how you work and decide — without inventing preferences, leaking unrelated data, or making you restate context on every session.

What Be Me is

  • A context runtime: it resolves what an agent should know before a material decision into a versioned, provenance-aware JSON pack.
  • Capability-bound: privacy is bound to immutable serving capabilities (personal, work-safe), never to model requests.
  • Two-stage: hard policy/scope eligibility runs first; relevance ranking second. The model can never widen its own authority.
  • Local-first: no cloud service is required; MCP is served over stdio only.

What Be Me is not

  • Not a personality clone or style emulator.
  • Not an agent, orchestrator, or reasoning loop.
  • Not a chat-history dump, transcript importer, vector database, or knowledge graph.
  • Not a replacement for your canonical knowledge repositories or session- continuity tooling — Be Me reads them through adapters and never takes ownership.

Status

Contracts phase — pre-implementation. The engine design, trust model, requirement traceability, decision ledger (ADR-001…021), evaluation contract, and versioned JSON schemas are defined and fixture-validated. Engine code begins only after the evaluation corpus freeze (see docs/ROADMAP.md).

beme/
├── docs/        # constitution, requirements, architecture, decisions, evaluation
├── schemas/     # versioned JSON contracts (source, record, policy, pack, eval)
├── testdata/    # synthetic fixtures + negative/injection fixtures
├── evals/       # public evaluation assets (synthetic cases, privacy invariants)
├── scripts/     # contract validation tooling
└── examples/    # synthetic deployment examples

Quick start (contracts validation)

make validate     # validates all fixtures against the versioned schemas

Documentation

Start at docs/PROJECT_CONTEXT.md. Read order and contribution rules are in AGENTS.md and docs/DEVELOPMENT.md.

License

MIT. This project is in a pre-release state; no compatibility commitments exist yet.

Directories

Path Synopsis
cmd
beme command
Command beme is the administrative CLI (blueprint §12.2): source and profile lifecycle, preview, explain, doctor, forget, serve.
Command beme is the administrative CLI (blueprint §12.2): source and profile lifecycle, preview, explain, doctor, forget, serve.
internal
app
Package app wires config, sources, projections, and resolution into the runtime the CLI and MCP server drive.
Package app wires config, sources, projections, and resolution into the runtime the CLI and MCP server drive.
contracts
Package contracts defines the core domain types of Be Me.
Package contracts defines the core domain types of Be Me.
ingestion
Package ingestion reads registered source content safely.
Package ingestion reads registered source content safely.
policy
Package policy implements the non-bypassable Stage-A eligibility gate (blueprint §9.1, ADR-007).
Package policy implements the non-bypassable Stage-A eligibility gate (blueprint §9.1, ADR-007).
projection
Package projection adapts storage stores to the resolver's read interface, and builds projections from registered sources.
Package projection adapts storage stores to the resolver's read interface, and builds projections from registered sources.
resolver
Package resolver implements Stage B: facet classification, candidate retrieval, lexicographic precedence (§9.2), conflict preservation, budgeting, unknowns, and ContextPack emission.
Package resolver implements Stage B: facet classification, candidate retrieval, lexicographic precedence (§9.2), conflict preservation, budgeting, unknowns, and ContextPack emission.
storage
Package storage implements the rebuildable operational index: SQLite + FTS5 via modernc.org/sqlite (CGo-free, ADR-004).
Package storage implements the rebuildable operational index: SQLite + FTS5 via modernc.org/sqlite (CGo-free, ADR-004).
workspace
Package workspace implements trusted workspace identity resolution (blueprint §8.7, FR-014).
Package workspace implements trusted workspace identity resolution (blueprint §8.7, FR-014).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL