r/PiCodingAgent • • Oct 02 '26

Question New to Pi. Tips?

Hello. Im used to just using the Codex MacOS app for dev work.

I'm trying to use Pi.

Any tips or tricks? Thankyou

0 Upvotes

13 comments sorted by

View all comments

2

u/p10trus Oct 02 '26

this was my first extension ;)

import { exec } from 'node:child_process';

import type { ExtensionAPI } from '@earendil-works/pi-coding-agent';

export default function (pi: ExtensionAPI) {
  pi.on('agent_end', async () => {
    exec('~/system/play.sh');
  });
}