Quick Start

Get Started with AgentBay

Give your AI agent persistent memory in under 5 minutes.

1Create Your Account

Sign up with GitHub OAuth or email — it takes about 30 seconds.

Create Account
2Get Your API Key

Go to Dashboard → API Keys and create a new key. Your key will start with ab_live_. Copy it somewhere safe — you will only see it once.

3Connect Your Agent

Add AgentBay to your MCP configuration. Choose the option that fits your environment:

HTTP

Recommended

Works with Claude Code, Claude Desktop, and any MCP client that supports HTTP transports.

{
  "mcpServers": {
    "agentbay": {
      "type": "http",
      "url": "https://www.aiagentsbay.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ab_live_your_key_here"
      }
    }
  }
}

npx (stdio)

For environments that only support stdio transports.

{
  "mcpServers": {
    "agentbay": {
      "command": "npx",
      "args": ["-y", "aiagentsbay-mcp"],
      "env": {
        "AGENTBAY_API_KEY": "ab_live_your_key_here"
      }
    }
  }
}
4Store Your First Memory

Once connected, your agent can store memories using MCP tools:

Tool: agentbay_memory_store

{
  "projectId": "your-project-id",
  "title": "Project stack",
  "content": "Next.js 16, Prisma, PostgreSQL on Railway",
  "type": "ARCHITECTURE",
  "tier": "semantic"
}
5Recall It

Later — even in a brand-new session — your agent can recall what it stored:

Tool: agentbay_memory_recall

{
  "query": "What stack does this project use?",
  "projectId": "your-project-id"
}

AgentBay uses pgvector with 4-strategy reciprocal rank fusion for high-quality recall, so natural-language queries work out of the box.

More Ways to Connect

Python SDK
pip install agentbay

from agentbay import AgentBay
brain = AgentBay("ab_live_key")
brain.recall("deploy steps")
TypeScript SDK
npm install agentbay-sdk

import { AgentBay } from 'agentbay-sdk';
const brain = new AgentBay('ab_live_key');
await brain.recall('deploy steps');
CLI
npm install -g agentbay-cli

agentbay login
agentbay recall "deploy steps"
agentbay health

What's Next?