Agentic KB
Pillar 2
The Knowledge Layer

AI-Native Knowledge Operations

Make product direction, decisions, and context travel at the same speed as creation. AI-native knowledge ops for roadmaps, journeys, decisions, and cross-role handoffs. Vendor-neutral. No database. Lives in your repo.

Install in about a minute
Pillar 01 — The Operating Model

agentic-enterprise

The repository-backed operating model: governance layers, process loops, policies, and templates. Humans decide, agents execute, Git governs.

Pillar 02 — The Knowledge Layer

agentic-kb

The layered, vendor-neutral knowledge-ops spec with the /kb command — keeps humans and agents on the same page.

Pillar 03 — The Execution Layer

agentic-dev

The production-ready engineering loop that schedules tasks, resolves rebase conflicts, and verifies code via tests.

The Proof Strip

The quickest credible adoption story is not a bigger architecture pitch. It is one short path a team can run and inspect.

1. Install

Wire one harness into its documented native command or skill surface.

2. Scaffold

Create one anchor layer plus one adjacent shared layer with the same file contract.

3. Capture

Turn one source into a finding/topic update that another human can review.

4. Promote & Digest

Exercise the shared loop once so the governance story is visible, not implied.

5. Verify

Regenerate reports and run the repo-owned fixtures that prove the same path in CI.

GitHub as an Operating Backbone

If a team already runs on GitHub Issues, Projects, and pull requests, /kb setup can generate a generic governance profile instead of leaving adopters to invent the issue/project/PR rules themselves.

Issue Forms

Feedback, ideas, decisions, tasks, bugs, features, roadmap items, content updates, and governance changes get typed intake.

PR Discipline

The PR template ties changes back to tracker items, KB artifacts, validation, changelog impact, and safe review.

Governance CI

A workflow checks template syntax, unresolved placeholders, linked issues or explicit exceptions, version-impact policy, and skill presence.

Agent Parity

A repo-local tracker workflow skill teaches agents the same issue/project/PR rules that CI and reviewers enforce.

Setup also stages a path labeler and a manual checklist for native issue types, project/status fields, labels, milestones, branch protection, CODEOWNERS, parent/sub-issues, and required checks. The profile stays generic: no organization names, product-specific labels, or hardcoded project IDs.

The Real Problem

Your agents made you 10× faster at creating. Nothing made you faster at deciding. The bottleneck didn't move to design, quality, or testing.

It moved to convergence.

Creation vs. Decision Gap

Creation at agent speed. Decisions at human speed. That gap is where budgets burn, alignment erodes, and smart teams end up running in three directions at once.

Product Direction Bottleneck

Product direction is where the gap becomes painfully visible: roadmaps drift from delivery reality, journeys live in slides instead of source control, and stakeholder alignment depends on who saw the latest deck.

agentic-kb is the piece of the fix that puts roadmaps, journeys, decisions, ideas, goals, and context on the same rails as the output — so a human at any level can stay in the loop with a swarm of agents and a team of other humans, without becoming the bottleneck.

Why it's built this way

An architecture constructed for long-term ownership, simplicity, and zero friction.

🗂 No Database

Plain Markdown in a git repo. Your KB versions like code, reviews like code, diffs like code. If a folder can read it, this works.

☁️ No Cloud Backend

No SaaS. No auth. No infra. Your knowledge stays on your disk. If the vendor disappears tomorrow, your KB is still there.

🔓 No Vendor Lock-in

Claude Code and VS Code have marketplace/native plugin paths. OpenCode, Gemini, and Kiro get installer-backed native entrypoints. Codex uses the same repo contract via AGENTS.md plus a reusable kb skill.

🪶 Lean by Construction

One spec. One plugin with four reference skills. One reference agent. One installer. Install in about a minute. Rip it out in five if it's not for you.

Incremental Adoption Curve

You don't have to be "fully agentic" for agentic-kb to pay off. Same contract at every stage — the agent just does more of the filing work the higher you go.

1

Stage 1 — Capture Discipline

Human-only baseline. Just git + markdown + the agentic-kb directory contract. No agents required. You get audit trail, decision lifecycle, and cross-role handoffs for free, just by writing into the right files.

Automation: None
2

Stage 2 — Agent-Assisted Triage

The /kb evaluation gate fires on capture; agent proposes where things belong; humans approve before anything persists. The handoff surfaces stay yours.

Automation: Level 1
3

Stage 3 — Bounded Autonomous

Scheduled rituals, guarded auto-promote on confidence, exception escalation. Humans review only flagged items, not every line.

Automation: Levels 2–3

agentic-kb is the knowledge-ops layer of an agentic enterprise — it owns Strategy, Product Direction, Design, Delivery, Operations, and Learning artifacts (foundation, roadmaps, journeys, briefs, specs, decisions, findings, topics, reports, releases, incidents) and pairs cleanly with any repo-as-OS framework that owns the work-flow side (signals, missions, PRs, releases) — for example agentic-enterprise with its execution loop agentic-dev. Standalone is also a valid stop — capture-discipline-only is not a half-installed product.

Right move for most teams: Start at Stage 1, graduate when steady, never skip ahead.

Flexible layers, one command

A workspace is a layer graph, not a fixed ladder. Each layer has a name, a scope, a role, and a parent edge. Knowledge flows up via promote; context flows down via digest. Here is the most common shape — your graph can have fewer or more layers, and your anchor (the layer that holds .kb-config/) does not have to be personal.

anchor e.g. alice-personal contributor
promote →↓ promote ← digest↑ digest
team e.g. team-observability contributor
promote →↓ promote ← digest↑ digest
org e.g. engineering-org contributor
← digest↑ digest
company e.g. company-guidance consumer · read-down only

At least one contributor-capable layer is required. A personal anchor is recommended but not mandatory. promote and publish into a consumer layer are refused with a clear message.

any contributor layer team, org, …
─ publish ▶
that layer's marketplace reusable skills + agents

Marketplaces are cross-cutting, not a slot in the chain. Any layer can attach its own marketplace repo for skills it wants to share with that audience.

The Evaluation Gate

Applied at every persistence boundary. This is the system's immune system — nothing persists without earning its place.

  1. Does this strengthen a position?
  2. Does this inform a decision?
  3. Would you reference this again?
  4. Is this actionable?
  5. Does this already exist?
0/5 → Discard 1–2/5 → Finding Only 3+/5 → Finding + Topic + Decision

First-Class Building Blocks

Every primitive is a file with a contract. Layers opt in to the ones they need.

findings/

Dated, immutable snapshots. The evidence base.

topics/

Living positions. Updated in place with changelog.

decisions/

Open or resolved choices with evidence trail and stakeholders.

ideas/

Incubation objects. Seed → growing → ready → shipped.

notes/

Meeting and working notes — first-class, not chat noise.

tasks/

Focus and backlog with explicit creation and closure.

foundation/

Identity: who you are, your context, sources, stakeholders.

workstreams/

Parallel tracks with their own themes and active decisions.

roadmaps/

Phase/lane plans that reconcile customer value, plan truth, and delivery reality.

journeys/

User, customer, operator, or product flows that ground roadmap scope in lived experience.

delivery/

Briefs and specs that make direction executable without losing intent.

operations/

Release and incident records that feed learning back into the KB.

One command: /kb

The agent infers the layer and action from context. No subcommand memorization needed.

/kb [text] Capture + evaluate input
/kb review Process inbox items
/kb promote [file] [layer] Promote upward to parent layers
/kb digest [layer] Pull parent-layer changes
/kb digest connections Pull repo / tracker deltas
/kb note meeting [topic] Start a meeting note
/kb note retro [topic] Start a retrospective
/kb idea [text] Create new incubation idea
/kb develop [idea] Sparring session on idea
/kb decide [desc] Open decision tracking
/kb brief [title] Frame delivery intent
/kb spec [title] Open design contract
/kb release [title] Record rollout and rollback logs
/kb incident [title] Capture impact and follow-ups
/kb task Show focus items list
/kb start-day Morning briefing summary
/kb end-week Weekly summary builder
/kb present [topic] Generate HTML slides
/kb report progress [scope] Generate cross-source reports
/kb migrate layer-model Migrate legacy ladder → graph config
/kb setup Onboarding setup wizard

Two product-management subcommands ship with the same plugin and activate only after setup derives or you confirm their owning layer:

/kb roadmap Customer-value phase/lane roadmap (MD + HTML + JSON)
/kb journeys Author + render user/customer/operator journeys with extractable mocks

Product-Management Skills

The same marketplace install ships roadmap and journey skills next to the core. Setup proposes them when your role, goals, sources, or desired outputs imply roadmap or journey work; expert users can also add the config blocks manually. Same `/kb` surface, no second install.

/kb roadmap · kb-roadmap

Turns dense planning and delivery inputs into a customer-value roadmap: lanes, phases, confidence state, and traceability in one artifact. Emits Markdown, HTML, and JSON, with value-first headlines and explicit proposed/agreed/shipped status.

Stable setup-proposed skill · enable via roadmap: on the confirmed owning layer in .kb-config/layers.yaml

/kb journeys · kb-journeys

Authors hierarchical journeys (journey → phase → sub-journey → step) with entry/exit conditions, interfaces, and per-step readiness. Journeys become the product-management ground truth that roadmap items cite, review, and move forward.

Stable setup-proposed skill · enable via journeys: on the confirmed owning layer + journeys-template: in .kb-config/artifacts.yaml

Both skills share an authoring arc — ideate · discuss · review · refine — and treat the journey as the third party in every roadmap critique when both are enabled.

Decisions & ideas as first-class objects

Moving beyond plain text to structured planning primitives.

Decisions

Tracked with evidence trails, stakeholders, RACI, and due dates. Not buried in prose.

gathering-evidence → under-discussion → proposed → decided → archive

Ideas

Observations with novelty value get incubated. The agent plays devil's advocate via /kb develop.

seed → growing → ready → shipped | archived

Cross-agent portable

One source of skills and commands feeds every documented harness tier. The workflow stays the same even when the invocation surface changes.

Claude Code

.claude/skills/

VS Code Copilot

.github/skills/

OpenCode

.opencode/skills/

Gemini CLI

.gemini/commands/

Kiro IDE

.kiro/skills/

Codex CLI

.agents/skills/ + AGENTS.md

Marketplace/Native Plugin

Claude Code exposes a stable native /kb install path. VS Code Copilot Chat exposes a Preview path (chat.plugins.marketplaces) plus a stable installer fallback.

Installer-Backed Native Surface

OpenCode, Gemini CLI, and Kiro IDE get their documented command or skill entrypoint from scripts/install.

Compatible Skill Workflow

Codex CLI uses the same workspace contract through AGENTS.md plus the installed kb skill.

Get Started

Pick the installation flow that matches your developer setup.

Claude Code

/plugin marketplace add https://github.com/wlfghdr/agentic-kb
/plugin install kb@agentic-kb
/kb setup

VS Code Copilot Chat (Preview)

// user-level settings.json
"chat.plugins.marketplaces": [
  "wlfghdr/agentic-kb"
]
// install from Extensions view, then:
/kb setup
// Stable alternative:
// scripts/install --target vscode

Other Harnesses

git clone https://github.com/wlfghdr/agentic-kb
cd agentic-kb
scripts/install --target <harness> --global
# then: /kb setup

/kb setup walks you through name, role, workstreams, layer graph, branding, and optional integrations. See the README for the full per-harness install matrix.