OpenAI AgentKit / Agent Builder
OpenAI's toolkit (DevDay 2025) for building/deploying agents, including a visual drag-a…
OpenAI's toolkit (DevDay 2025) for building/deploying agents, including a visual drag-and-drop Agent Builder canvas with guardrails, versioning and inline evals (Builder winding down Nov 2026, Agents SDK is the code path). First-party OpenAI agent platform with very large reach; note the hosted Agent Builder is being deprecated by Nov 2026 in favor of the (separately catalogued) O
Beta
Status
OAuth + audit-log polling
Pattern
Managed SaaS — nothing to install
Runtime
Not yet published
SDK version
Readiness
What “Beta” means for OpenAI AgentKit / Agent Builder
The integration path is built and tested. Real customers can attach now, but expect minor breaking changes until the 1.0 contract freeze.
How it attaches
OAuth + audit-log polling.
Authorise Trustvice once via OAuth; Trustvice then polls OpenAI AgentKit / Agent Builder's audit-log API on a recurring schedule. No code changes.
Authorise Trustvice via OAuth so Trustvice can pull the platform's audit log on a recurring schedule. No code changes required.
- 1
Initiate the OAuth flow
Click “Connect” next to OpenAI AgentKit / Agent Builder in Settings → Integrations. Trustvice generates a state token and PKCE challenge, then redirects you to the provider's authorize URL.
- 2
Authorise on the provider
Sign in to OpenAI AgentKit / Agent Builder with an account that has audit-log read permissions and approve the requested scopes.
- 3
Trustvice schedules the poller
The callback exchanges the code for access + refresh tokens, encrypts them at rest, and schedules the first poll cycle (default 60–120 seconds).
- 4
Verify
Within a couple of poll cycles, audit entries land in Witness. The Integrations page shows last-poll timestamp, records ingested, and any errors.
# Dashboard navigates here: GET /api/oauth/authorize/openai-agentkit-agent-builder?workspace=ws_abc123 # Trustvice 302s to the provider's authorize URL with PKCE, # the provider redirects back to: GET /api/oauth/callback/openai-agentkit-agent-builder # Trustvice exchanges code → tokens → schedules the audit-log poller
Coverage
2 event types captured.
agent.invocationEvery top-level agent run — the input, the resolved output, timing, and token usage.
tool.callEach tool / function the agent invokes, with arguments and the returned result.
The full pattern guide
OAuth + audit-log polling — end to end.
Every framework on this pattern shares the same platform-side spine, endpoints, and gotchas. The pattern guide covers them in full.
Read the OAuth + audit-log polling guideNeed help landing OpenAI AgentKit / Agent Builder?
Talk to the integration team.
We help you land the integration end to end — including the parts that live in your environment.
Request integration helpDeclare the rules. Have every run checked.
Agents, evidence, governance, commerce and disclosure are all in Trustvice 360. Sign up free and open every suite from one dashboard.