loop
Print the improvement loop: the steps an AI assistant follows to improve your AI Agent. The loop lives in Ada. Ada renders it for the adacli release that you run and for the features of your Agent, so it shows only the steps that the Agent can run.
Commands
The methods are:
Examples
Print the loop:
Print only the way that starts from a custom metric:
Get the loop as JSON, and check if adacli must be upgraded first:
Details
-
With
--json, the command returns these fields: -
If your adacli is older than
min_cli_version,markdownholds an upgrade notice in place of the loop. Runadacli upgrade, then runloopagain. -
An adacli release without the
loopcommand exits with code2. Upgrade adacli. -
If you give an unknown method, the command fails, and the error lists the methods.
-
loopreads from your Agent, so it needs a login. If you are not logged in, it exits with code3.
AI assistants run loop through the ada-optimize skill. The skill runs adacli <instance> loop --json and follows the markdown. To install the skill, see skills and AI assistants. The Ada MCP server serves the loop through its start_improvement_loop tool.
For every option, run adacli acme loop --help.
Related commands
changesets: review, promote, or revert the change sets that the loop creates.testing: manage the test cases that the loop runs.skills: install theada-optimizeskill.