Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Knowledge Base

Knowledge documents live in knowledge/ as Markdown files. They teach the agent about your domain — environment, baselines, procedures, patterns.

knowledge/
├── environment.md
├── baselines.md
├── team.md
└── response-procedures.md

Document Format

# Knowledge: Normal Traffic Patterns
 
- Weekday: 2,000-4,000 RPS (peak 12-2 PM EST)
- Weekend: 800-1,500 RPS
- Error rate: < 0.05% on api-gateway
- Deployment windows: 10-11 AM, 3-4 PM (brief spikes expected)
- Black Friday: 15,000-25,000 RPS (sustained 12 hours)

The first # Heading becomes the title. The filename (without .md) becomes the document name/ID. Everything after the heading is the body.

Categories

Knowledge documents cover these categories:

CategoryWhatTypical Source
system_docsAPI endpoints, auth, response formatsAuto from connections
methodologyWhat the data means, how to interpret itAuthor writes
patternsKnown patterns worth detectingAuthor seeds, agent discovers
false_positivesKnown benign anomaliesAgent discovers, author approves
response_proceduresSOPs, escalation pathsAuthor writes
environmentInfrastructure layout, inventoryAuthor writes
baselinesWhat "normal" looks likeAuthor seeds, agent refines
teamContacts, preferences, escalation pathsAuthor maintains
incident_historyPast sessions, resolutionsAgent proposes
working_memoryAgent's persistent contextAgent maintains

On-Demand Loading

The agent starts each session with a compact KB index (~400 tokens for ~20 docs). Full documents are loaded via load_knowledge only when needed. Task agents load their own docs independently.

Learning Flywheel

The agent proposes knowledge updates via propose_knowledge:

  1. Agent discovers something the KB doesn't know
  2. Proposes an update (new doc or edit)
  3. Goes through approval policy (manual review or auto-approve per category)
  4. Next session starts smarter

Configure approval policies in the Admin UI.