-
|
Does this seem right? I thought the whole point was to be super lean, this seems pretty big for an agent called "little-coder". Or am I doing something wrong (totally possible!)? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Okay 5328 tokens do look a bit excessive, but I'm coming from spending about 2 weeks with |
Beta Was this translation helpful? Give feedback.
-
|
yeah, 5328 tokens does sound a bit high for a lightweight agent like little-coder. the key thing to check is whether you have any extra extensions or skill markdown files loaded that aren't necessary for your simple tasks. each one can add more tokens to your session tree. also, make sure the system prompt isn't bloated, as it typically expects around 1000 tokens. tweaking these might help trim down the token count. |
Beta Was this translation helpful? Give feedback.
If I am not mistaken, little-coder out-of-the-box adds skills that bare-bones pi doesn't. little-coder goes beyond pi by building the small-model aware scaffolding, which AFAIU is codified as one or more skills.
Here's what README.md says:
pi is the minimal substrate — agent loop, multi-provider API, TUI, session tree, compaction, extension model. Four built-in tools (read / write / edit / bash) and a ~1000-token system prompt.
little-coder is pi + 20 extensions + 30 skill markdown files + a Python benchmark harness.