The fleet's local documentation index

Ask the documentation anything.

Cortex reads the markdown in every repository once, keeps it fresh as commits land, and answers in seconds with citations to the file and section.

Illustration: a vast library reading hall with tiers of shelves, one glass globe lamp glowing violet beside an open book on a long reading table.

Internal to Renkara. Cortex is a tool Renkara Media Group builds and runs for itself. It is not for sale, and there is nothing to buy or join.

The film · 1:00

Someone asked a plain question about a release, and the answer was already written down.

Cortex answers from what the team wrote down, shows its sources, and says so when the answer isn't there.

Music and on-screen text, no narration; the captions describe the music and sound. Cortex's own screens with fictional StrataForge Robotics documents: the Search, Status, and Ask pages, two real questions, and one real commit were done in the real app on the demo data. The chunk pour and the page split are drawn from Cortex's own chunker, and the picture of what leaves the machine is a drawing, marked as one.
Read the film’s text version

Title: Cortex. Ask the documentation anything. 2026. A bright, energized electronic score runs under the whole film, with a soft tick or hit on each action.

The hook: “Someone already wrote it down.” Over Cortex’s own Search page, ranked hits for a question about a robot rejoining the mesh, under a line that says the data is fictional demo data from StrataForge Robotics. Then, “Finding it is the hard part.”

Internal: “Internal to Renkara.” Cortex’s Status page, with its Repos, Files, and Chunks tiles ringed in turn: 5, 31, and 106. Then, “Not for sale.”

The index: “Markdown, cut into chunks.” One hundred six marks pour into five lanes, four repositories and a loose folder, each lane’s count climbing until the line reads “106 chunks · 31 files · 4 repositories and a folder.”

A commit: “Commits, checked every 30 seconds.” One real commit to one runbook: the Status page shows its new Last SHA, “New commit 08e1f12 · 1 of 7 files re-read”, and the four Indexer Events of that check, with the one file it re-read and the repository’s tick ringed.

Chunks: “Split at the headings.” A page from the OTA Oversight documents, drawn as Markdown, is cut at its headings into five chips, each with its heading trail and its token count, as Cortex’s chunker cuts it. Then, “Each one knows where it came from.”

Ask: As the beat drops: “Ask in plain words.” The question, “Who has to approve an OTA release before it ships?”, types in over a line that reads “Fast mode · dom-ota-platform”. Then, “Six closest passages.”: the real Ask page lists them with their scores, the best 0.603, each ringed in turn. “Then a short answer.” Claude Haiku, asked for three sentences at most, answers.

Citations: “Cited to the file and section.” The answer cites one section, OTA Oversight review > Who reviews, after each of its two sentences, ringed in the answer and shown large with “× 2”. Then, “Model and tokens, on the page.”: the footer reads the model, the mode, and the tokens in and out.

Not in the index: As the beat drops again: “Ask what nobody wrote down.” The question, “Which cloud region hosts the RoboMesh-5 build servers?”, types in over “Sonnet mode · every repository”, and twelve weak passages come back, the best scoring 0.360. “The prompt tells it to say so.” shows the prompt’s own sentence, with the words “no score cutoff · the model decides”. Then, after a full second of only music, the real answer, “Not in the index.”, ringed, and “It says so.”

What leaves: “What leaves the machine.” A drawing, labeled an illustration: Markdown, the Cortex service, and the index sit in a dashed box marked as this machine, and three wires leave the service, “text to embed” to Voyage, “question and passages” to Anthropic, and “service logs” to Chronicle. “The index stays put.” with a lock on the index, which has no wire out.

The end: “Ask. Cite. Admit.” Then the Cortex mark, the name, “Ask the documentation anything.”, and the site’s address, on the final chord.

Features

One index over everything the team has written down.

Cortex finds every git repository under the folders it watches, embeds the markdown, and keeps the index current by following commits. A small web app and seven MCP tools search it and answer questions over it. These are the things it does today.

Follows the commits, re-reads only what changed

A live window on the indexer

The Status page shows each repository's files, chunks, last commit, and last tick, and streams indexer events over a WebSocket while a reindex runs.

Finds every repository
Cortex walks its scan roots and treats each git repository as a unit. It indexes the markdown in it (.md, .markdown, and .mdx). Loose markdown outside any repository is picked up by a throttled folder scan.
Chunks that follow the headings
Documents split by heading first, then to about 500 tokens with 50 tokens of overlap. Code fences are never cut in half and tiny pieces merge into their neighbor. Every chunk keeps its heading trail, such as Storage and compression > Upload rules.
Mistakes stay small
A file that fails is logged and skipped. A repository that fails is retried on the next tick. A bad document never takes the web app down.
Cortex's Status page: tiles for repos, files, chunks, Milvus, embedder, and last tick, and a table of indexed repositories with file counts and last commit.Cortex's Status page: tiles for repos, files, chunks, Milvus, embedder, and last tick, and a table of indexed repositories with file counts and last commit.
Status: what is indexed, and when each repository last changed.

Only what changed

Every 30 seconds Cortex checks each repository's HEAD. An unchanged repository is skipped. A changed one costs one git diff: added and modified files are re-embedded, and deleted or renamed files lose their old chunks.

Illustration with example data: four steps, Watch, Index, Retrieve, and Answer, with Answer lit. The answer says two OTA Oversight reviewers must sign every release, and a citation chip names the repository dom-ota-platform, the file docs/oversight-review.md, and the section OTA Oversight review > Who reviews.Illustration with example data: four steps, Watch, Index, Retrieve, and Answer, with Answer lit. The answer says two OTA Oversight reviewers must sign every release, and a citation chip names the repository dom-ota-platform, the file docs/oversight-review.md, and the section OTA Oversight review > Who reviews.

Illustration, not the Cortex app, with example data. Four steps light in turn. In Watch, a line of checks 30 seconds apart ends with a new commit, the HEAD of dom-ota-platform changes, and one markdown file, docs/oversight-review.md, is listed as modified. In Index, that page is cut at its headings into five chunks, each labeled with its heading trail and a token count. In Retrieve, a question about who approves an OTA release brings six scored chunks, the top two highlighted. In Answer, two sentences end with a citation chip: repository, file, and section.

Find by meaning, answer with sources

Search by meaning

Chunks are embedded with Voyage's voyage-context-4 (1,024 dimensions) and searched by cosine similarity in Milvus. Filter to one repository, or to a path pattern through the MCP tool.

Reference libraries
Beside the repository index, Cortex serves reference search over official cloud-vendor documentation: dense and keyword candidates fused, then reranked, with passages that carry their source URL and retrieval date.
Cortex's Search page: a query about a robot rejoining a mesh after a cell splits, with ranked hits showing repository, path, section, and similarity score.Cortex's Search page: a query about a robot rejoining a mesh after a cell splits, with ranked hits showing repository, path, section, and similarity score.
Search: ranked passages by meaning, with repo, path, section, and score.

Ask, with citations

Ask retrieves twelve chunks and has Claude Sonnet answer from them alone. The prompt asks the model for a [repo:path#section] citation after every claim, and the page lists the ones it wrote. Fast mode uses Claude Haiku with six chunks and at most three sentences.

Shows its work
The Ask page lists the retrieved chunks with their scores before the answer, then the citations it used and the model, mode, and token counts.
Cortex's Ask page: a question about how Engram Fabric decides how often to record, the twelve retrieved chunks with their scores, and a cited answer in two sections with citation chips.Cortex's Ask page: a question about how Engram Fabric decides how often to record, the twelve retrieved chunks with their scores, and a cited answer in two sections with citation chips.
Ask: the question, what was retrieved, and an answer that cites file and section. Enlarge to see the full screen.

Says so when it does not know

The answer prompt tells the model to reply Not in the index. when the retrieved text does not contain the answer, and never to invent a path, an API, or a version.

Cortex's Ask page answering Not in the index after retrieving twelve unrelated chunks.Cortex's Ask page answering Not in the index after retrieving twelve unrelated chunks.
When the documents do not say, Cortex says so instead of guessing.

Local by design, with a clear line around what leaves the machine

Local only, one user
The backend binds to 127.0.0.1 and has no authentication layer, by design. It serves one person on one machine, and nothing on the network can reach it.
Sensitive material kept out
Repositories on a built-in exclusion list, or named in an environment variable, are never discovered. Files whose paths contain sensitive words are skipped. Every tick sweeps the index and deletes any chunk that matches.
What does leave the machine
Chunk text goes to Voyage to be embedded. A question and its retrieved chunks go to Anthropic to be answered. The service's logs go to Chronicle. The index itself stays in the local Milvus.
How it works

From a commit to a cited answer

  1. Watch

    Every 30 seconds Cortex compares each repository's HEAD with the last one it indexed.

  2. Index

    Changed markdown is chunked by heading, embedded, and written to the local Milvus collection. Removed files lose their chunks.

  3. Retrieve

    A question is embedded and the closest chunks come back, optionally limited to one repository.

  4. Answer

    Claude answers from those chunks only, cites file and section, or says the answer is not in the index.

Accessibility

Built so everyone can use Cortex.

Cortex's web app is small (three screens), and on 10/29/2026 it was scanned with axe-core in a real browser in light and dark. That scan found real problems, which were fixed the same day. Here is what the product supports and what we have actually checked. We do not claim a WCAG conformance level for the product.

  • Partly supported

    Keyboard operation

    The first Tab stop is a skip link that becomes visible when focused. Tab then reaches all 11 controls on the Status page in order (three nav tabs, the theme toggle, Force Reindex All, and five Reindex buttons), each with a visible focus indicator, before wrapping back to the skip link, and Search runs from the keyboard with Enter. Ask submits with Ctrl or Command and Enter.

  • Partly supported

    Screen reader landmarks and labels

    axe-core finds no violations in the app, including names, labels, table headers, landmarks, one h1, and heading order. The app has not been used with a screen reader, and streaming answers are not announced as they arrive.

  • Supported

    Contrast in light and dark

    Text, buttons, badges, and the wordmark clear 4.5:1 in both themes. A scan on 10/29/2026 found white text on the accent at 4.3:1 in light and 3.0:1 in dark, a green badge at 3.0:1, accent-colored scores at 3.7:1, and status text that faded below 4.5:1 while pulsing; all were fixed.

  • Supported

    Reduced motion

    With the reduced-motion setting on, animations and transitions in the app collapse to about a hundredth of a millisecond, and the one animated element, a pulsing dot on the events list, animates a dot rather than the text.

  • Partly supported

    Text resize and zoom

    The layout reflows without sideways scrolling at 640 and 320 pixels wide, which is a 1280-pixel window zoomed to 200 and 400 percent. Text sizes are set in pixels, so a larger default font size chosen in the browser settings does not enlarge them; browser zoom does.

  • Partly supported

    Mobile and touch

    Status, Search, and Ask fit a 375-pixel phone screen with no sideways page scroll, in both themes. Their controls are 32 to 37 pixels tall, under the 44 pixels the rest of the fleet aims for.

Tech specs

Under the hood

Cortex technical specification
Backend
  • FastAPI on Python 3.12, bound to 127.0.0.1 (port 3445), no authentication layer
  • An asyncio indexer that polls every 30 seconds; per-file and per-repository fault isolation
  • State kept in a local file (repository, last commit, counts); git diffs drive incremental updates
  • Service logs ship to Chronicle
Index and models
  • Milvus 2.4 standalone: collection cortex_docs, HNSW (M=16, efConstruction=200), cosine, 1,024-dimension vectors
  • Voyage voyage-context-4 embeddings; BGE-M3 runs locally when selected by setting
  • Chunking: 500-token target, 50-token overlap, 100-token merge floor; headings first, code fences kept whole
  • Answers: Claude Sonnet 5.5 (twelve chunks) or Claude Haiku 4.5 in Fast mode (six chunks, three sentences); the system prompt is cached
  • Reference search: dense plus keyword retrieval, rank fusion, and a reranker, with cited passages
Web app
  • React 19, TypeScript (strict), and Vite; three screens: Status, Search, and Ask
  • Streaming answers; light and dark themes; keyboard shortcut Ctrl or Command with Enter to ask
  • Scanned with axe-core on every captured state (1920 pixels) and on each screen at 375 and 1440 pixels, in light and dark
MCP server
  • A Python stdio server with seven tools, all read-only
  • A thin client of the local backend, relayed to agent sessions by Roost
Privacy
  • Binds to localhost; one user, one machine
  • Sensitive repositories and paths are excluded at discovery, at listing, and by a sweep on every tick
  • Text leaves the machine only for embedding (Voyage), answering (Anthropic), and logs (Chronicle)
Stands in for

Grepping every repository for the same answer, Asking a teammate where the doc is

Works with

Part of the Renkara fleet

MCP tools

Built for agents as well as people

Agents search, ask, browse, and check the index through Cortex's MCP tools. They are read-only: nothing an agent calls can change the index or a repository.

Search and ask

  • search
  • ask
  • search_reference

Browse the index

  • list_repos
  • list_files
  • get_file

Health

  • stats
FAQ

Questions people ask

Is Cortex available to other teams?

No. Cortex is internal to Renkara and is not offered for sale. This site shows what it does and how it is built. Write to fleet@renkara.com with questions.

Does it index source code?

No. Cortex indexes markdown documents only: the files ending in .md, .markdown, or .mdx in each git repository.

Where does my text go when I ask a question?

The question is embedded by Voyage, and the question with the retrieved chunks is sent to Anthropic, which writes the answer. The index and its vectors stay in a local Milvus. Cortex's service logs go to Chronicle.

Can the answer be wrong?

Yes. The model is told to answer only from the retrieved text and to cite it, and to say Not in the index. otherwise, but it is still a language model. Read the citations.

Is the data in the screenshots real?

No. Every screenshot is a capture of the running app against a small fictional documentation set for StrataForge Robotics, a made-up company, indexed into a throwaway collection.

Contact

Questions about this tool?

Write to Renkara Media Group and a person will answer.