| ▲ | dingaling911 3 hours ago | |||||||
How does pi let the agent edit the harness? | ||||||||
| ▲ | PaulKeeble 3 hours ago | parent | next [-] | |||||||
There is pretty much no sandbox behaviour at all, so it can read and write files across the entire system. What pi does in its system prompt is tell the agent where it can find markdown files that explain skills and extensions alongside examples. If you prompt it to make a new skill or extension it will then go about doing so and inserts them into either ~/.pi/ or the current directory .pi depending on what makes most sense on what you asked. I have made one extension called globalstats which iterates over all the sessions and costs up everything across various agents (with locals being negative price of the most common used cloud option, sort of money saved) and I have some skills about accessing dev servers and where to find the docker settings and up/down aliases so it can add things. | ||||||||
| ||||||||
| ▲ | pornel 35 minutes ago | parent | prev [-] | |||||||
pi injects docs for extending itself into the system prompt. You just tell the agent what features you want, and it knows how to do the rest. | ||||||||