MACLIR
Peyk logo

Peyk

github.com/maclir/peyk ↗

Most of my ideas for these projects come when I am away from the laptop. For a while, the laptop was the only place they could go anywhere.

I keep a Google Keep checklist for every project. On the bus or in a queue, I add a line: a bug I noticed, a feature someone asked for, a thing to try. Later, at the laptop, I open the coding agent for that project, copy the line in, wait for it to finish, and tick the item off. Then the next one. A project gets one agent at a time, so I also had to remember which ones were still busy.

That is a lot of copying for something that is already written down.

Relay

The first fix was a small terminal program called Relay. It read every Keep checklist, showed which projects had an idle agent, and sent the item I picked to that agent. Then it ticked the item off in Keep and suggested the next one: the oldest open item on a project that was free.

It worked, but it still needed me at the laptop. I could not see which agent had finished, what it had said, or whether its work was committed and pushed, unless I was sitting in front of it.

Peyk

Three days later I replaced it. Peyk has two parts. A small program on the laptop watches every agent and publishes its state: working, done, or waiting for me, its last reply, and whether its commits are pushed. An app on my phone shows all of it, and sends a notification when an agent finishes or needs an answer.

Peyk also replaced Google Keep. It has its own inbox, stored in Firestore next to the agents' state, with one queue of ideas per project. I moved the open Keep items into it once and stopped using Keep for this. From the phone I can send an idea to an idle agent, which starts it on a clean conversation first. I can also reply to an agent, answer its questions, stop it, or push its work. Close the laptop program and the whole thing is offline. Nothing in the cloud runs while I am not using it.

I built it in one day. By late morning the inbox worked, and from then on I wrote Peyk's own feature requests into it from the phone and sent them to the agent working on Peyk. Showing the pages an agent publishes, attaching a screenshot to an idea, answering an agent's questions without opening the laptop: each one started as a line in that inbox.

The name

Peyk (پیک) is Persian for a courier: someone who carries a message to where it needs to go. The mark is a chat bubble holding the three dots of پ, the letter it starts with. They also look like the dots that show someone is typing.

Status
Open source, in daily use — github.com/maclir/peyk
Built with
Go, Firestore, Cloud Run, Web Push, passkeys
Before it
Relay: Python and Google Keep, retired after three days