Skip to Content
MindedDocsGet started

Minded API and Minded SDK

Reach Minded from code: the API with a key, or the SDK inside an agent.

There are two ways to reach Minded from code.

  • The Minded API lets an outside agent (Claude, ChatGPT or your own code) work with Minded as you. It holds an API key that you make in Minded.
  • The Minded SDK lets an agent's own code (its custom tools and hooks) reach Minded inside a run. It never holds a key.

Both sides share one set of actions and one set of rules. Nothing that calls Minded can do more than the member it acts as, and no caller holds a key that skips roles or approvals.

Who it is for

  • You work in Claude or ChatGPT and want to hand work to Minded without leaving it.
  • You write code that starts work in Minded and reads the result.
  • You build Minded agents whose code starts other chats or agent runs.

What phase 1 covers

With an API key, over MCP at https://mcp.minded.com:

ToolWhat it doesPage
send_promptStarts a Minded chat in your Recents, or adds to onePrompts and replies
read_chatReads the reply. You can stop and read the rest later, from where you stoppedPrompts and replies
answer_questionAnswers a question or an approval Minded raisedQuestions and approvals
read_usageYour usage left, your own spend, a chat's spendUsage
find_actionsLists what the key may do by name, with no promptActions
run_actionRuns one of those actions: your chats, agents and runs listed and read, billing read. Spends no usageActions

With an API key, over HTTP at https://app.minded.com/v1: the same actions as routes, plus reading a reply as it streams and a chat's wake-ups. See Prompts and replies.

From an agent's code, with the Minded SDK: start a chat or send to one the run started, read it, start another agent's run, and read usage. See Agent code.

A prompt sent with a key is a normal Minded chat. Roles, approvals and usage apply as in any chat.

What comes later

  • Starting agent runs with a key, and writing to Agents, Monitoring and Quality.

To stop Minded's work, press Stop in the Minded chat.

Pages

  1. Quickstart
  2. API keys
  3. Prompts and replies
  4. Questions and approvals
  5. Usage
  6. Errors
  7. Agent code