Use case · 6 min read
How to set up a knowledge base with Osaurus.ai
Set up a local AI knowledge base on your Mac in two minutes. Your folder is indexed in place - nothing uploaded, no account, originals never touched.
Ask a standard AI model for your office Wi-Fi password and it won't know. Ask it how long your company takes to process a refund - same answer. Models can't see your documents unless you connect them.
Osaurus Knowledge fixes that. You point it at a local folder - markdown, PDFs, code, whatever you've got - and your agent can read it. Indexing happens on your Mac. Nothing is uploaded, nothing is copied to a server, and your original files are never altered or moved.
Here's the whole setup. It takes about two minutes.
Why bother connecting your own files?
Because most of the questions people actually want to ask an AI are about their own work.
Not "write me a poem about autumn". More like: what's our refund window, what did we agree in the client brief, which script handles the nightly export, what's the guest Wi-Fi password. Every one of those lives in a document somewhere on your machine, and a general-purpose model has no idea it exists.
The usual answer is to upload everything to a cloud service and hope for the best. That's fine for a recipe. It's less fine for HR policies, client contracts, unreleased product specs, or anything covered by an NDA.
Osaurus takes the other route: the files stay where they are, the indexing happens locally, and the model runs on your hardware. Your data does not leave your Mac.
What you need before you start
Not much:
- Osaurus installed on an Apple Silicon Mac running macOS 15.5 or later
- A folder on your machine with the documents you want the agent to read
That's it. No account, no API key, no subscription. If you haven't installed it yet, grab it from the download page.
Getting your files ready
For this example we're using a folder called Company Policies containing two markdown files - one for refund guidelines, one for guest Wi-Fi access. Small, boring, exactly the kind of thing that's annoying to look up and perfect for a knowledge base.
Osaurus indexes files in place. Your originals aren't altered, moved, duplicated or sent anywhere. If you edit a document later, it's still your document in your folder - Osaurus is just reading it.
You don't need to reorganize anything first. A folder that already makes sense to you will make sense to the agent.
How do you add a knowledge collection in Osaurus?
Five steps.
- Open Settings → Knowledge. Click the gear at the bottom of the strip on the left edge of the window, or press ⌘ ,.
- Click Add Collection. Give it a clear name, like Company Policies, and pick your folder.
- Choose which agents can use it. A window asks which agents should be able to search this collection. Check the ones you want. You can change this later in each agent's Abilities → Knowledge.
- Wait a moment while Osaurus reads the folder. It's quick, and it updates automatically when your files change.
- Make sure the agent's Tools switch is on. Agents look things up using tools. If Tools is off, the Knowledge card says "Inactive while Tools is off".
Which agent should get the collection?
Each agent only sees the collections you give it. That's deliberate: your HR folder doesn't need to be visible to the agent that drafts social posts.
A few rules of thumb:
- Give it to the agent that answers those questions. A support agent gets the support docs. A finance agent gets the price lists.
- Ask that agent, not Osaurus. The Orchestrator, the assistant every new chat starts with, doesn't search collections itself. Pick your agent in the chat before you ask.
- Share it with a project if many chats need it. Give a collection to a project and every chat in that project can search it, whichever agent you're talking to.
Testing that it worked
Open a chat with an agent that has the collection, and ask something that can only be answered from your documents. For example:
Two questions, two different source files, one prompt.
The agent searches the knowledge collection, pulls the password and the refund policy directly from the local markdown files, and answers in seconds. You can see it searching - it's not guessing, and it's not making anything up from training data. It's reading your files. When it mentions a document, the file name becomes a link you can click to open it.
That's the test worth running on any knowledge base: ask something the model could not possibly know otherwise. If it answers correctly, your collection is wired up properly.
What to put in a knowledge base
Once it's working, the obvious question is what else to point it at. Things that work well:
- Team SOPs and internal policies - the questions people ask in Slack every week
- Project documentation and technical specs
- Client guides, onboarding packs, style guides
- A codebase, so the agent can answer questions about how something actually works
- Meeting notes and research, if you keep them as files
The pattern is: anything you currently find by searching, opening and scrolling. If you'd have to go and look it up, it belongs in a collection.
Osaurus reads Markdown, plain text and code, PDF, Word, PowerPoint, Excel, and CSV files. A collection can hold up to 5,000 files, so for a big archive, split it into a few smaller collections. Separate collections per topic, each with a clear name, also make it easier to give each agent just what it needs.
The privacy bit, plainly
Indexing and search happen on your machine.
- Files are indexed in place - not copied, not moved, not modified
- Search runs on your Mac, and nothing is uploaded to build the index
- Agents can only search collections you've given them
- No account is required to use any of it
Pair it with a local model and nothing leaves your Mac at all. That's the part that makes a knowledge base genuinely useful at work rather than a compliance problem: you can point it at contracts, HR documents, unreleased plans and client material, because there's no processing happening anywhere but your laptop. If you use a cloud model, the parts of a document the agent reads during a chat are sent with your message.
Osaurus is free and MIT licensed. The source is on GitHub if you want to check any of the above rather than take our word for it.
Your agent, with a memory of your work
A knowledge base turns Osaurus from a model that knows general things into an assistant that knows your things. It reads your files, executes your tools, and remembers your work - all offline with a local model.
Set up one collection today. Start with the folder you open most often.
Download Osaurus — free, MIT, macOS 15.5+.
New posts, in your inbox
Subscribe to get new blog posts and product updates by email.