Skip to main content
The StefanBrain developer platform gives your code and AI assistants access to the StefanBrain agent and its supported developer tools. An active StefanBrain plan or trial is required. Choose a surface below. If your integration uses an API key, create one in Settings → Developers.

Choose the app, MCP, or REST

  • Web app: work directly in StefanBrain without setting up an integration.
  • MCP: use StefanBrain inside another AI assistant that supports MCP.
  • REST: build an application, pipeline, or automated integration. Use HTTP directly, the TypeScript SDK in Node.js, or the CLI in a shell.
The app and standard member MCP use your subscription allowance. REST billing depends on your credential. A stefan_sk_... key bills the prepaid API wallet. A stefan_oat_... OAuth token bills the plan pool. The CLI and SDK follow the credential’s billing lane. See Pricing for the surface comparison, included API credit, rates, and partner terms. Agent Runs are the primary REST surface. The agent plans the work, selects tools, and returns its final response in output. Use direct tools when your application needs one specific capability or a raw result.

Important behavior

  • Runs accept file attachments through multipart/form-data.
  • Run attachments accept documents and images, not audio or video files. Put a hosted video URL in message instead.
  • Runs can constrain their final response to a JSON schema through output_config.
  • A REST API turn returns its full assistant response in output; it does not write that response into an in-app canvas document.
  • There is no model selector. Agent Runs execute the model that operates the StefanBrain product.
  • Keep the chat identifier from a response and reuse it for follow-up turns in the same conversation.
  • Fetch the live Tools or MCP catalog before relying on a tool name. Availability can depend on your access and the current deployment.

Start building

Send your first request

Create a key and start a synchronous Agent Run.

Connect through MCP

Add StefanBrain to Codex, Claude, ChatGPT, Cursor, or another MCP client.

Call tools and jobs

Discover live tool schemas and handle long-running work.

Stage and download files

Attach local files to asks or retrieve current workspace files from a chat.

Read Meta video transcripts

Reuse stored transcripts or request one for an accessible Meta video.

Use the TypeScript SDK

Add typed asks, runs, tools, jobs, and files to a Node.js application.

Use the CLI

Run and script StefanBrain from a shell with stable JSON output.

Run parallel agent sessions

Give concurrent forks shared project context and separate chats.

Give the docs to an agent

Use Markdown and OpenAPI sources instead of scraping HTML.

Send agent feedback

Report a failing call or a missing capability, and read the team’s reply.