Skip to content
integrate-your-mindPublic

About

Local coding-session search with SQLite, citations, a CLI, MCP server, and HTTP API. Prototype.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ChatIndex

Local-first search + chat over your Codex and OpenCode session history.

One-line pitch

ChatIndex builds a private, searchable memory of your local coding sessions with citations.

Who it's for

Developers and teams who use Codex or OpenCode and want fast, local recall without sending data to third parties.

What it does

  • Ingests Codex JSONL and OpenCode session exports
  • Builds per-session context trees for reasoning-based retrieval
  • Answers with citations to exact message ranges

What it does not do (scope)

  • No cloud sync or hosted storage
  • No external telemetry by default
  • No public API authentication (you must front it if needed)

Quick start

pnpm install
pnpm dev

What you get

  • CLI for ingest/search/ask
  • MCP server for tool access
  • Local HTTP API for UI and scripts
  • Web UI for search + chat

Developer experience

  • pnpm dev runs ingest + reindex, starts API + Web, and opens the app.
  • Set CHATINDEX_DEV_SKIP_INGEST=1 to skip ingest on subsequent runs.

How it works (short)

  1. Ingestion writes normalized data into SQLite
  2. Indexer builds per-session CTree JSONs
  3. Retrieval uses FTS + tree traversal to return evidence
  4. Responses include citations to message spans

Status

Beta. Expect changes as the plugin system and tests mature.

Docs

  • Architecture: docs/architecture/overview.md
  • Config: docs/config.md
  • CLI: docs/cli/README.md
  • MCP: docs/mcp/tools.md
  • Ops: docs/ops/runbook.md

OSS principles

  • Local-first data flow
  • Clear module boundaries
  • Deterministic retrieval and reproducible outputs
  • Redaction before any LLM calls

Why open source

ChatIndex is local-first by design. There is no hosted offering today; if that changes, this project will remain fully open for self-hosting.

Roadmap

See ROADMAP.md.

Support

See SUPPORT.md.

Trademarks

See TRADEMARKS.md.

License

Apache-2.0

About

Local coding-session search with SQLite, citations, a CLI, MCP server, and HTTP API. Prototype.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages