Documentation Index
Fetch the complete documentation index at: https://docs.oktolabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Knowledge Graph
Chat context resets every session. The Knowledge Graph does not. Every decision, constraint, bug learning, and spec outcome consolidates into a per-board embedded graph database. When your agent starts work on a new ideation, it queries this graph before deciding anything. It finds prior decisions, detects contradictions, and traces supersedence chains — not from memory, from a durable graph.The problem it solves
When you build with AI agents across multiple sessions, three failure modes appear quickly:- Lost decisions. The agent re-decides something you already locked down two sprints ago, because the earlier decision only lives in a closed chat thread.
- Contradictions without notice. A new spec requirement silently violates a constraint established in a different spec. Nobody catches it until something breaks.
- Supersedence drift. You change an architectural decision. The agent keeps applying the old rule because it was never marked as superseded.
How it works
Each Pulse board has an embedded graph database stored at:Node types
The graph has 11 typed node types:| Node type | What it holds |
|---|---|
Decision | A locked design or architectural choice, with rationale |
Criterion | An evaluation axis used to make a decision |
Constraint | A hard boundary the implementation must not cross |
Assumption | A condition assumed true at decision time |
Requirement | A functional or non-functional requirement |
Entity | A named domain concept (service, model, user type, etc.) |
APIContract | A contract between components: endpoints, payloads, error shapes |
TestScenario | A scenario with evidence of pass/fail, linked to source code |
Bug | A defect with root cause and resolution |
Learning | A lesson from a bug, failed experiment, or retrospective |
Alternative | A rejected option, with the reason it was not chosen |
Relationship types
10 typed edge types connect nodes:| Edge | Meaning |
|---|---|
supersedes | This node replaces an earlier one. The old node is not deleted — the chain is preserved. |
contradicts | These two nodes are in tension. Contradiction detection surfaces this before the agent proceeds. |
derives_from | This node was derived from another (spec from ideation, decision from constraint, etc.) |
relates_to | General association |
mentions | A node references another in its content |
depends_on | This node cannot be implemented without the other |
violates | An implementation or decision crosses a stated constraint |
implements | A task or code path implements this requirement or contract |
tests | A test scenario validates this requirement or contract |
validates | A validation record confirms this node passed its evidence gate |
What the agent does with it
At every ideation and refinement, the agent is expected to query the KG before making decisions. The MCP tools it uses:Consolidation — how nodes get in
Agents do not write directly to the graph. They create artifacts in the standard Pulse pipeline (decisions, specs, validation records, bug conclusions). The consolidation pipeline picks those up from a SQLite queue and writes them to the graph as typed nodes. The typical consolidation flow:- Agent completes a spec evaluation or task validation.
- The core service writes a consolidation record to the queue.
- The background worker calls
kg_begin_consolidation→ adds node and edge candidates →kg_commit_consolidation. - The node is now queryable.
Health and diagnostics
The KG exposes a health view in the Pulse board UI (polls every 30 seconds) and via MCP:Summary
The Knowledge Graph is the layer that makes multi-session, multi-agent work coherent. Chat resets. The graph does not. Decisions, constraints, and learnings written today are queryable by any agent working on the same board tomorrow — or in three months, after a team change, after a model upgrade. It is the reason Pulse calls itself a control plane rather than a kanban board.Next steps
ADLC pipeline
How the six stages from Ideation to Validation feed the KG.
MCP setup
Connect your agent to start using KG tools in sessions.