Install Corpus

Search authoritative sources locally.

View releases
Supported platforms
macOS (Apple Silicon and Intel)
Linux (x86_64)
Install location
~/.corpus/bin
Shell path configured automatically.
Verify installation
corpus --version
Latest stable: v0.4.1

FAQ

What is Corpus?

Corpus is a local search engine for you and your coding agent. Add a collection from the Corpus Library and search it from your terminal.

How do I search my first corpus?

Pick a published corpus in the Library and run its corpus add command. Use corpus list to find the attached corpus and corpus search --help for the search syntax.

Can I use Corpus with my agent?

Yes. An agent with terminal access can run the Corpus CLI. Open the prompt tab above, copy the setup prompt, and paste it into your agent.

Can I search offline?

Yes, when the data needed for the search is already on your machine. Corpus may fetch missing data over the network for a corpus added from a remote source.

What data does Corpus send?

The daemon sends usage metrics by default. With telemetry enabled, it also sends search text and timestamps. You can turn both off by setting telemetry.enabled to false and restarting the daemon. See the Privacy Policy.