Knowledge base
The knowledge base holds what Polylane learns about your system and the documents your team uploads. It is a git repository of markdown files, one repository for each workspace. Agents read it in every investigation. You can read and edit it in the console under Settings → Knowledge base.
What it holds
- Findings that agents save. When an investigation confirms a failure mode, a recurring pattern or an operational fact, the agent writes it to a file. The next agent then starts from that finding. Agents do not store preferences, unverified claims, or configuration that the topology already shows.
- Documents that you upload. Runbooks, postmortems, architecture notes and other reference documents. Agents search them before they act on a system that a document covers, and follow a runbook step when it applies.
- Instructions that you write. Standing guidance for Slack channels and repositories.
Upload documents
- Open Settings → Knowledge base.
- Select Upload, or drop files anywhere on the page.
- Optionally, type a folder, for example
runbooks/payments. - Select Upload.
You can upload Markdown (.md), text (.txt), PDF (.pdf) and Word (.docx) files, up to 10 MB each.
- Markdown and text files are kept as they are.
- PDF and Word files are converted to markdown. Polylane also writes a short description of each image in the file, up to twenty images, so agents can find what a diagram shows. Select Original on the document to download the file that you uploaded.
- A long document is split into numbered parts.
Each document starts with its title, a one-line summary, the file it came from, and who uploaded it. If a document with the same name exists in that folder, Polylane asks before it replaces it. When you delete a document, Polylane also deletes its original file.
Polylane refuses a document that looks like it holds a credential, such as an API key or a private key. Remove the credential and upload the document again.
A coding agent can upload a document with the uploadDocument tool. Connect it to https://mcp.polylane.com/apps, which serves that tool, with the same sign-in as the platform MCP server. On https://mcp.polylane.com/mcp, use the execute tool to call POST /v1/memories/documents instead.
How the repository is laid out
| Path | Written by | What it holds |
|---|---|---|
MEMORY.md | Polylane, each night | The index of what is known about the workspace. |
daily/ | Polylane, each night | One note for each day, with the patterns and signals of that day's threads. |
documents/ | You | The documents that you upload. Agents read them but do not change them. |
preferences/ | You | Files you edit to tell agents how your team works. |
| Other markdown files | Agents | One finding in each file, with the resource and the date in each entry. |
Each file starts with one line that says what it covers.
How it reaches a thread
MEMORY.md, the three most recent daily notes and the list of uploaded documents, each with its summary, appear in the briefing of every new thread. Agents clone the repository into the thread sandbox the first time the sandbox is used, and read it with grep or rg for anything the briefing does not show. Files saved after the briefing was made are in the repository when the agent looks.
When a turn ends, Polylane commits and pushes what the agent changed. If two changes conflict, the agent opens the files that Polylane names, keeps every fact that is still true, and removes the conflict markers.
Edit it yourself
Edit files under preferences/ to give agents standing guidance, and upload documents to documents/. Polylane rewrites MEMORY.md and writes the daily/ notes each night, so do not edit those. To record a finding from a thread, ask in plain words: "Save a note: checkout-api integration tests fail intermittently because the payment vendor's sandbox times out under parallel load, confirmed from pipeline logs showing 504 responses."