Plugin Studio connects to the official coding engine installed on your computer. You sign in with your own provider account; the engine supplies the model and communicates with its inference service. Studio supplies the plugin workspace, conversation interface, SDK guidance, draft tools and preview. The Plugin website does not run these conversations or provide a shared AI account.
The current local integration uses provider-documented connection mechanisms. Its authentication and usage design matches the permitted local-engine patterns described below, subject to the applicable account terms and product-distribution requirements. This is a documented technical assessment, not an OpenAI or Anthropic certification or a guarantee for every deployment. Official guidance was checked on October 13, 2026.
.boltplugin
No separate API key is required by Studio when the official engine can use your existing plan. If you configured API-key or cloud-provider access in the engine, that configuration has its own billing. Installing Studio does not include a Codex or Claude subscription.
If ChatGPT/Codex is already installed but Studio cannot find its coding engine, use AI settings → Refresh AI tools. Studio covers current and older macOS app layouts, indexed renamed/moved apps, Windows Store registration and downloaded Windows host engines. For another installation location, use Choose app or executable… and select the installed app or its native CLI. Studio validates it and remembers the choice for that provider; Use automatic detection clears it. Select the app bundle on macOS so engine layout changes during app updates can be resolved again. Missing, incompatible, unlaunchable and signed-out tools have separate diagnostics. No terminal command, symlink or administrator access is needed. Authentication continues through the selected engine's existing configuration; Studio never copies its credentials.
The local connection has five stages:
“Local engine” describes where the agent process runs. It does not mean offline model inference: requests, source supplied as context, attachments and tool results can reach the selected provider. Native tools, configured MCP servers and other integrations may contact additional services. Submit material you are authorized to share and use the provider's own privacy, retention and organization settings.
Studio saves its draft source and visible transcript locally. The engine may also keep its own session records. Switching providers sends current source and recent visible requirements to the newly selected provider, while keeping their session IDs separate. It does not migrate one provider's credentials to the other. Starting New conversation also clears old AI failure notices, so a previous provider’s gateway error is not displayed or added as the current check in the new provider’s prompt. Retrying clears the previous AI error while preserving the transcript. Plugin source and preview check failures remain visible; a new inference failure is still reported.
Studio starts the detected codex app-server as a local child process and exchanges JSON-RPC messages over stdin/stdout. It identifies itself in the protocol handshake, obtains the model catalog and opens or resumes a thread. Plugin draft tools are added to the engine's native tools; responses, tool activity and approval requests stream into Studio.
codex app-server
Codex manages its account login and token refresh. Studio uses the account protocol only to check readiness; this adapter does not copy Codex credential files or forward its OAuth token to a PexarBolt model proxy. Sandbox and approval choices go through Codex's own controls. Studio's Approve for me delegates eligible requests to native automatic review.
OpenAI documents app-server as a product integration interface. Its current authentication guidance allows existing local or open-source applications to continue using that authentication, recommends migration to Sign in with ChatGPT, and excludes commercial or hosted services from app-server authentication. This assessment covers Studio's existing local connection; a commercial or hosted offering must use an appropriately authorized route, such as Sign in with ChatGPT, rather than assuming local authentication permission extends to it.
Studio uses Anthropic's official TypeScript Agent SDK to drive the detected, unmodified local Claude Code executable. The adapter selects that executable explicitly, loads its configured settings, preserves the native agent workflow and adds Studio draft tools through an in-process MCP server. It resumes the engine's own session on later turns.
Use your existing Claude Code CLI login or configured connection, then return to Studio and refresh AI tools. Claude Desktop is not required; its downloaded Code engine remains an alternative when installed. Authentication remains with Claude Code; Studio does not invoke claude auth login. The adapter does not patch the binary, collect subscription tokens, replace inference endpoints, remove configured authentication methods or silently inject an API key. You can keep your own subscription, API-key or supported cloud-provider configuration in the official engine.
claude auth login
Anthropic's product integration rules permit users to authenticate to unmodified Claude Code in another product, with direct user billing and preserved authentication methods. They also require the product operator to agree to Commercial Terms unless otherwise agreed. The current implementation matches those technical conditions; code inspection cannot establish whether a separate operator agreement has been accepted.
This is distinct from offering an application's own Claude.ai login or routing users' subscription tokens through another harness, which Anthropic restricts. Its Agent SDK overview directs developers building their own agents toward API-key authentication unless approved. Its current plan notice supports plan usage for the Agent SDK and third-party apps, and notes monthly API credits for eligible plans. That billing notice does not waive the product or credential rules.
Each user supplies their own authorized account. Studio does not sell model access, pool subscription accounts or purchase provider usage for users. Requests count under the authentication configured in the engine. Limits, extra usage, credits, model availability and organization restrictions remain controlled by the provider; a Connected status is not a free-usage or billing guarantee.
AI tool approval and plugin runtime permission are separate. Codex exposes its native sandbox/reviewer choices. Claude exposes native permission rules and an explicitly selected bypass mode. Studio presents supported requests and checks draft edits; exporting or installing a plugin does not turn those AI approvals into network, filesystem or device grants.
The OpenAI terms and Anthropic consumer terms still govern applicable personal use; business/API access and product distribution have their own agreements, including Anthropic Commercial Terms. Use your own account, respect usage limits and content rights, and follow applicable organization and regional access rules. Studio does not change those obligations. PexarBolt is an independent product; use of official interfaces does not imply provider endorsement.
You can keep the conversation in the official CLI, app or editor and connect it to Studio's Agent service using MCP. In this direction, the provider's client calls Studio's local authoring tools; Studio does not initiate model requests. Agent service is optional for an in-Studio conversation.
Studio starts Agent service automatically on its saved loopback port. Open More → Integrations, copy the HTTP or stdio configuration into your trusted local MCP client, reconnect and call plugin_context. The service needs no credentials and rejects browser Origins. If it was switched off for this session, turn it on there. The standalone tooling offers another MCP option without a running Studio app. See external assistant connection for the configuration and tool workflow.
plugin_context
On macOS and Linux, Studio restores the selected provider's known connection, model, proxy and certificate environment settings from the interactive login shell, as well as PATH. This applies to standalone CLIs and app-bundled engines. For Codex, it also honors CODEX_HOME and environment-variable names declared by env_key or env_http_headers in that home's trusted user config.toml; it does not read a draft's project config to discover credentials.
CODEX_HOME
env_key
env_http_headers
config.toml
For example, omitting shell-defined ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN can make a desktop-launched Claude engine use a different, expired login even though the same CLI works in Terminal. Known native settings are forwarded only to the selected engine. Values are kept in process memory, never persisted by Studio, logged, or returned to the renderer. Studio does not read provider credential files or extract Keychain tokens. Windows continues to use the app's inherited native environment.
ANTHROPIC_BASE_URL
ANTHROPIC_AUTH_TOKEN
Refresh AI tools also restarts the idle discovery client to pick up a changed installation, native login or connection environment. Active conversations use separate clients and keep their existing sessions. Plugin SDK, CLI and both MCP plugin contracts are unaffected by this Studio connection fix.
The website publishes setup guidance and downloadable tools. Creating a plugin, publishing a package and signing into an AI provider are three separate actions; connecting an AI engine does not publish your drafts.
Studio checks the current native thread's runtime status after five minutes without matching progress. If Codex still reports active work, the same turn continues without resending your prompt. The check reads metadata only, has a ten-second timeout and does not load conversation history or make a model request. Stop remains available. A disconnected engine or a response that cannot confirm the matching thread is active retains saved-draft recovery. See app-server thread metadata.