# Foglamp > The missing observability layer for the Vercel AI SDK. Two lines of code and an > API key give you costs, latency, token usage, distributed traces, evals, and > alerts for every generateText / streamText call — across every model your AI > agents use. Open source (Apache 2.0) and self-hostable. ## Get started - [Instrument your app (written for coding agents)](https://docs.foglamp.dev/ai-instrument.md): version-aware setup for Vercel AI SDK v4–v7, with agent / workflow / session mapping rules and verification steps. - [Quickstart](https://docs.foglamp.dev/quickstart): install the SDK, add an API key, and see your first trace. - [Full docs index for LLMs](https://docs.foglamp.dev/llms.txt): the complete machine-readable documentation tree. ## Product - [Overview](https://foglamp.dev): what Foglamp is and who it's for. - [Pricing](https://foglamp.dev/pricing): usage-based plans — Free ($0), Pro ($49/mo), and Enterprise (custom). - [Distributed traces](https://foglamp.dev/features/distributed-traces): waterfall every run down to the token, with the exact prompt and response per span. - [Cost intelligence](https://foglamp.dev/features/cost-intelligence): spend broken down by model, agent, and customer. - [Evals](https://foglamp.dev/features/evals): score production traffic with code checks and LLM judges. - [Agents](https://foglamp.dev/features/agents): per-agent spans, latency, and spend with the full call flow. - [Alerts](https://foglamp.dev/features/alerts): threshold rules on cost, latency, and error rate. - [SDK](https://foglamp.dev/features/sdk): two lines instrument every generateText / streamText call. ## Reference - [API reference (OpenAPI)](https://docs.foglamp.dev/api-reference/openapi.json): machine-readable API specification. - [Source code](https://github.com/foglamp-labs/foglamp): GitHub repository (Apache 2.0).