ATaC plugin

Repeated pi agent steps accumulate as JavaScript programs with a manifest and tests, and pi calls them instead of redoing work.

  • 297 ★ on the repository
  • Last commit
  • MIT
Plugin

Extended access

Why this level

  • Program tests call real tools with pi permissions and can change files.
  • In `/atac:permissions auto` mode programs are published without manual review.
All reasons and checks

atac-team/atac

Install

Manual install

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

The command from the Install section. Then restart pi or run `/reload`.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Program tests call real tools with pi permissions and can change files.
  • In `/atac:permissions auto` mode programs are published without manual review.

This is third-party code. Review the repository files before installing.

What it does

ATaC, an extension for the pi agent, looks for repeatable tool-call sequences after a task finishes and drafts JavaScript programs from them in the background. A program combines tool calls with logic, for example reading several files in parallel and joining them into one. A manifest and tests ship with it. Candidates are reviewed in `/atac:inbox`: code, test reports, revision requests and the list of published programs. The publishing mode is chosen with `/atac:permissions`. Published programs are visible to pi, which is instructed to prefer them over repeating the work by hand.

Who it is for. Users of the pi agent who repeat the same chains of actions and want them as tested programs.

Good fit when

  • The agent rereads the same set of files and joins them in every session.
  • Part of the work can be repeated with different inputs, such as a new list of files.
  • A proposed program should be reviewed, tested and revised before publishing.
  • Automatic publishing is enabled for trusted programs through `/atac:permissions auto`.

Not a fit when

  • You work in Claude Code, Codex or Cursor, since the extension targets pi only.
  • Tests must not call real tools with your permissions.
  • Tasks differ every time and there are no repeated chains.

Example request

Show candidates in `/atac:inbox` and run tests for the program that joins text files into one.

Limitations

Node.js 22.19 or newer and pi 1.1.x are required. Tests call real tools with the permissions pi already has, so checking a candidate can change files. The `/atac:permissions auto` mode publishes programs without manual review. The default mode finds chains automatically and publishes after your review. The manifest format, model settings and execution limits are described in `docs/programs.md` and `docs/configuration.md`.

How to disable. Remove the extension with the pi package removal command and restart pi or run `/reload`. Accumulated programs sit in local storage, with the path given in `docs/configuration.md`.

FAQ

How do I install ATaC?

Run `pi install https://github.com/ATaC-team/ATaC`, then restart pi or call `/reload`. Node.js 22.19 or newer and pi 1.1.x are required.

What does `/atac:inbox` do?

It shows programs by status: code, test reports, revision requests and the list of published ones. Candidates are reviewed and published through it as well.

Are programs published automatically?

Not by default: extraction is automatic and publishing follows review. The `/atac:permissions auto` command enables automatic testing and publishing, while `/atac:extract` runs them manually.

What are the ATaC requirements?

Node.js 22.19 or newer and pi 1.1.x. For development, clone the repository, install dependencies with `npm ci` and link the directory with `pi install` and an absolute path.

Where are programs stored?

In local storage; the path, model settings and execution limits are described in `docs/configuration.md`. See `docs/programs.md` for the manifest and test format.

Discussion

No questions or reviews yet.

Plugins
Editors’ pick

A minimal terminal coding agent extended with skills, prompt templates and TypeScript packages

CLIBroad access121.8KRepository stars

A set of extensions for the Pi agent: repository analysis, secrets leased with a TTL and search over agent sessions.

PluginExtended access87Repository stars

Personal Pi agent setup with four commands for plan, todos, execution and review, passing state through Markdown session files.

WorkflowBroad access459Repository stars

A web app for the Pi coding agent: sessions survive restarts, teammates can join, and you can work from a phone with no cloud VM

CLIBroad access833Repository stars

Package for the Pi agent with an ask_user tool: the agent pauses and asks you when a decision cannot be made without a human.

PluginMinimal access183Repository stars

Background runs of pi coding agents on your machine by schedule and label, each job in a Docker container with a spending limit.

CLIBroad access197Repository stars

README in short

Sequences of pi tool calls become JavaScript programs with a manifest and tests, and pi uses published programs instead of repeating the same steps.

README badge

Report a problem