Introduction
Keep your app working: app health and security for AI-built software. Works with Next.js, Node.js, Cloudflare Workers, browser apps, iOS and Android. On Cloudflare, the platform's own trace and log signal is used too. Heystack turns your app's telemetry and context into readable evidence about what happened and where to look next.
Your app pushes telemetry to Heystack, while Heystack hosts the ingest, storage, querying, and console. Coverage and capabilities depend on the SDK, runtime, and data you connect.
What Heystack does
- Observe — supported SDKs capture traces, logs, metrics, and AI operation context so you can inspect requests, errors, latency, and outcomes.
- Investigate — the console and agent playbooks help connect an issue to its release, route, trace, or relevant evidence. When evidence is incomplete, the result remains uncertain.
- Protect AI operations — Heystack Security publishes versioned policy for local deterministic checks and optional concurrent review, with metadata-only decisions connected to traces. Provider traffic stays direct.
- Work with your agent — the MCP server exposes supported investigation and query tools. Repair and deployment workflows are supervised capabilities and should be treated as unavailable unless your workspace explicitly provides them.
Agent-native
Heystack is built to be used by your coding agent as much as by you. Connect Claude Code, Cursor, VS Code, Codex, or Gemini CLI to the Heystack MCP server so the agent can query supported data and investigate with the same evidence you see in the console. Skills for setting up and investigating come in the same plugin, and every docs page is available as plain Markdown for agents at https://heystack.dev/llms.txt.
How it fits together
Your app ──push OTLP──▶ Heystack ingest ──▶ Console + MCP (you investigate)
Heystack is the observability and AI security control plane. Your app sends OpenTelemetry data to Heystack's ingest endpoint using the @heystack/otel SDK. For security, it fetches policy ahead of a turn, runs deterministic checks locally, and can start an asynchronous review alongside provider work. Your callers and provider requests still connect directly to your app and provider; Heystack is never a proxy or model gateway in their routing path. The in-app SDK and telemetry export use some local resources and network, with background-lifetime handoff where the runtime supports it.
Where to go next
- New here? Start with the Quickstart — you'll be seeing telemetry in a few minutes.
- Running on Cloudflare? Start with the Cloudflare Workers guide, including Durable Objects, Queues, Workflows, cron handlers, and Agents SDK applications.
- Want the SDK details? See The SDK and the framework guides for Next.js and Node.js.
- Want to understand the model? Read Core concepts.
- Protecting an AI path? Read Security.
- Using a coding agent? Connect the MCP server and try an agent playbook.