Skip to content
Projects

About

Record and Replay AI Agent Trajectories.

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
ATaC

Keep what works.

Turn useful sequences of pi tool calls into reusable JavaScript programs.

pi Node.js License: MIT CI

Install

Requires Node.js 22.19+ and pi 1.1.x.

pi install https://github.com/ATaC-team/ATaC

Restart pi or run /reload, then give pi a task as usual.

How it works

  1. Work as usual. ATaC looks for reusable tool-call sequences after pi finishes a task and proposes programs in the background.
  2. Test and publish. Review candidates in /atac:inbox, or enable automatic testing and publishing with /atac:permissions auto.
  3. Reuse with new inputs. pi sees your published programs and is instructed to prefer a matching program over repeating the work.

Programs

A program combines tool calls with JavaScript logic. This one reads several text files in parallel, joins their contents, and writes a single file:

const notes = await Promise.all(
  inputs.paths.map((path) => tools.read({ path })),
);

await tools.write({
  path: inputs.output,
  content: notes.join("\n\n"),
});

return { output: inputs.output };

Once published, pi can reuse the whole sequence with a new set of files. Each program includes a manifest and tests; see the program reference for the format.

Inbox

Review candidates, inspect code and test reports, request revisions, and browse published programs—all from /atac:inbox.

ATaC Inbox showing example programs grouped by status

Inbox with example programs.

Tests call real tools with your existing pi permissions. See the usage guide for controls and testing behavior.

Automatic extraction with manual review is the default. Use /atac:permissions to choose automatic publishing or fully manual extraction and publishing. In manual extraction mode, /atac:extract analyzes unprocessed work from the current session together. All modes keep their results in Inbox.

Documentation

  • Usage — Installation options, Inbox controls, and testing.
  • Programs — Manifests, code, tests, and agent tools.
  • Configuration — Model settings, execution limits, and local storage.

Development

Clone the repository and install dependencies, then link the checkout to pi:

npm ci
pi install /absolute/path/to/ATaC

Run checks:

npm run check
npm test
npm run test:package

Design RFC · MIT License

Explore related projects

Loading…