Stop building session persistence, message storage, and streaming infrastructure from scratch. ASH gives you production-ready agent infrastructure in minutes—so you can focus on your agent's actual capabilities.
The SDK handles the AI—but production agents need infrastructure. Without ASH, you're building all of this yourself:
Build your own session lifecycle, state tracking, and cleanup logic
Design schemas, write storage adapters, handle serialization
Manage sandbox lifecycle, cache by session, handle idle cleanup and health checks
Create routes for sessions, threads, messages with validation
Track session history, implement forking logic, restore state
Integrate Vercel, E2B, Modal, Cloudflare—each with different APIs
That's roughly 2,150+ lines of infrastructure code before you write your first agent feature.
The Claude Agent SDK is powerful but bare-bones. ASH adds the production infrastructure every agent needs—so you don't build it yourself.
Built-in storage for sessions, threads, and messages. PostgreSQL, SQLite, or in-memory—swap adapters without code changes.
// Session Persistence
const harness = new AgentHarness({
agent: myAgent,
storage: new PostgresStorage()
});
const server = createHarnessServer(harness);
// That's it - session persistence includedBuilt-in storage for sessions, threads, and messages. PostgreSQL, SQLite, or in-memory—swap adapters without code changes.
SSE streaming with 10+ event types out of the box. Text deltas, tool calls, sandbox logs—all handled for you.
Full Hono server with OpenAPI docs in one function call. Sessions, threads, messages—production-ready endpoints instantly.
Resume conversations from any point. Fork sessions for experimentation. All state automatically preserved and restored.
Smart sandbox pooling with session-based caching. Reuse sandboxes across messages, auto-cleanup on idle, and 7+ provider options including Vercel, E2B, and Modal.
Built-in message queue with retry logic and exponential backoff. Handle long-running agents without building your own job system.
Drop-in React component for testing agents. Chat interface, session browser, tool visualization—no frontend work required.
Full React component library for building agent interfaces. MessageList, ToolCallCard, StatusIndicator—all the building blocks you need, fully themed.
Intercom-style chat widget. One script tag to add AI to any website. Floating or inline modes, full customization, and command API.
Create an agent, start the server, and you're live. Session management, message persistence, and streaming API—all included. No database schemas to design, no API routes to write.
Lines You Don't Write
Sandbox Providers
Storage Adapters
Function to Start
Build programmatically with the SDK, or configure agents visually in the Cloud dashboard.
Full TypeScript SDK
import { AgentHarness, PostgresStorage } from '@conviction-labs/ash-ai';
const harness = new AgentHarness({
agent: myAgent,
storage: new PostgresStorage(connectionString)
});
// Send a message
const response = await harness.send(
sessionId,
"Analyze this data"
);Visual dashboard
Pre-built React components for agent interfaces, or an embeddable widget for any website.
React component library
Intercom-style chat
One script tag • Full customization • Command API
Your agent logic stays clean. ASH handles sessions, persistence, and APIs underneath.
Define your system prompt and tools. ASH wraps the Claude SDK and handles everything else.
One function gives you REST API, streaming, persistence, and a test UI. No infrastructure code.
Start with in-memory for development, switch to PostgreSQL for production. Same code, different adapter.
10+ event types streamed via SSE—no custom parsing required.
The open-source package is free forever. Add cloud when you need managed databases, team collaboration, and zero-config deployment.
Full toolkit, self-hosted
Managed infrastructure
7-day free trial