Record any agent task
Record the logs, output files and screenshots of any task an AI agent did, not only testing, and share them as one link that outlives the machine it ran on
An agent that runs on a remote machine, such as a cloud dev box, a sandbox or a CI job, leaves its results on that machine. When the machine goes away, so do the logs, the files it wrote and the screenshots it took. Have the agent save them to Currents as a session at the end of the task. You get one link to review what the agent did, and the files stay after the machine is gone.
The task does not have to be a test. For example:
An agent ran a data migration. The session holds the migration log, the row counts before and after, and its summary.
An agent updated the dependencies of a service. The session holds the build output and the list of packages it changed.
An agent checked a staging site after a deploy. The session holds the screenshots of each page and the console log.
What you need
The Currents CLI and a key on the machine. See Install the Currents CLI and set a key. On a CI job, the agent can use the record key the job already has.
Ask the agent
Add this to the agent's task, or to its instructions file:
When you finish, save your results as a Currents session in project
<project-id>: your log, every file you wrote, and a summary.md with what you
did and what you did not do. Use --status failed if the task did not finish.
Reply with the link.The agent saves the files with currents session start, attach and share. These commands take any file or folder. For the options, see currents session or run npx currents session --help.

What you get
The session page of the migration above, with the agent's summary open:

The link opens without a Currents login for 1, 3 or 7 days. The files stay until you delete the session. See Share links.
Last updated
Was this helpful?