Experimental Amp SDK provider bridge for Pi.
- registers an
ampprovider insidepi - exposes three Amp-backed models:
amp/smart,amp/rush, andamp/deep - forwards each
piturn to the Amp SDK headlessly - lets Amp run with its own built-in tools
- renders Amp tool activity back into
pias text notices
Install package into pi:
pi install https://github.com/tmm/ampiAuthenticate Amp in one of the normal ways:
amp loginor:
export AMP_API_KEY=sgamp_...To try it without installing, you can also launch pi with the extension directly:
pi -e https://github.com/tmm/ampiInside pi, you can switch to one of the Amp-backed models:
/model amp/smart
You can also use:
/model amp/rush
/model amp/deep
If the normal /model picker is scoped to a smaller model set, press Tab to switch from scoped to all.
pnpm install # install deps
pnpm typecheck # check types
pi -e ampi.ts # run extension in devMIT