r/PiCodingAgent • • 14d ago

Resource who here is collecting/curating agent context (memory, traces) and capabilities (skills, tools, workflows) etc outside Pi? please share

tldr - I think it's going to be increasingly compelling for individuals/organisations to just blindly use these provided agent services (grok bot, dots, even amp or Hermes etc), and forget about building their own context/capabilities external to the agent service.

if you're using PI, you likely already believe in the minimal agent harness thesis, but still keen to learn what folks are doing.

sharing this here mainly to see if others have the same experience, OR strong counter opinions on why it’s not worth it?

  1. what are you actively managing yourself around Pi? - are you extracting/looking at logs, traces and creating/curating your own memory, tools, skills, workflows?
  2. if you’re not doing this, what’s the reason? not enough evidence to suggest that it’s worth it? and what are you doing? just using Pi with some skills, etc?

to be clear - im not flogging another 'agent tool', i recommend people build their own. i'm more interested in hearing opinions as to why people haven't done this for themselves.

If you're interested in learning more about an approach/template I've been using and giving to people, i talk it through in this vid:

https://youtu.be/DRbzEHY86gk

and i've created a skeleton template:

https://github.com/bradwmorris/commons

but as i explain, you can just point your clanker at the repo, take the idea and build your own.

the live demo in the video uses Pi.

over past six or so months, i've been doing some variation of workshops on "building and owning agent infrastructure, context and capabilities" - most people/orgs understand importance, but it's concerning how few act on it. given (imo), it's likely to be the difference between individuals and teams who unlock real agent capabilities and those who don’t.

If i had to guess the main reasons for people not actively managing context and capabilities (from limited enterprise exp and workshops i've done):

  • misleading intuitions of model capabilities > models and agents are increasingly capable, but still struggle in 'real world scenarios'
  • confusion around 'model, harness, interface' and what different agent services actually package
  • not wanting to do the actual boring/gnarly work of 'looking at the data' - consolidating everything: logs + traces, memory, skills, knowledge and shaping this around a specific business.
6 Upvotes

6 comments sorted by

1

u/ijustwannacumplease_ 14d ago edited 14d ago

I generally just check docs/briefs from OpenAI and Anthropic to see how they are doing things and then tell Fable to make said thing if needed. Otherwise I use the dependencies those corps document as using.

Only 'memory' or 'task track' I'm using now is to tell the agent to use a private git repo on my git account for task tracking/epics/work items via git issues creation. Use worktrees for subagents, etc.

Secret store? Use my windows certificate built into windows as a secret store.

Browser use? Use Playwright mcp, or use Playwright free chrome extension.

I mean, just as a test and for fun I built an 'agentic swarm harness' with pi as base and deepseek flash as primary default model (but supporting many providers) that I can now use for brute force decompile source code analysis if I want, since Deepseek is pretty effective and cheap and doesn't balk at the big scary 'reverse engineer' words. (I spin up an aws server so I don't bog down my work pc)

I have a custom mcp I told fable to make that I use a lot now, specifically so I can have fable as an orchestrator and then only use my OpenAI sub for codex subagents. Was quick to build, and gets fixed pretty quick when bugs are found and helps me save on claude usage tokens when I get low, which happens like 3 days into the week.

Always for me the problem, and I think this is true for every company providing a little niche service for AI stuff, is, as a developer with a claude max sub, I can almost always easily make said thing myself if I want, or use existing software eng tools. I think the real market for ai software is for niche businesses providing useful work on the backend that is delivered to a non technical customer.

Additionally, if this thing/tool appears to drastically improve agent performance it is almost always certainly implemented already in one of the SOTA models/harnesses or both.

1

u/Zealousideal-Bag1600 14d ago

great reply, thanks

is this something you're sharing?

I mean, just as a test and for fun I built an 'agentic swarm harness' with pi as base and deepseek flash as primary default model (but supporting many providers) that I can now use for brute force decompile source code analysis if I want, since Deepseek is pretty effective and cheap and doesn't balk at the big scary 'reverse engineer' words. (I spin up an aws server so I don't bog down my work pc)

or just personal use?

re this:

I generally just check docs/briefs from OpenAI and Anthropic to see how they are doing things and then tell Fable to make said thing if needed. Otherwise I use the dependencies those corps document as using.

I spent quite a bit of time going through the source c for Codex and have been pretty unimpressed with the memory system and architecture that they've implemented. I don't know whether that's just because it's really hard for them to build a memory store because every individual user's situation is different.

1

u/ijustwannacumplease_ 13d ago

So, send me a pm in about a month if you are interested enough to remember and i'll invite you to a repo for the pi swarm harness (so 12/12), I need to clean it up + proper secret storage + bug fixes.

I agree with you on Codex, its a real mess right now, and even its most expensive agent seems worse than Claude sonnet, I'm not sure how much of that is the LLM models themselves vs the harness, but its bad.

I think with your subscription you can get a user auth token that you can integrate/use with the pi harness for all OpenAI, which I would recommend and am planning on setting that up myself finally when my claude ultra plan hits the weekly limit again.

Claude Fable 5.2 is pretty god-like as an orchestrator and you get a bunch of usage on the higher tier plans for it, which is what I would recommend. Then use it as the 'tech lead' orchestrator to use opus subagents or openai subagents even via pi harness (ask fable to build local mcp server for calling subagents via pi harness with openai subscription support).

1

u/DraftForsaken39 14d ago

Ich nutze dafür https://snotra-ai.dev
Da kann ich Skills, Rules und Memory anlegen lassen und strukturieren.
Besonders cool ist die Funktion aus einem langen Chat Wissen in jedweder Firm heraus zu ziehen. Dabei unterscheidet der Snotra Agent zwischen Prozesswissen, Fakten, Regeln und episodisches Wissen.

1

u/Phathatter 14d ago

I suspect many pi users are like me: started both naked pi, and any time we wondered if our computer could do something, we would ask pi, and pi would just build a skill or extension.

My first skill “research-mode” was mainly to be able to ask pi questions without it going off and building something.

My point is that I have a whole infrastructure built around managing memory and context that I think works better for me than any tool I could download or buy, but, because I developed it just by using pi and asking questions, I think anyone who wants a good system should just make them themselves (or rather that these things will naturally develop alongside what your actual project is). So rather than share repos, here are some ideas.

My system is basically:

long-task-mode, where the model makes a plan where each phase is designed to fit in one context window. At each step completion, it clears context and reads the next step of the plan.

For memory I have a personal wiki style site that holds reports and reference that I can refer models to. I made it originally to be user facing, and I read it a lot, but, at this point, the majority of the material is there to be read by pi.

I have an external orchestrator (fully deterministic) running on a separate machine that looks like a basic kanban type assigner/task tracker, but also backs up and organizes my session history, which has become a great memory/context manager just as a side effect (sessions are associated with projects as well as the task cards which means agents can look back at the whole project one window-sized bit at a time).

I have lab-state, which is just information about my machine and secret management. This is where agents are directed to get information they need to access other machines on my tailnet. It helps with the common issue of pi making the same discovery over and over (Oh! I can use paramiko for that!!—yes we know).

The only extension I ever downloaded is one that gives pi a set of GitHub capabilities and prevents recursive deletions. Everything else was made just asking pi hypothetical questions (and lots of testing).

My system is immensely valuable to me, but I think most anyone else would be better off building their own system than trying to adapt my actual code.

1

u/Zealousideal-Bag1600 14d ago

Yeah, 100% agree on the point re people should just build their own systems iteratively. And I think pi community is largely already doing this.

My point is that I have a whole infrastructure built around managing memory and context that I think works better for me than any tool I could download or buy, but, because I developed it just by using pi and asking questions, I think anyone who wants a good system should just make them themselves (or rather that these things will naturally develop alongside what your actual project is). So rather than share repos, here are some ideas.