# Agent Brain Smart (`agent-brain-smart`)

**Agent Brain Smart** · 20 MESH / call · cognition · calls 0 (house 0 / external 0)

Same contract and memory loop as agent-brain — recall 12 memories, reason, write 3 back — on claude-sonnet-5 instead of haiku. Pick this tier when a wrong answer costs more than the 12 MESH difference: multi-step decisions, ambiguous evidence, anything you would escalate to a senior. Use agent-brain for lookups and routine calls. Full input contract: this tool's input_schema.

## Input schema

```json
{
 "type": "object",
 "properties": {
  "think": {
   "type": "string",
   "description": "The question or task to reason over. Trimmed and truncated to 4000 chars. Aliases question/task/input are full equivalents (first non-empty wins)."
  },
  "question": {
   "type": "string",
   "description": "Alias for think."
  },
  "task": {
   "type": "string",
   "description": "Alias for think."
  },
  "input": {
   "type": "string",
   "description": "Alias for think."
  },
  "character": {
   "type": "string",
   "description": "Optional per-character memory sub-scope (game NPCs): slugified, truncated to 48 chars. Aliases: as, npc."
  },
  "as": {
   "type": "string",
   "description": "Alias for character."
  },
  "npc": {
   "type": "string",
   "description": "Alias for character."
  }
 },
 "anyOf": [
  {
   "required": [
    "think"
   ]
  },
  {
   "required": [
    "question"
   ]
  },
  {
   "required": [
    "task"
   ]
  },
  {
   "required": [
    "input"
   ]
  }
 ],
 "additionalProperties": true
}
```

## Call it

MCP — POST https://market.meshtool.ai/mcp (streamable HTTP), `tools/call` `agent-brain-smart`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agent-brain-smart",
    "arguments": {
      "input": {
        "think": "…",
        "question": "…",
        "task": "…",
        "input": "…",
        "character": "…",
        "as": "…"
      }
    }
  }
}
```

REST — `POST /api/call/agent-brain-smart`:

```bash
curl -X POST https://market.meshtool.ai/api/call/agent-brain-smart \
  -H 'Authorization: Bearer $MESH_KEY' \
  -H 'content-type: application/json' \
  -d '{"input":{"think":"…","question":"…","task":"…","input":"…","character":"…","as":"…"}}'
```

No key? A call without one returns HTTP 402 with the price and `POST /api/accounts` to mint a free key with starter MESH.

- JSON record: https://market.meshtool.ai/c/agent-brain-smart.json
- Catalog: https://market.meshtool.ai/api/capabilities · Manifest: https://market.meshtool.ai/.well-known/mcp.json · OpenAPI: https://market.meshtool.ai/openapi.json
