This release pivots the AI-agent backend from "single Anthropic SDK
client" to a vendor-agnostic AgentRunner Protocol. The same engine
now drives both the SDK path and a new subprocess-based path that
spawns the local Claude Code CLI per action. Workflow YAML gains a
per-action agent: field; instance config gains a registry-driven
default_agent. No changes are required to existing workflow YAML
to keep using the SDK backend — default_agent defaults to
anthropic_api.
Highlights
- 🆕
AgentRunnerProtocol — one contract, two shipping backends:claude_code_cli(recommended for production): spawns local
claude -p/claude --bare -pper action; the agent inspects the
working tree directly via its file-reading tools. Scales well on
large PRs and on frameworks where routing is decoupled from file
paths.anthropic_api(existing path, unchanged): single SDK call per
action with the full diff embedded inline.
- 🆕 Per-action
agent:field in workflow YAML. - 🆕
cli_agent_mode: bare | oauthconfig — bare mode skips local
CLAUDE.md/hooks/plugins so daemon spawns are deterministic and
cost-predictable. - 🆕
yta --version/-Vflag (sourced fromimportlib.metadata). - 🆕
AgentRunnerError.stderrsurfaces inActionResult.error; CLI
failures are diagnosable from the run report. - 🆕 New CLI-style reference prompt:
prompts/security_audit_cli.md. - 📝 README, installation, configuration, workflows, and architecture
docs reframed around the two-backend story.
Migration from 0.1.0b0
Zero-change migration if you stay on the SDK backend:
defaults:
default_agent: anthropic_api # this is the default — omit entirelyTo switch to the CLI backend (recommended for production daemons):
defaults:
default_agent: claude_code_cli
cli_agent_mode: bare # daemon-friendlyRequires claude on PATH and ANTHROPIC_API_KEY set in .env.
Verified
- 351 unit tests green
- mypy
--strictclean onsrc/ - ruff clean
- End-to-end against YouTrack Cloud 2026.1 on a real PR: 3 parallel
reports (security audit, pages changed, QA plan) populated three
custom fields and fired theAudit Status: donehook - Smoke-tested with the bundled CLI backend in bare mode against a
realclaudebinary
Install
uv tool install --from git+https://github.com/PanzerLlama/youtrack-aitrack@v0.2.0b0 youtrack-aitrackFull changelog: https://github.com/PanzerLlama/youtrack-aitrack/blob/v0.2.0b0/CHANGELOG.md