piagent_
← ~/map

$ cat ~/map/aft.md

aft

Sensorimotor-cortex layer that ships thin adapters for Pi and OpenCode, replacing raw read/write/edit/bash with semantic operations.

tools✓ Oct 16

Facts

repository
github.com/cortexkit/aft ↗
GitHub Stars
★ 324
Forks
39
license
MIT
npm / mo
—
last push
Oct 16, 2026

install

npx @cortexkit/aft@latest setup

## TL;DR

Sensorimotor-cortex layer for coding agents: a Rust binary with thin adapters that, for pi, replaces the built-in read, write, edit, and grep tools with tree-sitter-backed, symbol-aware versions and adds an aft_ tool family on top.

## Key points

## FAQ

Q How exactly does it change pi's tools?

The pi adapter hoists the host's built-in tool slots — the agent keeps calling read, write, edit, and grep, but they are now backed by tree-sitter parsing, trigram-indexed search, output compression, and symbol-aware operations, with the aft_ family registered on top.

Q How do I uninstall it from pi?

Run pi remove npm:@cortexkit/aft-pi (pi uninstall is an alias), which removes AFT from pi's package list in ~/.pi/agent/settings.json; then delete the config files and data directories described in the docs/config.md uninstall paths.

## References

## Related entries

Last updated: Aug 31, 2026