Search to the source.
Index a local repository and find files, symbols, and line ranges you can open at the source. Keyword search works offline by default and needs no model.
TERMINAL / SEARCH
$ midnight index
$ midnight search "retry budget"Find code. Recall context.
Local code search and explicit memory for AI agents, in a single binary.
Index a local repository and find files, symbols, and line ranges you can open at the source. Keyword search works offline by default and needs no model.
$ midnight index
$ midnight search "retry budget"Save a project decision or a source explicitly, then recall it in a later session. Midnight stores only what you or your agent deliberately save.
$ midnight recall \
--scope project:payments --query retryRegister Midnight as an MCP server in Codex or Claude Code so your agent can search repositories and recall saved context.
$ midnight connect codex --scope user
$ midnight connect claude-code \
--scope project