These pages document method signatures, parameters, and return types for the Agentuity TypeScript SDK. For concepts and patterns, see Agents, Routes, Frontend, Services, and Cookbook. For using services outside the runtime, see Standalone Packages.
Application Entry
Initialize your app with createApp()
Agents
Define agents with createAgent() and handle inputs
Schema Validation
Type-safe validation with StandardSchema
Context API
Storage, logging, state management, and services via ctx.*
Router & Routes
HTTP endpoints, middleware, and WebSocket handlers
Calling Other Agents
Call agents from routes or other agents
Storage APIs
KV, Vector, Database, Object, and Stream storage
Message Queues
Publish and manage messages with ctx.queue
Tasks
Track work items with ctx.task
Email
Send and manage email with ctx.email
Schedules
Cron-based scheduled jobs with ctx.schedule
Sandbox
Isolated code execution with ctx.sandbox
Coder
Manage AI coding sessions with CoderClient
Observability
Structured logging and OpenTelemetry tracing
Event System
Lifecycle hooks for monitoring agents
Runtime Utilities
File imports, standalone execution, context detection, and build metadata