Search by

voku / agent-ui

voku

Local server-rendered human control plane for the governed voku/agent-loop workflow.

Package info

github.com/voku/agent-ui

pkg:composer/voku/agent-ui

Fund package maintenance!

voku

Statistics

Installs: 379

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

0.21.0 2026-11-29 11:49 UTC

This package is auto-updated.

Last update: 2026-12-01 11:47:58 UTC


README

Build Status Latest Stable Version Total Downloads Monthly Downloads License PHP Version Require GitHub Stars GitHub Forks

See and steer your governed coding-agent work in a browser, without a second source of truth: every state, next action and control on the page comes from the owner, and a state the UI does not know renders neutral instead of being guessed.

You get:

  • Owner state, never derived. The next action and every legal Human and Setup control come from voku/agent-loop's typed projections (Runner controls from the optional voku/agent-loop-runner); src/View/Presentation.php interprets owner states for colour and wording only, and an unknown state stays neutral (PresentationTest).
  • Decisions that fail closed. Approve a Contract or acknowledge a review through POST-only, CSRF-protected forms backed by Loop's revision-checked services. A failed or stale decision shows an error, never simulated success, and Setup re-plans through the owner before any mutation.
  • Nothing to build or host. Plain PHP and server-rendered HTML: no framework, no build step, no database. JavaScript is optional enhancement, and the server binds to 127.0.0.1 by default.

Part of Agent Loop — a deterministic, local-first workflow for coding agents: approved Contracts, explicit next actions, evidence before "done". This package owns the local, server-rendered control plane for humans: presentation and CSRF-protected interaction, but no workflow, board, Recall, review or Learning truth.

Quickstart

In a project that already uses voku/agent-loop (PHP 8.3+ and Composer):

composer require --dev voku/agent-ui
vendor/bin/agent-ui

Then open http://127.0.0.1:8088 in your browser. Bind to loopback; this is a local developer control plane.

vendor/bin/agent-ui --port=8080                       # custom port
vendor/bin/agent-ui status --format=json              # is this endpoint agent-ui for this project?
vendor/bin/agent-ui help                              # all commands and options

More run options, the development server and every route are in Running agent-ui.

How it works

agent-loop        = what should happen
agent-loop-runner = optionally makes an agent do it
agent-ui          = lets a developer understand and control it
  • Work: an attention-first overview and per-task views of the Contract, live workflow graph, scope drift, evidence, review, history and Learning.
  • Knowledge and Code: durable Learning through agent-learning; code search, hash-verified source windows and reverse-dependency impact through agent-map.
  • Tools: the Prompt Workbench over Recall's recipes, commands, and Setup with only the operations the owner reports as legal.

The browser workbench and terminal cockpit (vendor/bin/agent-ui session …) are local-only and experimental: they expose a full OS-user shell and need independent security review before production use. Read the security model first.

Documentation

I want to… Read
Run it, change port/root/host, or see every page Running agent-ui and its pages
Know which owner a view reads and what it refuses to infer Owner-backed views
Use code search, source windows and impact rings Code search and code visualization
Watch a task live with a terminal beside it (experimental) Browser workbench and terminal cockpit
Understand the design rules and boundaries Interface, architecture and boundaries
Contribute or find where a change belongs Development, CONTRIBUTING, AGENTS.md
Report a security issue Security policy
See what changed CHANGELOG
Read the dogfood reviews and evidence Documentation index

Part of the Agent Loop toolchain

Each package owns one concern and can be used on its own. voku/agent-loop composes them into one governed workflow.

Package Owns
agent-loop Task Contracts, lifecycle, next actions, validation and review gates
agent-kanban Git-native Markdown board and card semantics
agent-session Per-task working memory, decisions and checkpoints
agent-map Read-only repository symbol maps and typed edit plans
agent-edit Transactional, verified application of edit plans
agent-graph Deterministic SQLite graph index and runtime
agent-recall-compiler Bounded task context (Recall) and prompt recipes
agent-learning Reviewable findings, proposals and durable guidance
agent-skills Portable engineering skills for coding agents
agent-ui Local server-rendered control plane for humans
agent-decision Experimental bounded, advisory-only decision helper
agent-dotfiles Shell dotfiles for non-interactive agent shells

Development

composer install
composer ci

composer ci runs Composer validation, PHPUnit, PHPStan at max level, template syntax linting, and php-cs-fixer in check mode. See Development for the CI matrix and where to work in this repository.

License

MIT. See LICENSE.