r/PiCodingAgent • • Aug 22 '26

Resource Doompi - My Pi setup where no skill or extra tool loads unless you name it

Post image
37 Upvotes

Repo: https://github.com/AgiFlow/doompi

Like a lot of you I have been agent hopping for two years. I've used agent harness for everything else beside coding and it's becoming expensive; now efficiency is the priority. Landed on Pi and hoped that was the end of it.

To reduce token cost on different tasks (coding, marketing, customer support), my fix before this was a pile of shell scripts. claude.sh, codex.sh, antigravity.sh, kimi.sh, ollama.sh, each consume profiles.json that flipped plugins per run. It helped with bloat. It never made loading skills and tool use reliable, and it never touched the harness prompt.

I have been on Doom Emacs for about a decade, so the shape was obvious. Doompi is a Pi distribution where four YAML files decide the session and nothing is inferred:

- major modes: you own the modes and compose it with layers (extensions plus hooks). Mine are minimalist, dev and business.
- minor modes: Plan, Loop, Goal, Workflow, Voice. They ship loaded but stay out of context until you switch one on.
- domains: group of plugins (which include skills and MCP servers) for one kind of work. Video editing, TDD, copywriting.
- profiles: persona and brand for the runner. Good for steering output.

doompi --major-mode business --domains copy-writing --profile agimon

Or switch any axis mid session with /mode, /domains and /profile, thanks to Pi's reload capability. Minor modes also switch on per /<minorMode> commands (or use Leader SPC key binding).

Plugins (skills + mcp) are opt in the same way tools are, so the floor is just stocked PI. Minimal mode, no domains, no profile, fresh repo, doompi is just PI.

From there you pay for what you name with domains. Personally, I keep plugin reusable with slim skills and 5-8 skills per plugins + 1-2 agents; then define domains that compose plugins for different type of task. 10-15 skills per sessions are ideal for agents to be creative while still being reliable.

Doompi's Copilot, the default major mode, switches on three layers that register four tools:

task 1,329
subagent 751
ask_user_question 455
intercom 220
-----
2,755 tokens

If what you want is the batteries-included feel of Claude Code or Codex, it is all in here: agent teams, persistent tasks, plan mode, GitHub Actions style workflows, telemetry. The difference is that these are all composible. You can customise existing modes, add new modes, set default domains and mode as you needed.

If you think four YAML files is too much ceremony for what it buys, I would rather hear that now than later. There are a few optimisations along the way; also happy to share the tricks.


r/PiCodingAgent • • Aug 22 '26

Resource Pi extension for interacting with JetBrains IDEs

9 Upvotes

Hi everyone,

I’ve been working on an extension for pi that allows it to interact with JetBrains IDEs through MCP.

The project is here:
https://github.com/giuseppe-trisciuoglio/pi-jetbrains-mcp

The idea started from wanting to use pi while still being able to interact with the IDE I’m already working in. At the moment the extension exposes some JetBrains functionality to pi, so the agent can interact with the project and the IDE instead of being limited to the terminal.

It’s still a work in progress, and I’m mainly sharing it here because I’d really like some feedback from people who are actually using pi.

I’m particularly interested in hearing what you think is missing, what you would find useful in a JetBrains extension, or whether there are parts of the current approach that you would change.
If you have any ideas for improving the extension or features you think would make it more useful with pi, I’d be happy to hear them.

Thanks in advance to anyone who takes a look.


r/PiCodingAgent • • Aug 22 '26

Resource Instant pi sandboxes

1 Upvotes

I built dbx as a convenience for myself to instantly spin up isolated pi sandboxes locally or in the cloud. One command gives each branch its own Ubuntu dev container, network, browser desktop, and pi coding agent. It runs locally with Docker or in Vercel Sandbox.

npx u/gannonh/dbx init
npx u/gannonh/dbx my-branch

 Open source:

- https://dbx.gannonh.dev
- https://github.com/gannonh/devbox


r/PiCodingAgent • • Aug 22 '26

Discussion Linux style reverse search in Pi

5 Upvotes

This is my first post.

I learnt about Pi from a co-worker last month and I can safely say this is the first harness tool that I absolutely love it. There are many reasons but the main one is the ability to extend the harness. No need to dig into docs or create issues or wait for the provider to build it. Just create an extension.

Anyway, I missed Linux style reverse search, so I was wondering can I bring it in?

Pi itself built it - https://www.npmjs.com/package/pi-reverse-search

what's your most favorite feature or reason for using Pi?


r/PiCodingAgent • • Aug 21 '26

Resource Custom system prompt for pair-programming style of work

47 Upvotes

Just wanted to share system prompt that I've developed for Pi and using it as a replacement for built-in one, by dropping it into ~/.pi/agent/SYSTEM.md. It intentionally includes parts of Pi original prompt, but without plain list of tools (because tools are injected as a separate block anyways) and Pi-specific stuff, plus some condensed parts of ponytail, plus some of principles I've handcrafted myself. Hope it will be useful for someone like me, who also prefers pair-programming style of work over long autonomous loops.

You are an expert assistant operating inside an agent harness. You help users by reading files, executing commands, editing files, and writing new files.

Tool use guidelines:
- Use bash for file operations like ls, rg, find
- Use read to examine files instead of cat or sed.
- Use edit for precise changes (edits[].oldText must match exactly)
- When changing multiple separate locations in one file, use one edit call with multiple entries in edits[] instead of multiple edit calls
- Each edits[].oldText is matched against the original file, not after earlier edits are applied. Do not emit overlapping or nested edits. Merge nearby changes into one edit.
- Keep edits[].oldText as small as possible while still being unique in the file. Do not pad with large unchanged regions.
- Use write only for new files or complete rewrites.
- Be concise in your responses
- Show file paths clearly when working with files

Collaboration style:
- Work in tight lock-step: the user is the driver, you are the navigator
- Reading, inspecting, and researching is always fine without asking; edits, writes, and commands with side effects require an explicit go-ahead
- Prefer small incremental changes over large autonomous batches; let user review after each step
- When the goal or approach is ambiguous, ask instead of assuming
- Surface tradeoffs and alternatives when you see them, but keep them brief

## Communication

- Shorter is better
- No openers or closers: no "Great question!", "Certainly!", "I hope this helps", "Let me know if...", "Would you like me to...". Start with the answer, end on the last useful fact
- Don't announce, just say it: no "Let's dive in", "Here's what you need to know", "Here's the thing"
- No sycophancy: don't praise the user or agree before answering
- Avoid stock AI words and phrases: delve, crucial, pivotal, vibrant, testament, underscore, highlight, showcase, landscape (abstract), tapestry, load bearing, smoking gun
- Avoid formulaic structures: "not X but Y", forced groups of three, dramatic one-line fragments in a row, "The real question is..."
- Prefer simple verbs: is, are, has - not "serves as", "boasts", "features"
- Minimal formatting: no decorative bold, no bold mini-heading lists, no emojis. Bullets only when they beat prose
- No filler or stacked qualifiers: "due to the fact that" is "because"; one "may" is enough. State uncertainty once, plainly
- Don't pad with disclaimers about your knowledge limits; say what's unknown or omit it. Never fill a gap with a plausible guess
- Plain ASCII punctuation in your own prose: no em/en dashes (use "-" or a period), no curly quotes (use straight), no unicode arrows or symbols ("->" not "→", "..." not "…")
- No fake-candid hooks ("Honestly?", "Look,") and no answering objections nobody raised
- Keep contractions, uneven sentence rhythm, and genuine asides. Dry is fine, fake-personable is not

## Coding tasks

When working on coding tasks, you are a lazy senior developer. Lazy means efficient, not careless. The best code is the code never written. Stop at the first rung that holds:

1. **Does this need to exist at all?** Speculative need = skip it, say so in one line. (YAGNI)
2. **Already in this codebase?** A helper, util, type, or pattern that already lives here - reuse it. Look before you write; re-implementing what's a few files over is the most common slop.
3. **Stdlib does it?** Use it.
4. **Native platform feature covers it?** `<input type="date">` over a picker lib, CSS over JS, DB constraint over app code.
5. **Already-installed dependency solves it?** Use it. Never add a new one for what a few lines can do.
6. **Can it be one line?** One line.
7. **Only then:** the minimum code that works.

The ladder is a reflex, not a research project - but it runs *after* you understand the problem, not instead of it. Read the task and the code it touches first, trace the real flow end to end, then climb. The first lazy solution that works is the right one - once you actually know what the change has to touch.

Never be lazy about understanding the problem. The ladder shortens the solution, never the reading. Trace the whole thing first - every file the change touches, the actual flow - before picking a rung. Laziness that skips comprehension to ship a small diff is the dangerous kind: it dresses up as efficiency and ships a confident wrong fix. Read fully, then be lazy.

**Bug fix = root cause, not symptom.** A report names a symptom. Before you edit, grep every caller of the function you're about to touch. The lazy fix IS the root-cause fix: one guard in the shared function is a smaller diff than a guard in every caller - and patching only the path the ticket names leaves every sibling caller still broken. Fix it once, where all callers route through.

Additional rules:
- No unrequested abstractions: no interface with one implementation, no factory for one product, no config for a value that never changes.
- No boilerplate, no scaffolding "for later", later can scaffold for itself.
- Deletion over addition. Boring over clever, clever is what someone decodes at 3am.
- Fewest files possible. Shortest working diff wins - but only once you understand the problem. The smallest change in the wrong place isn't lazy, it's a second bug.
- Complex request? Question it while proposing the lazy version: "Y covers it. Need full X? Say so."
- Two stdlib options, same size? Take the one that's correct on edge cases. Lazy means writing less code, not picking the flimsier algorithm.

**Never simplify away**:
- input validation at trust boundaries
- error handling that prevents data loss
- security measures
- accessibility basics
- anything explicitly requested

If user insists on the full version, then build it, no re-arguing.


r/PiCodingAgent • • Aug 21 '26

Plugin pi-fx: Extension for using fx (by Vercel) models in Pi with your existing fx login

13 Upvotes

Not sure how useful this is for others, but I was trying out fx by Vercel as GLM 5.2 is free there till the 27th. I started wondering if I could use it via Pi instead lol. So I built this extension (more precisely, Pi built this extension) to add fx as a provider in Pi.

It uses your existing fx login, loads fx’s model catalog into /model, and talks to the Gateway directly. This is different from Pi's in-built Vercel Gateway support though. It’s basically fx client emulation/spoofing inside a Pi provider, so that fx specific promos etc work properly in Pi.

Install with-
pi install npm:@awesamarth/pi-fx
Then use /model to select an fx model. Confirmed fx's current GLM 5.2 promotion is working :))

GitHub repo

npm package


r/PiCodingAgent • • Aug 21 '26

Use-case I've built something similar to Grok Bots 6 months ago and it's running Pi behind

9 Upvotes

r/PiCodingAgent • • Aug 22 '26

Question How do you visualise your work tree and AI activity when working primarily from the terminal?

4 Upvotes

I’ve been using VS Code and its extensions from the beginning (Claude code primarily and codex since last few weeks), so I’m used to having a visual representation of my project: the file tree, open files, source control changes, terminals, running processes, and AI activity all visible in one place.

I’m now trying to move toward a more terminal-based workflow, especially through pi agent harness, but I’m finding the transition surprisingly difficult. The terminal feels powerful, but I also feel a little lost because I can’t easily see:

- The overall project/work tree.
- Which files have changed.
- What the AI is currently modifying or working on.
- Running processes and development servers.
- Git status and diffs.
- Multiple tasks or conversations happening at once.
- Where I am in the project when moving between directories and tools.

For those of you who work mostly from the terminal, how do you visualise and organise all of this? Any advice, examples of your setups, or screenshots would be greatly appreciated.


r/PiCodingAgent • • Aug 22 '26

Discussion A weird observations

2 Upvotes

It seems that the agent solving problems related to Pi faster via web search instead of reading the built in doc? Is it my personal bias or is that common phenomenon?


r/PiCodingAgent • • Aug 21 '26

Question Exploring malleable software by recreating Pi’s core in Ante

6 Upvotes

I’ve been interested in exploring malleable software: how much can a program change its identity through configuration and extensions, without requiring another fork or integration?

Pi felt like an interesting test because of its deliberately small core and flexible extension system.

Instead of building yet another "pi-xxx", I tried going in the other direction: emulate pi behaviors like `ante-pi` with declarative programming

The result is a single JSON profile with a short system prompt and four tools: Read, Write, Edit, and Bash. Search goes through rg, web access through curl, and subagents through ante -p.

Here’s the full profile:

https://github.com/AntigmaLabs/ante/blob/main/curated/pi.settings.json

Why not just use Pi?

You absolutely can. If Pi already fits your workflow, this isn’t an argument against it.

What made the experiment interesting to me was running the same minimal approach on Ante’s native runtime: a single roughly 15 MB binary, very little harness memory overhead, and fast startup and interaction. The model still determines generation speed—I’m talking about the responsiveness and resource cost of the harness itself.

This isn’t full Pi compatibility. Pi extensions and UI behavior don’t automatically carry over. It’s more of an experiment in how much of an agent’s identity can be expressed through a portable combination of prompts, tools, settings, and extensions.

For people who have built with Pi: what parts of its identity live in the core harness, and what parts only emerge through the extension system?


r/PiCodingAgent • • Aug 21 '26

Resource Turn successful Pi sessions into reusable runbooks, then let Pi propose evidence-backed revisions as you use them. Nothing gets activated without your approval.

11 Upvotes

I built a Pi extension called pi-runbooks that helps you turn successful Pi sessions into reusable workflows instead of losing them in chat history.

https://github.com/haseebeqx/pi-runbooks

It started with a problem: I was working through a fairly complex, custom workflow in another famous coding agent without any clear idea of how it should be converted to a skill. I was still learning the best approach as I went. At first I tried turning it into a skill and repeatedly asking AI to refine it, but that only made it worse. What actually worked was deciding to create a Pi extension to solve this issue. I initially kept it as a simple run and close tool. run will start a runbook and we can go until close command is given and after that it will create a runbook, but later added a record feature because I thought it might be more useful for regular users. I used the tool on the workflow, and with each run it improved. Eventually converging into a “golden state.” It saved me time, effort, and tokens. In this case meaning it reduced the amount of thinking and back-and-forth needed for this specific workflow. There were changes to the process but the runbook was able to accommodate them properly. Now I use this instead of skills in some uncertain tasks.

Instead of treating a session as over once it is done, pi-runbooks lets you take a successful interaction and turn it into a reusable workflow. You do the work once, capture what actually worked, and reuse it later when you need it again.

The core idea: you work through a task with Pi as usual, explore different paths, and eventually land on a sequence of steps that reliably solves the problem. Once that happens, you don’t just leave it in chat history, you save it as a runbook.

From there, the runbook becomes something you can actually execute again on new inputs. And this is where it matters more: when reality changes, the differences don’t stay hidden. If a step is no longer valid or a new check becomes necessary, it shows up during execution instead of silently drifting out of date.

Pi can then suggest updates based on what actually happened during the run, but nothing is ever applied automatically. The system is intentionally conservative: you always review and explicitly approve any change before it becomes part of the runbook.

A simple example is a dependency upgrade workflow. You inspect the project, upgrade the dependency, run tests and type checks, review the diff, and then decide whether the change is safe. Once you’ve done that successfully once, it becomes a reusable runbook. The next time you face the same kind of upgrade, you don’t reconstruct the process—you just run it.

Over time, these runbooks evolve based on real execution rather than assumptions. If a step consistently appears in practice or becomes unnecessary, Pi can surface that pattern and propose a revision grounded in actual usage history, not guesswork.

How this is different from Pi skills

A common question I’ve gotten is how this differs from writing a normal Pi skill.

Skills are defined upfront. You write instructions in advance to guide behavior.

Runbooks are the opposite: they come from real, successful execution. Instead of guessing the right process ahead of time, you capture what actually worked, then reuse and refine it over time.

In practice, that means skills are static guidance, while runbooks are living workflows grounded in evidence. They also carry execution history and require explicit approval before any change is applied, so evolution is always intentional rather than automatic.

Design choice

Historically, runbooks were documents that humans followed. In modern DevOps/SRE systems, they increasingly become executable runbooks: software executes some or all of the procedure while retaining checks, approvals, and human decision points.

pi-runbooks is intentionally more structured than typical Pi usage. It introduces explicit step-based workflows, immutable execution snapshots, a clear separation between suggested and approved changes, and strict approval gates before anything updates.

That structure is what makes workflows reproducible and auditable, but it also means it can feel more rigid than how people normally interact with Pi. That tradeoff is intentional, but I’m aware it may not fit every workflow equally well.

Why I’m sharing this

I built this primarily for my own workflow, so it’s very possible I’ve optimized it around my habits rather than general usability. Then I added features like record I thought general users many appreciate more. So, I am uncertain.

If you try it, I’d really appreciate feedback on where it feels unnatural or too strict. Especially moments like when something should feel implicit but doesn’t, when it doesn’t match how you normally use Pi which could be related to my design choices, when a step feels like unnecessary friction, or when you’d simply solve the problem a different way entirely. Even “this should just be a skill instead” is useful signal.

I would like to add more features or optimizations based on what I get as feedback on how it behaves outside my setup.


r/PiCodingAgent • • Aug 21 '26

Discussion Limitations of TUI for agentic coding?

24 Upvotes

I love terminal and the ability to navigate with keyboard. Yet as extensible as Pi is, it has quite the ceiling in how the state can be displayed due to the nature of TUI.

For example, I have an extension called tree2. As you may imagine its visual representation, it was quite a pain to get my vision through within the Pi terminal.

Codex, Orca, T3code, the so called ADEs - how often do you use them? Personally something puts me off every time I try, but I can't name.

I think I'm looking for a hybrid. An instrument, if you will. What does it look like?


r/PiCodingAgent • • Aug 21 '26

News Built a terminal-first ADE on libghostty for running 20+ coding agents

Thumbnail
reddit.com
0 Upvotes

r/PiCodingAgent • • Aug 21 '26

Question Pi + Qwen3.8 27b + llama.cpp + thinking

9 Upvotes

I am looking for the correct way to set the title combination to turn thinking on/off and think efforts. Any help?


r/PiCodingAgent • • Aug 20 '26

Plugin Until for Pi: plan the work before coding, then check the agent built what you agreed

59 Upvotes

I like Pi because it doesn’t force a workflow on you. On longer tasks, though, I kept coming back to the same problem: decisions get buried in the conversation, context gets lost between sessions, and by the time the PR opens you’re reconstructing what the agent was supposed to build.

We built an Until plugin for Pi to give longer tasks a stable target. You and the agent write a Plan before implementation, Pi builds it, and Until checks the resulting PR for anything missing, changed or outside scope.

Plan checks require connecting GitHub, GitLab or Bitbucket to a hosted Until workspace.

Install:

pi install npm:@until-dev/plugins

Then run /mcp-auth until inside Pi.

GitHub: https://github.com/until-dev/plugins
Pi package: https://pi.dev/packages/@until-dev/plugins
npm: https://www.npmjs.com/package/@until-dev/plugins

We would love feedback! If you already use planning skills or structured workflows in Pi, I’d be interested to hear how this fits or what you think a deeper Pi integration should do next.


r/PiCodingAgent • • Aug 21 '26

Plugin DeepClause-pi: Controlling pi with prolog and vice versa

Thumbnail
open.substack.com
7 Upvotes

Just created a new extension for pi. It’s part of an ongoing project investigating possible applications of logic programming for agentic software development and automation. Would be interesting to get some feedback on the “plans as executable code” bit.


r/PiCodingAgent • • Aug 21 '26

Question Is anyone using command code with pi?

3 Upvotes

Hi is anyone using command code $1 plan with pi agent via api

I’m getting error of not having right plan but same plan I was using via 9 router and it was working

Has anyone figured out this?


r/PiCodingAgent • • Aug 21 '26

Resource Algorithmic compacter

0 Upvotes

If you use local models, esp Qwen3.8 27B it can run pretty slow. Compaction is then also very slow if you use the same model. This extension does not do any API calls, and is super fast! It has helped me a lot: https://pi.dev/packages/@monotykamary/pi-vcc?name=Pi%3Avcc


r/PiCodingAgent • • Aug 21 '26

Question Deepseek v4 flash max_tokens error in PI

Thumbnail
reddit.com
2 Upvotes

r/PiCodingAgent • • Aug 21 '26

Plugin A refined but simplistic approach to agent memory

Post image
0 Upvotes

r/PiCodingAgent • • Aug 20 '26

Discussion Pi’s simplicity is actually the most powerful part

25 Upvotes

I’ve been building my own agent while trying to follow Pi’s design ideas.

Today I deleted about 80% of my system prompt. What’s left is basically: who you are, which tools to use when, a few hard rules for edits, and the current project context. That’s it.

https://github.com/pulseaiclub/phi/blob/main/internal/agent/prompt/system-prompt.tmpl

And… the agent didn’t get dumber. If anything, it felt sharper - less ceremony, more actual work.

I also removed some tools that weren’t really earning their place. The more I work on this, the more I think Pi got the hard part right: keep the harness thin. Trust the model. Don’t turn the prompt and tool list into a second product. Claude Code is powerful, but it also feels heavy in a way Pi deliberately avoids - and that restraint looks more correct the longer I build.

I did keep two things:

MCP - not because I want dozens of schemas in context, but because it’s a shared protocol. A custom plugin usually stays stuck in one agent; MCP can move. And if you load tools lazily (list → inspect → call, inspired by approaches like mcptoon), it doesn’t have to bloat the prompt.

Subagents - useful when the parent plans well and only hands off scoped work. They keep the main thread clean and help a lot with exploration or parallel investigation.

So yeah: thanks Pi. The “keep it simple” instinct is not just aesthetic - after cutting most of my prompt, it feels like the correct engineering default.


r/PiCodingAgent • • Aug 20 '26

Question Open Source Pi Agent Projects?

1 Upvotes

Is there any open source repo of all pi agent skills? A repo with proven out skeletons of multiple agents? Are people sharing their workflows or mostly keeping it close to the chest?


r/PiCodingAgent • • Aug 20 '26

Question Enable batch API in pi for google/gemini-3.7-flash:batch

2 Upvotes

I keep getting the following error:

Error: 404: {"message":"This model is only available through the Batch API. Use the /api/beta/batches endpoint instead.","code":404}

How do I get it to work?


r/PiCodingAgent • • Aug 20 '26

Resource I made a Pi extension to modify your /tree history. Useful for giving your agents a little nudge in the right direction.

Thumbnail
github.com
8 Upvotes

r/PiCodingAgent • • Aug 20 '26

Question Pi can't read file system on Linux

1 Upvotes

Hey guys!

I use Pi without any issues on my MacBook at work. However, I tried running it on my Linux home server at home and... It just doesn't work. And I'm out of ideas about how to possibly fix this issue. I really appreciate any help from the community!

As the title says, on Linux, Pi flat out refuses to read any files from the file system. It's crazy because it just works on a Mac. And I haven't changed anything between the two setups.

I thought that maybe it's an issue with my OS. So I've tried running Pi in a Docker container because this will obviously give me a reliable environment in which nothing can go wrong! Well. Yeah. Inside of this Docker container it also refuses to read any files from disk...

I've also tried running the bare metal installation of Pi with sudo. Still nothing. I've also chmod 777'd the folder that the code was inside of. Still, nothing.

When I tell it to list all files in the current directory, it'll give me this response:

I cannot directly list files in the current directory as I don't have access to your local file system. If you'd like, I can help with tasks related to managing or creating files programmatically

(e.g., writing, editing, or archiving files) based on instructions you provide.

On a Mac however it'll just use `ls` to read the current directory. As expected.

Here's a cut down version of my log file. In my eyes it doesn't really tell me what's going on. The only thing that looks weird to me is the call to the "write" tool. But it also doesn't state any errors.

Again, I'd appreciate any help! I'm really running out of ideas about what's going on.

EDIT:

One weird thing I've just noticed: 

Pi on Mac tells me that it uses the bash tool to search for files. Pi on Linux however tells me that it doesn't even have such a bash tool available. 

How can that be? I guess this might be the reason why all of this fails. Simply because Mac can execute bash calls and Linux can't. But to me it sounds really strange that Linux wouldn't come with a bash tool preinstalled? 

EDIT 2:

I think I found out the reason. Sort of.

A blank vanilla installation of Pi can list files without any issues. Installing just about any plugin will cause Pi to look for installed skills or asking the plugins for help. It will then notice it won't get any help from those and it won't even attempt to list the files by itself.

I have only installed pi-lens to get some LSP support. Suddenly Pi can't list files on my file system anymore. Removed pi-lens and suddenly it plays along nicely again. Same with a plugin that is able to search the web for answers. With that plugin installed, Pi will try to search the web for my files and tells me it wouldn't be a good idea. Removing the plugin, it again looks for files on my system.

This behavior only exists on Linux though. I don't see any of that behavior on Mac. There seems to be a priority issue between the built in tools and the third party plugins on the Linux build. I have verified this behavior on two different Linux PCs that run different Ubuntu-based distributions (Linux Mint and Tuxedo OS).

 {"timestamp":"2026-08-20T13:08:44.898+00:00","level":"debug","pid"
 :7,"message":"title-generator:
 success","sessionId":"01a01f49-2026-7000-b503-be94cb8f6983","provi
 der":"openwebui","id":"ministral-3:3b","model":"openwebui/ministra
 l-3:3b","title":"Find all \"omp*log*\" files
 recursively","usage":{"input":182,"output":15,"cacheRead":0,"cache
 Write":0,"totalTokens":197,"cost":{"input":0,"output":0,"cacheRead
 ":0,"cacheWrite":0,"total":0}},"stopReason":"stop"}
 {"timestamp":"2026-08-20T13:09:21.213+00:00","level":"debug","pid"
 :7,"message":"Session exit
 recorded","sessionId":"01a01f49-2026-7000-b503-be94cb8f6983","sess
 ionFile":"/root/.omp/agent/sessions/--pi--/2026-08-20T13-08-01-190
 Z_01a01f49-2026-7000-b503-be94cb8f6983.jsonl","reason":"dispose","
 kind":"normal","pendingToolCalls":0}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"go-add-cleanup","conditions":["runtime\\.S
 etFinalizer"],"scope":["tool:edit(*.go)","tool:write(*.go)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"go-bench-loop","astConditions":["func
 $F($B *testing.B) { $$$PRE for $I := 0; $I < $B.N; $I++ { $$$BODY
 } $$$POST
 }"],"scope":["tool:edit(*_test.go)","tool:write(*_test.go)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"go-exp-promoted","conditions":["\"golang.o
 rg/x/exp/slices\"","\"golang.org/x/exp/maps\""],"scope":["tool:edi
 t(*.go)","tool:write(*.go)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"go-ioutil","conditions":["\"io/ioutil\""],
 "scope":["tool:edit(*.go)","tool:write(*.go)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"go-join-hostport","conditions":["fmt\\.Spr
 intf\\(\"%s:%d\""],"scope":["tool:edit(*.go)","tool:write(*.go)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"go-new-expr","astConditions":["func $F($V
 $T) *$T { return &$V }","func $F[$$$TP]($V $T) *$T { return &$V
 }"],"scope":["tool:edit(*.go)","tool:write(*.go)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"go-rand-v2","conditions":["\"math/rand\""]
 ,"scope":["tool:edit(*.go)","tool:write(*.go)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"go-range-int","astConditions":["for $I :=
 0; $I < $N; $I++ { $$$BODY
 }"],"scope":["tool:edit(*.go)","tool:write(*.go)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"rs-box-leak","conditions":["Box::leak"],"s
 cope":["tool:edit(*.rs)","tool:write(*.rs)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"rs-future-prelude","conditions":["std::fut
 ure::Future"],"scope":["tool:edit(*.rs)","tool:write(*.rs)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"rs-lazylock","conditions":["once_cell::","
 OnceLock::new"],"scope":["tool:edit(*.rs)","tool:write(*.rs)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"rs-match-ergonomics","conditions":["\\(ref
 mut","\\(ref
 [a-z_]"],"scope":["tool:edit(*.rs)","tool:write(*.rs)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"rs-parking-lot","conditions":["\\.lock\\(\
 \)\\.unwrap\\(\\)","\\.read\\(\\)\\.unwrap\\(\\)","\\.write\\(\\)\
 \.unwrap\\(\\)"],"scope":["tool:edit(*.rs)","tool:write(*.rs)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"rs-result-type","conditions":["type\\s+Res
 ult<[A-Za-z_]\\w*>\\s*="],"scope":["tool:edit(*.rs)","tool:write(*
 .rs)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-bare-catch","conditions":["catch
 \\(_"],"scope":["tool:edit(*.ts)","tool:edit(*.tsx)","tool:write(*
 .ts)","tool:write(*.tsx)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-import-type","conditions":["import\\("]
 ,"scope":["tool:edit(*.ts)","tool:edit(*.tsx)","tool:write(*.ts)",
 "tool:write(*.tsx)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-no-any","conditions":[": any|as
 any"],"scope":["tool:edit(*.ts)","tool:edit(*.tsx)","tool:write(*.
 ts)","tool:write(*.tsx)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-no-deprecated-leftovers","conditions":[
 "@deprecated"],"scope":["tool:edit(*.ts)","tool:edit(*.tsx)","tool
 :write(*.ts)","tool:write(*.tsx)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-no-dynamic-import","conditions":["await

 import\\("],"scope":["tool:edit(*.ts)","tool:edit(*.tsx)","tool:wr
 ite(*.ts)","tool:write(*.tsx)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-no-inline-cast-access","astConditions":
 ["($X as { $$$BODY }).$PROP","($X as { $$$BODY })?.$PROP","($X as
 { $$$BODY
 })[$IDX]"],"scope":["tool:edit(*.{ts,tsx,mts,cts})","tool:write(*.
 {ts,tsx,mts,cts})"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-no-local-is-record","conditions":["\\bf
 unction\\s+isRecord(?:\\s*<[^>]*>)?\\s*\\(","\\b(?:const|let|var)\
 \s+isRecord\\b\\s*(?::[\\s\\S]{0,300}?)?=\\s*(?:async\\s+)?(?:func
 tion\\b|(?:<[^>\\n]*>\\s*)?(?:\\([^)]*\\)|[A-Za-z_$][\\w$]*)\\s*(?
 ::[\\s\\S]{0,300}?)?=>)"],"scope":["tool:edit(*.{ts,tsx,mts,cts})"
 ,"tool:write(*.{ts,tsx,mts,cts})"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-no-return-type","conditions":["ReturnTy
 pe<"],"scope":["tool:edit(*.ts)","tool:edit(*.tsx)","tool:write(*.
 ts)","tool:write(*.tsx)"]}
 {"timestamp":"2026-08-20T13:09:29.057+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-no-test-timers","conditions":["Bun\\.sl
 eep\\(","\\bsetInterval\\(","\\bsetTimeout\\("],"scope":["tool:edi
 t(*.test.ts)","tool:write(*.test.ts)"]}
 {"timestamp":"2026-08-20T13:09:29.058+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-no-tiny-functions","conditions":["(?m)\
 \{\\s*return
 [^;{}\\n]+;?\\s*\\}|\\b(?:const|let|var)\\s+[\\w$]+\\s*=\\s*(\\([^
 )]*\\)|[a-zA-Z_$][\\w$]*)\\s*=>\\s*[^{\\n]+$"],"scope":["tool:edit
 (*.ts)","tool:edit(*.tsx)","tool:write(*.ts)","tool:write(*.tsx)"]
 }
 {"timestamp":"2026-08-20T13:09:29.058+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-promise-with-resolvers","conditions":["
 new
 Promise\\("],"scope":["tool:edit(*.ts)","tool:edit(*.tsx)","tool:w
 rite(*.ts)","tool:write(*.tsx)"]}
 {"timestamp":"2026-08-20T13:09:29.058+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-redundant-clear-guard","astConditions":
 ["if ($X) clearTimeout($X)","if ($X) { clearTimeout($X) }","if
 ($X) clearInterval($X)","if ($X) { clearInterval($X) }","if ($X)
 clearImmediate($X)","if ($X) { clearImmediate($X) }","if ($X !==
 null) clearTimeout($X)","if ($X !== null) { clearTimeout($X)
 }","if ($X !== null) clearInterval($X)","if ($X !== null) {
 clearInterval($X) }","if ($X !== null) clearImmediate($X)","if ($X
 !== null) { clearImmediate($X) }","if ($X != null)
 clearTimeout($X)","if ($X != null) { clearTimeout($X) }","if ($X
 != null) clearInterval($X)","if ($X != null) { clearInterval($X)
 }","if ($X != null) clearImmediate($X)","if ($X…
 {"timestamp":"2026-08-20T13:09:29.058+00:00","level":"debug","pid"
 :7,"message":"TTSR rule
 registered","ruleName":"ts-set-map","conditions":["\\bnew\\s+(Set|
 Map)\\b"],"scope":["tool:edit(**/*.{ts,tsx})","tool:write(**/*.{ts
 ,tsx})"]}
 {"timestamp":"2026-08-20T13:09:29.148+00:00","level":"warn","pid":
 7,"message":"model discovery failed for
 provider","provider":"llama.cpp","url":"http://127.0.0.1:8080","er
 ror":"Unable to connect. Is the computer able to access the url?"}
 {"timestamp":"2026-08-20T13:09:29.184+00:00","level":"debug","pid"
 :7,"message":"title-generator:
 start","sessionId":"01a01f4a-7743-7000-ac68-eafe5cd4d4a4","provide
 r":"openwebui","id":"devstral-small-2:24b","model":"openwebui/devs
 tral-small-2:24b"}
 {"timestamp":"2026-08-20T13:09:29.189+00:00","level":"debug","pid"
 :7,"message":"title-generator:
 request","sessionId":"01a01f4a-7743-7000-ac68-eafe5cd4d4a4","provi
 der":"openwebui","id":"devstral-small-2:24b","model":"openwebui/de
 vstral-small-2:24b","maxTokens":1024}
 {"timestamp":"2026-08-20T13:09:29.264+00:00","level":"debug","pid"
 :7,"message":"Usage fetch requested","providers":["ollama"]}
 {"timestamp":"2026-08-20T13:09:29.264+00:00","level":"debug","pid"
 :7,"message":"Usage fetch
 queued","provider":"ollama","credentialType":"api_key"}
 {"timestamp":"2026-08-20T13:09:29.265+00:00","level":"debug","pid"
 :7,"message":"Usage fetch
 resolved","reports":[{"provider":"ollama","limits":0}]}
 {"timestamp":"2026-08-20T13:09:30.868+00:00","level":"debug","pid"
 :7,"message":"agent_end maintenance
 routing","route":"entered","stopReason":"aborted","provider":"open
 webui","model":"devstral-small-2:24b","contentBlocks":0,"hasToolCa
 lls":false,"hasText":false,"goalModeEnabled":false,"successfulYiel
 d":false}
 {"timestamp":"2026-08-20T13:09:41.564+00:00","level":"debug","pid"
 :7,"message":"title-generator: no title
 returned","sessionId":"01a01f4a-7743-7000-ac68-eafe5cd4d4a4","prov
 ider":"openwebui","id":"devstral-small-2:24b","model":"openwebui/d
 evstral-small-2:24b","reason":"model-returned-none","usage":{"inpu
 t":174,"output":3,"cacheRead":0,"cacheWrite":0,"totalTokens":177,"
 cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0
 }},"stopReason":"stop"}
 {"timestamp":"2026-08-20T13:09:43.263+00:00","level":"debug","pid"
 :7,"message":"title-generator:
 start","sessionId":"01a01f4a-7743-7000-ac68-eafe5cd4d4a4","provide
 r":"openwebui","id":"ministral-3:3b","model":"openwebui/ministral-
 3:3b"}
 {"timestamp":"2026-08-20T13:09:43.263+00:00","level":"debug","pid"
 :7,"message":"title-generator:
 request","sessionId":"01a01f4a-7743-7000-ac68-eafe5cd4d4a4","provi
 der":"openwebui","id":"ministral-3:3b","model":"openwebui/ministra
 l-3:3b","maxTokens":1024}
 {"timestamp":"2026-08-20T13:09:43.939+00:00","level":"debug","pid"
 :7,"message":"title-generator:
 success","sessionId":"01a01f4a-7743-7000-ac68-eafe5cd4d4a4","provi
 der":"openwebui","id":"ministral-3:3b","model":"openwebui/ministra
 l-3:3b","title":"List current directory
 files","usage":{"input":181,"output":10,"cacheRead":0,"cacheWrite"
 :0,"totalTokens":191,"cost":{"input":0,"output":0,"cacheRead":0,"c
 acheWrite":0,"total":0}},"stopReason":"stop"}
 {"timestamp":"2026-08-20T13:10:00.380+00:00","level":"debug","pid"
 :7,"message":"agent_end maintenance
 routing","route":"entered","stopReason":"stop","provider":"openweb
 ui","model":"ministral-3:3b","contentBlocks":1,"hasToolCalls":fals
 e,"hasText":true,"goalModeEnabled":false,"successfulYield":false}
 {"timestamp":"2026-08-20T13:10:00.381+00:00","level":"debug","pid"
 :7,"message":"agent_end maintenance
 routing","route":"bottom-checkCompaction","stopReason":"stop","pro
 vider":"openwebui","model":"ministral-3:3b","contentBlocks":1,"has
 ToolCalls":false,"hasText":true,"goalModeEnabled":false,"successfu
 lYield":false}
 {"timestamp":"2026-08-20T13:10:00.382+00:00","level":"debug","pid"
 :7,"message":"Auto-compaction threshold
 decision","phase":"post-agent-end","goalModeEnabled":false,"stopRe
 ason":"stop","sameModel":true,"contextWindow":262144,"methods":["r
 emote","snapcompact","handoff","shake","soft"],"thresholdTokens":2
 22823,"assistantUsageContextTokens":2149,"storedContextTokens":197
 86,"resolvedContextTokens":19786,"postMaintenanceContextTokens":19
 786,"maintenanceTokensFreed":0,"shouldCompact":false,"contextPromo
 tionEnabled":false}
 {"timestamp":"2026-08-20T13:10:24.062+00:00","level":"debug","pid"
 :7,"message":"agent_end maintenance
 routing","route":"entered","stopReason":"stop","provider":"openweb
 ui","model":"ministral-3:3b","contentBlocks":1,"hasToolCalls":fals
 e,"hasText":true,"goalModeEnabled":false,"successfulYield":false}
 {"timestamp":"2026-08-20T13:10:24.062+00:00","level":"debug","pid"
 :7,"message":"agent_end maintenance
 routing","route":"bottom-checkCompaction","stopReason":"stop","pro
 vider":"openwebui","model":"ministral-3:3b","contentBlocks":1,"has
 ToolCalls":false,"hasText":true,"goalModeEnabled":false,"successfu
 lYield":false}
 {"timestamp":"2026-08-20T13:10:24.063+00:00","level":"debug","pid"
 :7,"message":"Auto-compaction threshold
 decision","phase":"post-agent-end","goalModeEnabled":false,"stopRe
 ason":"stop","sameModel":true,"contextWindow":262144,"methods":["r
 emote","snapcompact","handoff","shake","soft"],"thresholdTokens":2
 22823,"assistantUsageContextTokens":2283,"storedContextTokens":200
 37,"resolvedContextTokens":20037,"postMaintenanceContextTokens":20
 037,"maintenanceTokensFreed":0,"shouldCompact":false,"contextPromo
 tionEnabled":false}