Pi Mono: Durable Sessions Split and Cost Fixes

Durable session logic moves out of the core agent library into its own package, a breaking cleanup. OpenRouter and Bedrock billing corrections plus code-mode efficiency gains round out the day.

Duration: PT2M19S

Episode overview

This episode is a short developer briefing from Pi Mono.

It explains recent repository work in plain language.

  • Show: Pi Mono
  • Published: 2026-10-02T06:06:49Z
  • Audio duration: PT2M19S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hello, it's Friday, October 2nd, 2026, and this is Pi Mono.

The headline is separation of concerns: the team is pulling durable session state out of the core agent library, while also tightening up how model costs and provider quirks are handled.

First, the durable split. Commit 7-F-D-4-7-8-A removes the harness, sessions, storage and related helpers from the core agent package, leaving just the agent loop and streaming proxy. Commit 4-8-D-D-1-E-2 ports the experimental client and server to the new durable package, with per-session SQLite storage and resume…

Second, billing accuracy in the provider layer. Pull request 10286 switches OpenRouter cost tracking to use OpenRouter's reported billed total, which often differs from catalog estimates due to routing. Pull request 10329 adds the long-context pricing tier for OpenAI models on Bedrock, so requests over 272 thousand…

Third, smaller but noticeable agent improvements. Commit 6-F-1-0-7-2-C shrinks the code mode prompt from about 53 hundred to 33 hundred tokens and makes errors point to close matches and correct APIs. The login flow, in pull request 10295, adds animated Radius sign-in and automatic setup of the Radius server…

Expect…

Nearby episodes from Pi Mono

  1. Auth Hardening and Durable Storage Overhaul
  2. Durable Tool Turns and Login Reliability
  3. Durable Tasks and Virtual Model Routing
  4. Weekly Recap - Adaptive Themes and Provider Hardening
  5. Reasoning Signatures and Smarter Shell Output
  6. System Theme, Mistral Fixes
  7. Model Billing Fixes and Session Reliability
  8. Durable Transactions and TUI Styling Overhaul