Skip to content

First run

A fresh omfp is logged in nowhere, so no thread can start yet: the window welcomes you with Log in to a provider.

pi needs a model it can use: a provider it is logged in to, or an API key. omfp keeps its own logins, in pi’s format, in <data>/pi-agent/auth.json, shared by every thread and window; it never reads or writes standalone pi’s ~/.pi/agent.

  • :login opens the provider picker (:login anthropic skips it); finish in the browser, or paste the code the provider’s page shows. :logout <provider> removes omfp’s stored credentials of that provider.
  • An API key in the daemon’s environment (ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, …) works too.

New threads use Anthropic’s Claude Opus 5.5 unless the daemon gets --model <provider/id>; each thread’s header switches its model. Whether your provider’s terms allow this use of a plan is between you and your provider.

Every visible directory in the workspaces root (~/.omfp) is a workspace, plus each --workspace <dir> the daemon gets; Space w makes a new one from the window. Pick one in the left column and type in the chat: that starts a thread, whose agent works in the workspace’s directory.

omfp is built for yolo mode. A new thread’s agent runs commands and edits files without asking, with your user’s permissions, and nothing sandboxes it. That is what lets agents work in parallel and reshape the workspace while you are away, and also why omfp can be unsafe if you don’t know what you are doing. Run it on machines, accounts and repositories you are willing to hand to an agent, or pick a stricter approval mode.

The window’s : line runs commands (:help, :theme, :reload-init, …) and Space starts the leader keys (Space h h opens the help). Agents know omfp too: they read its reference at omfp://docs, so you can ask yours how something works or to build the view you want.