ctxindex

A local personal-context gateway with one deterministic CLI for agents.

ctxindex gives agents one command vocabulary for context spread across providers and local files. Mail, Calendar Events, files, and extension-defined domains become Resources with stable ctx:// Refs. Providers and the filesystem remain canonical; local projections and caches support search, retrieval, Relations, export, and narrowly typed Actions.

Mental model in five lines

  1. A Realm is a user-defined operating context whose Sources should be searched and reasoned about together.
  2. A Source is one configured connection to one provider collection or local directory, and belongs to exactly one Realm.
  3. A Profile defines a Resource's portable shape, searchable vocabulary, exports, Relations, Artifacts, and Actions.
  4. A Source Adapter performs provider or filesystem I/O and emits Resources that conform to Profiles.
  5. A Resource is one addressable unit of context; its stable Ref identifies it independently of local materialization.

The CLI is the agent integration surface. Agents compose commands such as search, get, thread, export, and action, request deterministic JSON where available, and use stable exit codes instead of provider-specific integrations.

Start here

On this page