memory
AI Chat with Memory
AIterminal — aerostack cli
$
npx aerostack add aerostack/ai-chat-memorysmart_toy
Use with AI Assistants
MCPConnect Claude, Cursor, or any MCP-compatible client — then call this function by slug
① Add MCP Server
Add this once — access all Aerostack functions from your AI tool.
claude_desktop_config.json
{
"mcpServers": {
"aerostack": {
"url": "https://mcp.aerostack.dev",
"type": "http"
}
}
}② Call this function
Ask your AI to use the call_function tool with this slug:
call_function
call_function({
slug: "ai-chat-memory",
args: {}
})AI Chat with Memory
Stateful AI chat that remembers conversation history across requests using KV storage.
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /chat | Send message (auto-loads history) |
| GET | /history/:sessionId | Get conversation history |
| DELETE | /history/:sessionId | Clear session history |
| POST | /sessions | Create new session |
| GET | /health | Status check |
deployed_code
Build and publish your own functions
Write a TypeScript function, deploy it to the edge, and share it with thousands of developers — in minutes.