Create the shared client and tools
createPraxaAgentTools() binds each framework-neutral JSON Schema definition
to a PraxaClient method. Keep this client on a trusted server. Do not send the
delegated token to browser code.
Vercel AI SDK
Wrap the Praxa definitions with the AI SDK’stool() helper. Keep
framework-level approval enabled for mutations.
OpenAI Responses or Agents
Remote MCP is the smallest integration when your runtime supports it. Require approval for every remote call unless your application has a narrower reviewed policy.PRAXA_OPENAI_FUNCTION_TOOLS, then
dispatch returned calls to the matching definition from
createPraxaAgentTools(praxa).
LangChain
Adapt the same executable definitions with LangChain’stool() helper:
Codex, Claude Code, Cursor, and VS Code
Run the project installer instead of maintaining client configuration by hand:.praxa/SETUP.md, provide a delegated token through the
documented environment seam, restart the client, and list available tools
before invoking a mutation. The installer writes no access token or provider
key.
Choose the narrowest integration
Use MCP contracts when you need protocol metadata without an
executor. Use the PraxaClient reference when you want direct
HTTP and SSE control instead of a model-facing tool layer.