r/PiCodingAgent • • 16d ago

Resource Loop: manage your Pi agents from your phone

I just released Loop: https://github.com/j-asefa/loop

It lets you run your Pi harness on the web (or on mobile) using a Cloudflare quick tunnel. It was designed as mobile-first but works equally well on desktop.

It discovers your Pi install and lets you steer agents from the web UI.

The UI is built around the feed (think: timeline) and the agent’s result as the unit of work. So you can scroll back, save, reply etc as you’d expect.

Runs on your own computer, no account, no server, no app store etc.

Also supports agent-to-agent communication, designing and building agent teams (across the major model providers), reviewing PRs from within the app and more!

21 Upvotes

32 comments sorted by

4

u/learning-to-programm 16d ago

Cool project. Looking forward to test it. We really needed something's in the Pi world that's equivalent to OpenChamber for OpenCode.

1

u/Two_Half_Pints 16d ago

Thanks! Appreciate the kind words. If you have any feedback I’d be keen to hear it

1

u/Two_Half_Pints 13d ago

Did you get a chance to try it, or PiChamber or Paseo since? Curious what's still missing for you in the Pi world. If you want to test Loop, I'd be glad to help you get set up and see where it trips you up.

1

u/Glum-Drop-5724 16d ago

PiChamber which is based on OpenChamber already exists.

2

u/[deleted] 16d ago

[removed] — view removed comment

2

u/chrspt 15d ago

I second this!

1

u/Two_Half_Pints 13d ago

Same question for you: curious what the last thing was Paseo couldn't do that sent you back to your desk?

1

u/Two_Half_Pints 13d ago

I have. Curios what you use Paseo for day to day, and is there anything you still go back to the laptop for?

1

u/wildjokers 16d ago

I can't imagine any scenario where I would want to control an agent through my phone. But maybe I just lack vision because I have seen other people ask for this too.

1

u/Two_Half_Pints 16d ago

I agree - it was a horrible experience!

For context, I built Loop because I was doing most of my agent work from a phone (new parent and was always holding the newborn in one hand and trying to chat to Claude/Codex in the other). The UX became super cumbersome very quickly so I decided to build something that was familiar to use on a phone.

It's built around the feed, with an agent's result as the unit of attention. Tool calls, traces etc are pushed to the background and only the information a human actually cares about is surfaced as cards in your feed. You can reply, quote, save etc on these cards. Gestures we are all familiar with are supported: swipe, long press, scroll. The goal is to make interacting with agents via your phone feel familiar and intuitive based on the mobile UX we’ve all come to expect.

1

u/poolback 16d ago

Not professionally, but using Paseo on my personal projects in my free time, while watching TV. "I want to add X, draft a spec" "pick up task Y and implement it." I get a notification when it's done.

1

u/Two_Half_Pints 13d ago

Curious about what the last thing was you tried to do with Paseo but couldn't and sent you back to your laptop? Also curious how many agents you usually have going, and whether you run them with permission prompts on or off?

2

u/poolback 13d ago

Great questions! So I'm still new to be clear. Personal setup: local LLM (running on 16GB VRAM) connecting through Pi (full privilege, should probably not do that...), only one agent. I guess I mostly go on the pc for local LLM management, config or checking what I build on a big screen, make sure it's fine. I guess I often do a spot check on the code there too. I can check it in the app, but not as ideal is a full screen.

Professionally, I'm in front of the laptop the whole day. But if I were to use the mobile phone to run multi agent, what I'd miss is a view to see the tasks progressing, with a link to the conversation with the agent. I'm actually developing my plugin to try and do that. They have some already made, but since I don't know if they are verified, for professional work I prefer my own.

My process is simple, work on a spec with an agent, have agents implement it, have to pass some quality gates, then review and commit. The easier I can do that, see what's going on, and check quality check results, I'm perfect.

1

u/Two_Half_Pints 13d ago

Nice, that’s similar to me professionally. I tried to build loop to make the free-form ideation phase more fun on mobile

1

u/poolback 13d ago

Let me ask you, how does Loop handles screenshots ? I have an issue with Paseo in which it doesn't really rely on the Pi underneath to normalize the images I sens it in the chat. If I need to send a screenshot, I have to connect it to Codex or something instead, even when using exactly the same models.

1

u/Two_Half_Pints 13d ago

Yes you can attach screenshots in Loop. It does some image preparation before uploading, then makes the file available for Pi to read through its native tools. It doesn’t currently pass it directly as an image attachment in Pi’s prompt, so I don’t want to claim it fixes the issue you’re seeing without testing.

Which model are you using when that happens, and what goes wrong? An error, or the model not seeing the screenshot properly? Does the same screenshot work when you send it directly in Pi?

1

u/poolback 13d ago

So I've done it with GPT-6.1 Sol, served on work's databricks, so clear vision capabilities. Paseo through Pi, the model answer it cannot see the image. Paseo through Codex, no issues. Went directly in Pi, settings clearly says it doesn't block any images. Haven't seen how to send image directly as it's in the CLI, but didn't try too much.

If I can, I will give loop a try tomorrow and let you know.

1

u/Two_Half_Pints 13d ago

Thanks, that helps narrow it down. If you get a chance to try Loop tomorrow, using the same screenshot and Databricks model would make a useful comparison. I’d be interested to hear whether it reads the screenshot or hits the same issue. Happy to help investigate either way!

1

u/Demortus 16d ago

Would this be compatable with pi-safe or other bubblewrapped versions of Pi? My greatest concern is that I do not want pi sessions to be running with zero supervision on my hardware without some limits on what it can do.

2

u/Two_Half_Pints 16d ago

Good Q - if it runs as a separate binary/command then it won't work out of the box, but if it's config-based then it should. I'll look into handling bubblewrapped pi installs

1

u/Demortus 16d ago

Awesome! If this works with bubblewrap, I'll be delighted to use your app :)

2

u/Two_Half_Pints 13d ago

Following up on bubblewrap: I tested it. Loop ran Pi inside a bwrap wrapper (set as the Pi executable).

One catch though: Loop puts each agent in a git worktree under the repo's .git, so the sandbox needs write access to the worktree, its entry under .git/worktrees, and objects, refs and logs. Keep hooks, config and the worktree's .git pointer read-only. With that, commits work!

Let me know if you want some help getting set up. I’d be happy to help with anything!

2

u/Demortus 13d ago

Awesome! Thank you for implementing this feature. :D

1

u/Two_Half_Pints 13d ago

Glad it helps! Just to clarify: I tested Loop with Pi running through a bubblewrap wrapper, sandboxing isn’t built into Loop yet :)

Are you already using a particular wrapper or sandbox with Pi? Curious if I can make things more seamless

1

u/Demortus 13d ago

I'm using bwrap within pi-safe on Linux. So, each pi session has its own bubblewrap in my setup. Sounds like this would work with your update to Loop, right?

2

u/Two_Half_Pints 13d ago

Is dimaginar/pi-safe the wrapper you’re referring to? It’s very close to the wrapper I tested. I spotted a couple of details to check with Loop’s launch protocol and git worktrees, so I’d want to just double check those before recommending it unchanged.

1

u/Demortus 13d ago

Yup, that's the one!

2

u/Two_Half_Pints 13d ago

Thanks for confirming! I’ll check that exact wrapper and report back with any changes needed 🫡

→ More replies