Skip to content
项目

关于

Record and Replay AI Agent Trajectories.

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
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

探索相关项目

加载中…