{"id":47115432,"url":"https://github.com/kitplummer/keiro","last_synced_at":"2026-03-12T18:58:23.592Z","repository":{"id":342476864,"uuid":"1174091929","full_name":"kitplummer/keiro","owner":"kitplummer","description":"CAO (Cooperative Autonomous Organization) engine built on Jido 2.0 — first instance operates LowEndInsight","archived":false,"fork":false,"pushed_at":"2026-03-06T04:19:42.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-06T09:30:03.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kitplummer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-06T04:01:06.000Z","updated_at":"2026-03-06T04:19:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kitplummer/keiro","commit_stats":null,"previous_names":["kitplummer/keiro"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kitplummer/keiro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitplummer%2Fkeiro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitplummer%2Fkeiro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitplummer%2Fkeiro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitplummer%2Fkeiro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitplummer","download_url":"https://codeload.github.com/kitplummer/keiro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitplummer%2Fkeiro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30439121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-12T18:58:22.926Z","updated_at":"2026-03-12T18:58:23.586Z","avatar_url":"https://github.com/kitplummer.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keiro\n\n**Corporate Agentic Organization (CAO) framework.**\n\nKeiro (経路, \"path/route\") is an orchestration framework for autonomous multi-org agent systems. It manages the full lifecycle of agentic work — task routing, governance gates, budget enforcement, self-improvement loops — across business-function orgs (engineering, operations, finance, GTM, legal).\n\nBuilt on Elixir/BEAM with [Jido](https://jido.run) as the agent runtime. Polyglot at the agent boundary via [A2A](https://google.github.io/A2A/) and [MCP](https://modelcontextprotocol.io/) protocols.\n\n## Architecture\n\n```\nKeiro CAO\n├── Orchestrator (Elixir/Jido)\n│   ├── Governance ── budget caps, approval gates, autonomy dial\n│   ├── TQM ──────── pattern detection, self-improvement beads\n│   └── Router ────── cost-aware model selection (3-tier cascade)\n│\n├── Protocol Boundaries\n│   ├── A2A ── agent-to-agent (polyglot: any language, any runtime)\n│   └── MCP ── tool/context interface (standardized tool discovery)\n│\n├── Orgs (accreted as the business grows)\n│   ├── Engineering ── planner, implementer, debugger, security, archivist\n│   ├── Operations ─── deployer, monitor, responder (SRE)\n│   ├── Finance ────── budget enforcement, cost tracking, ledger\n│   └── ... ─────────── GTM, Legal, Product (future)\n│\n└── Memory\n    ├── Beads ── distributed task graph, agent mailboxes\n    ├── Dolt ─── version-controlled SQL (branch-per-agent)\n    └── Git ──── repo state, worktrees, audit trail\n```\n\n## Why\n\nExisting agentic frameworks make you choose: easy orchestration (Python/LangGraph) or robust concurrency (build your own). None provide governance, budget enforcement, or multi-org coordination as first-class primitives.\n\nKeiro's thesis:\n- **BEAM is the right runtime for agent orchestration.** Lightweight processes, supervision trees, fault isolation, preemptive scheduling — what Python frameworks are rebuilding from scratch, Erlang/OTP has had for 30 years.\n- **Agents should be polyglot.** The orchestrator manages governance and routing. Agents are services that speak A2A/MCP. Claude Code, a Python crew, a Rust binary — all participate equally.\n- **Governance is not optional.** Budget caps, approval gates, and autonomy dials are architectural primitives, not afterthoughts.\n- **Failure is a signal, not a bug.** OTP-inspired supervision: structured outcomes (Completed, Deferred, Decomposed, Blocked, Retryable, Escalated), negative context injection, self-repair via TQM.\n\n## Status\n\n**Phase 0 — Foundation.** Jido runtime integrated. ADRs migrated from prior Rust prototype.\n\nThe first Keiro instance operates [LowEndInsight](https://lowendinsight.dev) — an open-source software risk analysis product. LEI is the product of this CAO: built, deployed, and operated by its agents. It serves as the das blinkenlights — proof the system works end-to-end, from engineering through delivery.\n\n## ADRs\n\nArchitectural decisions that define Keiro. Migrated from the prior prototype; the thinking transfers, the implementation is new.\n\n| ADR | Summary |\n|-----|---------|\n| [Agentic Corporation Framework](docs/adr-agentic-corporation-framework.md) | Multi-org autonomous business with CEO layer and autonomy dial |\n| [Cost-Aware Model Routing](docs/adr-cost-aware-model-routing.md) | 3-tier cascade: rule-based, confidence-checked, learned |\n| [TQM Self-Improvement](docs/adr-tqm-self-improvement-architecture.md) | Pattern detection, remediation beads, self-repair |\n| [Supervision \u0026 Failure-as-Learning](docs/adr-supervision-and-failure-as-learning.md) | OTP-inspired supervision with structured outcome taxonomy |\n| [Context Evaluation Lifecycle](docs/adr-context-evaluation-lifecycle.md) | CDLC: generate, evaluate, distribute, observe context quality |\n| [Aggressive Task Decomposition](docs/adr-aggressive-task-decomposition.md) | 30K token budgets force smaller, parallelizable, retryable tasks |\n| [Delivery \u0026 SRE Ops Org](docs/adr-delivery-and-sre-ops-org.md) | Deploy, incident, maintenance pipelines with burn-in governance |\n| [Multi-Org Beads Namespaces](docs/adr-multi-org-beads-namespaces.md) | Prefix-partitioned task graph with cross-org references |\n| [Observability \u0026 Continuous Ops](docs/adr-observability-and-continuous-operations.md) | Structured telemetry, health checks, anomaly classification |\n| [Layered Security Review](docs/adr-layered-security-review.md) | Security + CISO agents with blast-radius analysis |\n| [Untrusted Input Defense](docs/adr-untrusted-input-defense.md) | Defense against prompt injection and input manipulation |\n\n## Getting Started\n\n```bash\ngit clone \u003crepo-url\u003e \u0026\u0026 cd keiro\nmix deps.get\nmix compile\nmix test\n```\n\nRequires Elixir 1.17+ and Erlang/OTP 26+.\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitplummer%2Fkeiro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitplummer%2Fkeiro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitplummer%2Fkeiro/lists"}