Let plugins talk to the built-in agent #8462
Closed
ronald2wing
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Plugins can't use Omarchy's built-in agent, so each one rebuilds its own stack (keys, transport, security) — the exact stuff the security review warns about. It's already happening:
Neither uses the built-in agent, because there's nothing to call.
Give plugins a safe way to call the user's own agent. Approve once, done.
Two ways:
Catch: the agent handles auth inconsistently across entry points — the chat path works on the stored key, but a prompt command needs the key re-supplied. So plugins can't reliably reuse the agent's auth; the API route wins (the agent keeps owning the key end-to-end).
Capabilities: Chat (streaming) · JSON output · OS actions (via the agent's own prompts) · inter-plugin calls · plugin tools · permission levels ("answer only" vs. "can act").
The "ask permission, then call a service" pattern already exists. (#7922 asks for raw model calls — this asks for the full agent.)
Question: Does "confirm once, then allow" pass the Omarchy marketplace's security review?
All reactions