Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

kaji

Latest version: v0.26.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
PyPI package Publisher: apokamo
18 Stars
1 Forks
6 Versions
320 Downloads
Python Repo language

Scan summary

kaji was last scanned on 28 Nov 2026 at version 0.26.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.26.0.
  • Downloads: 320 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.26.0 LATEST 28 Nov 2026 No rules fired
0.25.0 15 Nov 2026 No rules fired
0.24.0 20 Oct 2026 No rules fired
0.23.2 18 Oct 2026 Not shown
0.23.1 18 Oct 2026 Not shown

No rules fired in 0.26.0

Findings

Findings for v0.26.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.26.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

kaji

Language: English | Japanese

PyPI Downloads Python License

https://github.com/user-attachments/assets/b1e3fb2e-6b92-4798-8f4c-0227b0727ce1

Closed-loop agentic development for Claude Code, Codex, and Antigravity CLI.

kaji turns an issue into a resumable design -> implement -> review -> fix -> verify -> PR loop, with human-in-the-loop gates and artifact-backed verdicts. It is built for developers who want AI agents to do real work without turning the development process into a black box.

kaji means "rudder" in Japanese: the human keeps direction, agents do the rowing.

Why kaji

AI coding agents are powerful, but one-shot prompting is hard to govern. The missing layer is often the workflow around the agent: when to design, when to review, when to fix, when to stop, and when a human should decide.

kaji provides that layer.

  • Define the development process as workflow YAML.
  • Route each step to Claude Code, Codex, or Antigravity CLI.
  • Use bounded review/fix/verify loops instead of endless chat.
  • Capture decisions as structured verdict artifacts.
  • Resume from a specific step when work is interrupted.
  • Keep human approval at the points that matter.

Beyond vibe coding: kaji gives AI-assisted development a loop, a log, and a quality gate.

How kaji compares

kaji is intentionally narrower than a general-purpose agent platform or swarm framework. It focuses on making a repository's issue-to-PR development process explicit, bounded, resumable, and auditable across existing coding-agent CLIs. The comparison below is about each tool's primary abstraction, not a feature checklist.

Comparison kaji Ruflo (formerly claude-flow) OpenHands Claude Code subagents alone
Primary abstraction A repository-owned issue-to-PR development workflow An agent meta-harness for Claude Code and Codex A coding-agent runtime and SDK, with Agent Canvas as a control surface A specialized delegated agent inside a Claude Code session
Orchestration model Explicit workflow YAML with named steps and transitions; each step can route to Claude Code, Codex, or Antigravity CLI Routing, swarm topologies, plugins, loops, and shared memory Agent conversations, automations, and programmable SDK workflows; Agent Canvas can also run ACP-compatible agents The parent session delegates parallel or nested work to agents with separate contexts
Review convergence Explicit review -> fix -> verify cycles with iteration ceilings and defined exhaustion behavior Autonomous loops, consensus mechanisms, and reusable workflow plugins An experimental Critic can score work and run bounded iterative refinement; the SDK also supports custom loops Reviews can be composed with prompts, hooks, and delegated agents, but the subagent primitive does not prescribe an issue-to-PR review lifecycle
State and resume Structured PASS, RETRY, BACK, and ABORT verdicts, per-attempt artifacts, and restart from a named workflow step Persistent memory, agent state, telemetry, and cross-session restoration Typed conversation events, persisted or resumed conversations, critic scores, and automation history Results return to the parent; subagent context and transcripts can be resumed within the retained Claude Code session
Control boundary Named transitions and explicit stop or exhaustion states keep human gates around issue and PR decisions Hooks, security controls, audit features, and circuit breakers govern autonomous coordination Action confirmation, pause and resume controls, sandbox choices, and automation management Per-agent tools, permissions, hooks, and parent-session supervision
Starting point The complete kaji-starter-python repository connects workflows, skills, AGENTS.md, development conventions, tests, linting, type checking, and Make targets ruflo init scaffolds agents, plugins, MCP integration, hooks, memory, and supporting services SDK and platform quickstarts, plugins, automations, sandbox backends, and examples that teams assemble around their process Reusable agent definitions; the repository workflow and quality gates remain project choices
Best fit Teams that want a governed, repeatable issue-to-PR process on top of their existing coding-agent CLIs Broad or dynamic multi-agent systems centered on coordination, memory, and swarm behavior Teams that need a coding-agent runtime, sandbox, browser UI, SDK, or hosted automation Lightweight specialization and parallel delegation within Claude Code

These tools are not mutually exclusive. Claude Code subagents can perform work inside a kaji step. Ruflo or OpenHands may be the better center of gravity when the primary need is broad agent coordination, a programmable or managed runtime, or sandboxed execution.

kaji keeps the development process itself at the center: phases, bounded feedback loops, durable verdicts, step-level resume, and human-controlled transitions are explicit. Its starter repository delivers those pieces as one connected system, so teams can begin with working workflow guards and quality gates instead of designing every connection from scratch.

How it works

flowchart TB
  Issue["Issue"] --> Ready{"Ready gate"}
  Ready -- "PASS" --> Start["Issue start"]
  Ready -- "RETRY" --> FixReady["Fix ready"]
  FixReady --> Ready

  Start --> Design["Design"]
  Design --> DesignReview{"Design review"}
  DesignReview -- "PASS" --> Implement["Implement"]
  DesignReview -- "RETRY" --> FixDesign["Fix design"]
  FixDesign --> VerifyDesign["Verify design"]
  VerifyDesign -- "PASS" --> Implement
  VerifyDesign -- "RETRY" --> FixDesign

  Implement -- "PASS" --> CodeReview{"Code review"}
  Implement -- "RETRY" --> Implement
  Implement -- "BACK" --> Design
  CodeReview -- "PASS" --> FinalCheck["Final check"]
  CodeReview -- "RETRY" --> FixCode["Fix code"]
  CodeReview -- "BACK" --> Design
  CodeReview -- "BACK_IMPLEMENT" --> Implement
  FixCode --> VerifyCode["Verify code"]
  VerifyCode -- "PASS" --> FinalCheck
  VerifyCode -- "RETRY" --> FixCode

  FinalCheck -- "PASS" --> PR["Pull request"]
  FinalCheck -- "RETRY" --> FinalCheck
  FinalCheck -- "BACK_DESIGN" --> Design
  FinalCheck -- "BACK_IMPLEMENT" --> Implement

  PR -- "PASS" --> ReviewPoll{"PR review poll"}
  PR -- "RETRY" --> PR
  ReviewPoll -- "PASS" --> Close["Issue close"]
  ReviewPoll -- "RETRY" --> PRFix["PR fix"]
  ReviewPoll -- "BACK_FALLBACK" --> Review["Fallback review"]
  PRFix --> PRVerify["PR verify"]
  PRVerify -- "PASS" --> Close
  PRVerify -- "RETRY" --> PRFix
  Review -- "PASS" --> Close
  Review -- "RETRY" --> PRFix

Every agent step returns a verdict:

Verdict Meaning
PASS Continue to the next step.
RETRY Fix the current problem and verify again.
BACK Return to an earlier phase, such as design or implementation.
ABORT Stop the workflow with an explicit reason.

The harness reads structured outputs such as verdict.yaml, records attempt artifacts, and advances the workflow deterministically from each verdict.

Core features

  • Multi-agent workflow orchestration: run Claude Code, Codex, and Antigravity CLI from one workflow definition.
  • Closed review loops: model review feedback as explicit review -> fix -> verify cycles.
  • Interactive terminal runner: run normal CLI agents in Herdr panes while kaji watches for artifact-backed verdicts and records raw terminal logs.
  • Headless runner: keep existing non-interactive automation paths for CI-like execution.
  • Deterministic exec steps: run subprocess steps directly when no LLM is needed.
  • Artifact-primary verdicts: prefer verdict.yaml, then fall back to issue comments or stdout parsing.
  • Issue and PR lifecycle: coordinate GitHub issue, branch, PR, review, and close workflows.
  • TDD and docs-as-code: keep implementation, review, tests, and docs in the same process.

Extensibility

kaji currently focuses on Claude Code, Codex, and Antigravity CLI. The runner and workflow model are designed to support additional coding-agent CLIs when there is real demand.

Have another coding agent you want to plug into the loop? Open an issue and tell us what workflow you want to run.

Quick start

Prerequisites
  • Python 3.11 or newer
  • uv
  • Claude Code, Codex, or Antigravity CLI (agy) installed for the agents you want to run
  • gh 2.50.0 or newer, authenticated, if you use GitHub-backed issue and PR operations
  • Herdr 0.8.2 or newer if you use the interactive terminal runner
  • A target repository with kaji skills under .claude/skills/
Install kaji

Install from PyPI:

uv tool install kaji
kaji --help

For unreleased development builds, install from Git:

uv tool install git+https://github.com/apokamo/kaji.git
Configure your repository

In the repository where you want to run kaji, add .kaji/config.toml. The default workflow below, .kaji/wf/official/dev.yaml, is GitHub-backed because it opens PRs, polls review state, and closes issues.

[paths]
artifacts_dir = ".kaji-artifacts"
skill_dir = ".claude/skills"
worktree_prefix = "kaji"

[execution]
default_timeout = 1800
agent_runner = "headless"
interactive_terminal_close_on_verdict = true

[provider]
type = "github"

[provider.github]
repo = "<owner>/<name>"
default_branch = "main"
git_remote = "origin"

For the full .kaji/config.toml reference, including overlays and all available keys, see Configuration Reference.

Skills live under .claude/skills/. Other agent-specific skill directories can point to the same canonical skill files with symlinks.

Run a workflow

Workflow files are run from .kaji/wf/ in each repository, split by ownership: .kaji/wf/official/** is provided, updated, and regression-tested by kaji, while .kaji/wf/custom/** is owned by the repository — do not edit official/** in place, copy it into custom/** instead (see workflow-authoring.md). This repository ships .kaji/wf/official/dev.yaml and .kaji/wf/official/docs.yaml as the official GitHub-backed workflow set, plus repository-specific variants such as .kaji/wf/custom/dev/dev-thorough.yaml. To start a new project with these workflows preconfigured, use the Python starter or the TypeScript starter. Setup details are in the Python Starter Guide and TypeScript Starter Guide.

The dev.yaml example assumes that a GitHub issue already exists, required skills are available, selected agent CLIs are installed, and /issue-create has already been completed. The workflow runs issue-start itself.

Run a workflow:

kaji run .kaji/wf/official/dev.yaml <issue-id>

Resume from a specific step:

kaji run .kaji/wf/official/dev.yaml <issue-id> --from fix-code

Run only one step:

kaji run .kaji/wf/official/dev.yaml <issue-id> --step review-code

Run an explicitly ordered series of GitHub Issues:

kaji validate-series .kaji/series/my-series.yaml
kaji run-series .kaji/series/my-series.yaml --dry-run
kaji run-series .kaji/series/my-series.yaml
# after a stopped or interrupted run (failed members restart from their failed step)
kaji run-series .kaji/series/my-series.yaml --resume

Check run and series state without reading kaji's internal files, and retry a failed run from its failed step behind safety gates:

kaji status --json <issue-id>
kaji status --json --series my-series
kaji recover .kaji/wf/official/dev.yaml <issue-id> --retry-failed-step

Use /series-create <issue>... --id <series-id> to generate a validated definition without starting execution. The runner advances only after the preceding workflow exits successfully and the Issue is closed with reason completed.

In a repository that declares [watch] in .kaji/config.toml, kaji watch start (inside a Herdr pane) keeps state:* labels in sync with run state and launches /watch-triage when a run stops; /run-watched creates, commits and launches a watched series from an explicit request. See docs/cli-guides/watch.md.

Develop kaji itself

Use this path only when you want to work on kaji, not just run it in another repository:

git clone https://github.com/apokamo/kaji.git
cd kaji
uv sync
source .venv/bin/activate
kaji --help

Interactive terminal runner (Herdr)

Use this when you want kaji to launch normal Claude Code, Codex, or Antigravity CLI sessions inside Herdr panes instead of using the headless runner. Antigravity steps are single-run only; workflow resume: is rejected during validation.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases kaji

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229