Skip to content

apolo74/yapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Pi Coding Agent

Introduction

Hello and welcome to yet another Pi Coding Agent repository. At this point in time I have just a couple of weeks learning about agentic AI and came across Mario Zechner (badlogic)'s work on Pi. I just wanted to have access to different agents and extensions at the global level without having to install them every time I start a new project. So the universe (or most probably Youtube's algorithm :D) showed me IndyDevDan's customization video. The current repository is a minimalist version of his pi-vs-claude-code work. It contains a clean and simple addition of quality extensions created by an expert like IndyDevDan, a.k.a. disler.

Credits

All agents, skills, and extensions included in this repository come from the original pi-vs-claude-code repository. I am learning how to use Pi so first a big thanks to Mario Zechner (badlogic) for his contribution and for sharing his amazing work on Pi. Then I want to give a special thanks to IndyDevDan for his contribution and for sharing his knowledge and expertise.

Installation

To use these agents and skills, you need to have Pi installed. You can install it using npm:

npm install -g @mariozechner/pi-coding-agent

Remember to do a "/login" and choose your favorite model via "/model" in Pi.

For more information and detailed installation instructions, please refer to the official Pi repository: Pi Coding Agent

Setup

I'm sure there is a better way to do this, but for now the easiest solution is to copy these two folders into your global pi directory:

  1. Copy the agent/ and agents/ folders from this repository.
  2. Paste them into your own ~/.pi directory (usually located at C:\Users\<YourUsername>\.pi on Windows or ~/.pi on macOS/Linux).
  3. Restart your Pi instance.

TBD:

What I would really like to implement is a more sophisticated way to load the extensions, going from this:

pi -ne -e ~/.pi/agent/extensions/pure-focus.ts -e ~/.pi/agent/extensions/theme-cycler.ts

to something like this :

pi pure-focus theme-cycler

Extensions

Extension Instruction Tutorial
Default PI pi -ne Watch
Pure Focus PI pi -ne -e ~/.pi/agent/extensions/pure-focus.ts Watch
Minimal PI pi -ne -e ~/.pi/agent/extensions/minimal.ts Watch
Cross Agent PI pi -ne -e ~/.pi/agent/extensions/cross-agent.ts Watch
Purpose Gate PI pi -ne -e ~/.pi/agent/extensions/purpose-gate.ts Watch
Tool Counter PI pi -ne -e ~/.pi/agent/extensions/tool-counter.ts Watch
Tool Counter Widget PI pi -ne -e ~/.pi/agent/extensions/tool-counter-widget.ts Watch
Subagent Widget PI pi -ne -e ~/.pi/agent/extensions/subagent-widget.ts Watch
Tilldone PI pi -ne -e ~/.pi/agent/extensions/tilldone.ts Watch
Agent Team PI pi -ne -e ~/.pi/agent/extensions/agent-team.ts Watch
System Select PI pi -ne -e ~/.pi/agent/extensions/system-select.ts Watch
Damage Control PI pi -ne -e ~/.pi/agent/extensions/damage-control.ts Watch
Agent Chain PI pi -ne -e ~/.pi/agent/extensions/agent-chain.ts Watch
Meta PI (Pi Pi) pi -ne -e ~/.pi/agent/extensions/pi-pi.ts Watch

Usage Examples

You can use the extensions by passing them to the pi command using the -e flag. Here are a few examples:

  • To use the minimalist UI:

    pi -ne -e ~\.pi\agent\extensions\minimal.ts
  • You can activate multiple extensions at once. For example, to use the agent-team and tool-counter extensions together:

    pi -ne -e ~\.pi\agent\extensions\agent-team.ts -e ~\.pi\agent\extensions\tool-counter.ts

About

Yet Another Pi Coding Agent

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors