Download the PHP package voku/agent-loop without Composer

On this page you can find all versions of the php package voku/agent-loop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package agent-loop

Agent Loop (voku/agent-loop)

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

Keep coding-agent work moving without losing the task, guessing what comes next, or calling something done without evidence.

Coding agents are already good at changing code. The harder problem is everything around that change: remembering what was agreed, keeping the work inside the right scope, giving the agent the context it actually needs, proving the result, and carrying useful lessons into the next task.

voku/agent-loop adds that workflow around the coding agent you already use.

How it works

Agent Loop does not replace the coding agent or your normal engineering tools. It keeps the work around them durable: what was requested, what is allowed, what context matters, what has been tried, and what evidence is needed before the task is done.

The chat can disappear; the task should not.

Useful experience can feed later tasks. When a lesson becomes stable and mechanically checkable, it can become a test, static-analysis rule, or another deterministic check instead of another prompt instruction.

The goal is not maximum automation. The goal is reliable agent work with less reconstruction, less hidden state, and better evidence.

Why Agent Loop?

Without it With Agent Loop
A new chat means reconstructing the task Approved task intent and progress survive the conversation
The agent decides what to do next from prose and memory The workflow exposes the current next step
Large repositories become giant prompts Only relevant repository context is selected
“Looks good” can quietly become “done” Tests, analysis and review remain explicit evidence
Useful lessons disappear after one task Proven lessons can inform later work
Instructions keep growing forever Repeated objective lessons can become tests, static rules or other deterministic checks
Your workflow becomes tied to one model vendor The workflow stays local and provider-independent

Install

Requirements: PHP 8.3+ and Composer.

Start a repository

Create the repository-local workflow scaffold:

Or create the tutorial board and task:

Then follow Your first governed task.

For supported coding hosts, package-owned skills and roles can be projected from the installed Composer package without downloading remote agent code:

install-assets --dry-run shows the exact managed asset changes the current project would receive without writing them. Detailed composition and host behavior live in Agent assets and host integration.

Portable assets are available for Codex, Claude Code, OpenCode, Copilot, Gemini CLI, Antigravity, and Cursor. Cursor projects the shared AGENTS.md router plus native .cursor/skills and .cursor/agents assets. Its repository shell authority policy uses a native .cursor/hooks.json beforeShellExecution guard with failClosed: true; unrelated project hooks are preserved. Cursor CLI policy and MCP authority coverage are separate and unclaimed. Cursor runtime auto-detection and live hook/read-only enforcement remain unverified, so use explicit --agent=cursor selection. Host-specific capabilities and limitations remain explicit.

The two lifecycle commands

For everyday use, the workflow stays deliberately small:

Start or resume a durable task:

For an unplanned task, enter is the front door before planning or approval. Follow the returned next_action_kind and next_action rather than inventing a sequence: command_template is model-owned work to complete from the request and repository evidence; decision_required is a genuine human-authority decision.

After implementation or another requested action:

finish reconciles current evidence and returns the next authoritative step. Repeat until the lifecycle reports completion.

You do not need to memorize the internal package order or rebuild a phase machine inside the prompt. See the lifecycle contract when you want the exact ownership model.

What makes it different?

The task survives the chat

Approved task intent and workflow state live outside the conversation. A later agent can resume from current repository evidence instead of trusting a summary of what somebody remembers happening.

The agent gets less context, but better context

agent-map can locate the relevant PHP structure and agent-recall-compiler can assemble task-specific context and prior knowledge. The agent reads what it actually needs instead of swallowing the repository.

Evidence beats confidence

Tests, static analysis, review artifacts, exact diffs, and recorded owner state remain the evidence. An agent sounding certain is not a validation strategy.

Useful experience can improve later work

agent-learning records evidence-backed observations and precedent. A useful lesson can inform a future task; repeated objective lessons can eventually become tests, PHPStan rules, fixers, typed APIs, or other deterministic constraints.

Once code or tooling owns the rule, obsolete prompt instructions can disappear again instead of accumulating forever.

Engineering judgment stays engineering judgment

agent-loop governs workflow authority and evidence. It does not turn every engineering task into “make the smallest diff”. A surgical fix can stay surgical; a broader feature or ownership correction can use the coherent solution the task actually requires.

Under the hood

You do not need to understand every package to use Agent Loop. They exist so each kind of information has one clear owner instead of one giant agent framework quietly owning everything.

Concern Package
Workflow and task authority agent-loop
Git-native work items agent-kanban
Temporary working memory and validation evidence agent-session
Repository structure, code navigation and typed refactoring plans agent-map
Deterministic plan validation, transactional apply and verification agent-edit
Bounded task context and prompt construction material agent-recall-compiler
Findings, precedent and durable learning agent-learning
Reusable engineering and review skills agent-skills

Optional surfaces:

Boundaries

agent-loop deliberately does not:

The workflow is local-first and auditable through files, Git, and executable owner contracts.

Useful commands

The CLI is the executable reference. Detailed specialist commands remain available when the current task needs them; their existence does not make them mandatory workflow phases.

Capture a human Finding

Developers, product owners, and testers can record a plain evidence-backed observation without creating a Session or shaping Learning storage JSON:

The command returns an owner-created candidate Finding with validation_status=unverified. It is not active guidance and cannot be promoted directly. A named reviewer must first record a conclusion through the Learning owner:

Only that explicit validation makes the Finding eligible for the existing classification, Dream, and proposal review paths; none of those paths promote guidance automatically.

CLI namespaces

The stable command families are kept intentionally concise here; use vendor/bin/agent-loop help or <namespace> help for the executable details.

Documentation

Start here:

For contributors and deeper design evidence:

Development

Never report a command as passed unless it actually ran and its exit code was observed.

License

MIT. See LICENSE.


All versions of agent-loop with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
helgesverre/toon Version ^3.1
voku/agent-edit Version ^0.4.2
voku/agent-kanban Version ^0.4.4
voku/agent-learning Version ^0.18.32
voku/agent-map Version ^0.22.0
voku/agent-recall-compiler Version ^0.25.8
voku/agent-session Version ^0.7.1
voku/portable-utf8 Version ^6.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package voku/agent-loop contains the following files

Loading the files please wait ...