Research project
OpenPort Protocol (OPP)
An open protocol for reliable AI tool access—authorization-aware discovery, draft-first writes, and stable responses that hold up in real workflows.
A protocol for turning AI intent into accountable action.
When AI systems move beyond chat and into workflows, they stop being “just models.” They start reading data, proposing changes, and triggering operations—often under uncertainty, partial context, and messy human inputs. The fragile part isn’t the tool list. It’s the moment an intention becomes an effect.
OpenPort Protocol (OPP) makes that moment explicit. It defines a small, stable surface for tool discovery and tool calls, and it keeps governance server-side: permissions, boundaries, reviewable writes, and predictable failure modes that a runtime can recover from safely.
We designed OPP to be model- and runtime-neutral, so different ecosystems can adopt it through optional bindings—without moving enforcement into every client.
Architecture
OPP separates two concerns: domain logic (what your product does) and governance semantics (how tool access is controlled, reviewed, and made operable). Adapters stay private. The gateway stays consistent.
Agent runtime / model
Structured tool calls from any model or agent framework.
↓Agent API calls (`agent/v1`)
Trust boundary
Server-side enforcement
OpenPort gateway
Auth, boundaries, write controls, rate limits, and stable responses.
↓Adapter calls
Private adapters
Domain reads/writes and translation into internal systems.
↓Domain operations
Application data + actions
Your systems stay private. OpenPort standardizes the interface, not your schema.
Admin control plane
Issue/revoke keys, review drafts, and set execution windows.
Why this boundary exists
Agent runtimes are probabilistic. OpenPort limits the blast radius by keeping governance decisions on the server—where policies, review, and incident response can be enforced consistently.
Draft lifecycle
Drafts separate intent from effect. This keeps the write path safe under retries, ambiguous prompts, and delayed approvals—without asking every client to reinvent the same safeguards.
draft
Pending operator decision. No side effects have executed.
›reject
canceled
Rejected by an operator. Terminal.
confirmed
Approved for execution (or eligible for auto-execute under policy).
›execution fails
failed
Execution attempted and failed. Terminal.
A small but important detail
`draft.status` is governance state, not a substitute for an execution record. On success, OpenPort records an execution outcome alongside the draft for traceability.
How we validate
A protocol only helps if it doesn’t drift. OpenPort pairs the specification with executable artifacts: black-box conformance profiles, negative-path regressions, and release gates that keep behavior stable across versions.