11# Kai: The Universal Brain
22
3- ## 1. Overview & Vision
3+ ** Version:** 1.2.0
4+
5+ Grea## 1. Overview & Vision
46
57Kai is a ** Universal Brain** within the OpenCode agent's ecosystem — a single entry point for intelligent orchestration.
68
@@ -240,6 +242,16 @@ This section is for engineers maintaining the Kai system itself.
240242- ** Kai Config** : Must be set to ` mode: "primary" ` and act as the sole decision-maker.
241243- ** Subagent Config** : All subagents must be set to ` mode: "subagent" ` . They should only respond to ` DIRECTIVE ` formats from Kai.
242244
245+ ### Agent Specification Standard
246+
247+ All agents MUST follow the specification defined in ` TEMPLATE.md ` . This ensures consistency across the agent ecosystem. Key requirements include:
248+
249+ - ** Required Sections** : Core Principles, Input Requirements, Execution Pipeline, Output Format, Performance Targets, Error Handling, Limitations, Completion Report
250+ - ** Subagent-Only Sections** : When to Use/When to Escalate, How Kai Uses This Agent
251+ - ** Optional Sections** : Agent Interactions, Terminal UX Spec, Quality Checklist
252+
253+ See ` TEMPLATE.md ` for the full specification template.
254+
243255### Communication Protocol
244256
245257Kai communicates with subagents using structured formats to ensure parsing reliability.
@@ -293,8 +305,9 @@ Agent temperature values control creativity vs. determinism. The ecosystem uses
293305| Temperature | Agents | Rationale |
294306| :---------- | :---------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------ |
295307| ` 0.1 ` | @developer , @reviewer , @tester , @devops , @research , @fact-check , @explorer , @quick-reviewer , @dependency-manager , @postmortem | Deterministic tasks — coding, testing, verification. Precision is critical; creativity is not. |
296- | ` 0.2 ` | @kai , @engineering-team , @architect , @doc-fixer , @executive-summarizer , @refactor-advisor | Balanced tasks — orchestration, design, analysis. Some creativity needed for problem-solving, prioritization, and persona expression. |
297- | ` 0.3 ` | @docs | Creative tasks — technical writing. Higher temperature produces more natural, varied prose. |
308+ | ` 0.15 ` | @performance-optimizer | Analytical tasks — performance analysis requires measured, data-driven approaches. |
309+ | ` 0.2 ` | @kai , @engineering-team , @architect , @doc-fixer , @executive-summarizer , @refactor-advisor , @security-auditor , @integration-specialist | Balanced tasks — orchestration, design, analysis, security. Some creativity needed for problem-solving, prioritization, and persona expression. |
310+ | ` 0.3 ` | @docs , @accessibility-expert | Creative tasks — technical writing, accessibility design. Higher temperature produces more natural, varied prose. |
298311
299312### Terminal UX Spec
300313
@@ -662,15 +675,19 @@ PIPELINE HEALTH DASHBOARD (Conceptual)
662675| `@tester` | Specialist | Test automation & QA | < 20 min | 45 min |
663676| `@docs` | Specialist | Technical writing | < 20 min | 45 min |
664677| `@devops` | Specialist | CI/CD & Infrastructure | < 30 min | 60 min |
678+ | `@security-auditor` | Quality | Security vulnerability scanning | < 18 min | 30 min |
679+ | `@performance-optimizer`| Quality | Performance analysis & optimization | < 19 min | 35 min |
680+ | `@integration-specialist`| Quality | API design & stub generation | < 18 min | 35 min |
681+ | `@accessibility-expert` | Quality | WCAG compliance & accessibility | < 15 min | 30 min |
665682| `@research` | Research | Deep-dive investigation | Variable | Variable |
666683| `@fact-check` | Research | Claim verification | < 15 min | 30 min |
667- | `@explorer` | Fast-Track | Codebase exploration & navigation | < 5 min | 7 min |
668- | `@quick-reviewer` | Fast-Track | Small code reviews | < 5 min | 7 min |
669- | `@doc-fixer` | Fast-Track | Documentation fixes | < 5 min | 7 min |
684+ | `@explorer` | Fast-Track | Codebase exploration & navigation | < 5 min | 7 min |
685+ | `@quick-reviewer` | Fast-Track | Small code reviews | < 5 min | 7 min |
686+ | `@doc-fixer` | Fast-Track | Documentation fixes | < 5 min | 7 min |
670687| `@dependency-manager` | Fast-Track | Package updates | < 10 min | 15 min |
671- | `@postmortem` | Learning | Failure analysis & prevention rules | < 5 min | 10 min |
672- | `@refactor-advisor` | Learning | Tech debt detection & health scoring | < 9 min | 15 min |
673- | `@executive-summarizer` | Utility | Leadership briefings | < 5 min | 7 min |
688+ | `@postmortem` | Learning | Failure analysis & prevention rules | < 5 min | 10 min |
689+ | `@refactor-advisor` | Learning | Tech debt detection & health scoring | < 9 min | 15 min |
690+ | `@executive-summarizer`| Utility | Leadership briefings | < 5 min | 7 min |
674691
675692---
676693
@@ -680,13 +697,22 @@ Each agent file uses semantic versioning independently. The ecosystem version is
680697
681698```yaml
682699VERSIONING:
700+ ecosystem_version: "1.2.0"
683701 strategy: "Semantic versioning (MAJOR.MINOR.PATCH)"
684702 scope: "Per-agent + ecosystem-level"
685703
686704 when_to_bump:
687705 MAJOR: "Breaking changes to handoff schema or agent interface"
688706 MINOR: "New capabilities, new agents, new sections"
689707 PATCH: "Bug fixes, typo corrections, clarifications"
708+
709+ v1.2.0_changes:
710+ - "Expanded Quality Agents: @security-auditor, @performance-optimizer, @integration-specialist, @accessibility-expert"
711+ - "Added TEMPLATE.md for agent specification standard"
712+ - "Added Agent Interactions sections to all agents"
713+ - "Added How Kai Uses This Agent sections to all agents"
714+ - "Added .kai directory permissions to all agents"
715+ - "Standardized version to v1.2.0 across all agents"
690716```
691717
692718---
0 commit comments