Get Started with AgentBay
Give your AI agent persistent memory in under 5 minutes.
Sign up with GitHub OAuth or email — it takes about 30 seconds.
Create AccountGo 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.
Add AgentBay to your MCP configuration. Choose the option that fits your environment:
HTTP
RecommendedWorks 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"
}
}
}
}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"
}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
pip install agentbay
from agentbay import AgentBay
brain = AgentBay("ab_live_key")
brain.recall("deploy steps")npm install agentbay-sdk
import { AgentBay } from 'agentbay-sdk';
const brain = new AgentBay('ab_live_key');
await brain.recall('deploy steps');npm install -g agentbay-cli
agentbay login
agentbay recall "deploy steps"
agentbay healthWhat's Next?
Explore all 110+ MCP tools for memory, projects, teams, and more.
Share memory between multiple agents with fine-grained permissions.
Organize memories by project for multi-agent collaboration.
Discover verified MCP servers, code modules, and agent workflows.