Comment by aciceri
I love Emacs and the fact that it enables a feedback loop where you keep tweaking Emacs itself to improve your workflow while you are in the workflow. I wanted to achieve something similar when orchestrating agents.Over the last year almost all of my work has become giving instructions to agents, watching them operate, or asking them to explain things to me so I can make better-informed decisions. While models and agents keep improving, I think there is still a big gap to close, and that gap is precisely usability and user experience: why always use the same interface for jobs that are very different from each other?
That's why I decided to build omfp: a minimal core for creating interfaces and workflows around AI agents, so I can experiment with different ones and steer my agents more easily.
In practical terms it's very simple. The agent loop, the tools and the providers (Anthropic, OpenAI, ...) are delegated to the excellent oh-my-pi (https://github.com/can1357/oh-my-pi), while omfp is a persistent Rust daemon that orchestrates omp sessions over RPC and gives agents tools to modify, in real time, the interfaces of the connected clients: a React web client and a Tauri desktop one.
The minimal unit of work is a workspace: a folder (not even necessarily a repo) holding your work, where threads, i.e. sessions with agents, are started. Inside its .omfp folder agents declare views (screens combining React components they write freely), jobs (scheduled threads or commands) and keybindings.
You can probably achieve the same with the tools you already use (I was already doing something similar with oh-my-pi), but omfp gives agents a consistent graphical toolkit and modifiable built-in widgets they can load into views without reloading, which makes the feedback loop much faster. I've been using it for a few weeks now and it's making agent orchestration not boring again.
Of course, like any hardcore Emacs user, I ended up re-implementing my entire operating system inside omfp, so now I literally use it for everything. Here are some examples of things I built from inside omfp, just by asking my agents while using it (none of them touched omfp's own code):
- a nightly job that rereads all my conversations and proposes issues to open on omfp, based on the friction the agents ran into while using its tools and modifying its interface
- clicking on a PR opens a tab showing the GitHub diffs/comments, while a background job splits the diffs logically and comments on them, explaining what they do and giving context
- a kanban board of the actions I need to take, generated automatically from emails, messages, Slack, etc., with text fields built into each item to reply directly
- cards right in the chat that show the progress of frequent actions (like deploying NixOS machines) or unlock the ssh-agent by entering the passphrase
- an email client, and a unified messaging client for WhatsApp/Telegram/Discord/Signal (Matrix bridges under the hood)
- a browser (Tauri can create webviews, so omfp can too; very haram, not sure it's a good idea) where omfp injects JS into the pages: they follow my omfp theme, I have a vibe-coded adblocker, Bitwarden is integrated, and I can duplicate a page with a custom prompt, e.g. rewriting it without the marketing fluff while keeping the formatting
It probably goes without saying, but omfp is entirely LLM-written: it has been developed inside omfp itself since version 0.1.
I'm very curious to hear your comments. omfp is free software (GPL-3.0) for Linux and macOS: I mostly use it on NixOS, but I've also tried it on macOS. To install it, just ask your agent (or see the README).
That's all, happy hacking!