---
title: How do I trace or evaluate an LLM app locally without an account or Docker?
seoTitle: "Local LLM Tracing and Evals Without an Account or Docker"
description: "Run langfuse-lite, a local emulator of Langfuse (beta): one command, no account, no API keys to create, no Docker. Works with the Langfuse SDKs and OpenTelemetry, for developers and coding agents."
tags: [observability, evaluation, self-hosting]
---

# How do I trace or evaluate an LLM app locally without an account or Docker?

Run [langfuse-lite](/docs/langfuse-lite), a local emulator of Langfuse (beta). It is one process with one SQLite file and works with the official Langfuse SDKs and any OpenTelemetry exporter. This suits coding agents in a sandbox that have no Langfuse API keys.

```bash
npx -y langfuse-lite serve   # needs Node.js 22.13 or later
uvx langfuse-lite serve      # from PyPI, no Node.js needed
```

```bash
export LANGFUSE_BASE_URL=http://localhost:3000
export LANGFUSE_PUBLIC_KEY=pk-lf-local
export LANGFUSE_SECRET_KEY=sk-lf-local
```

The keys are placeholders and are not checked. Traces, scores, datasets, and experiment runs are stored in `./.langfuse/lite.db`. Read them back in the viewer at `http://localhost:3000` or with the CLI, for example `npx -y langfuse-lite observations` and `npx -y langfuse-lite runs` (or the same with `uvx`).

langfuse-lite is for local development only: it has no authentication and covers [part of Langfuse](/docs/langfuse-lite#scope). When the project grows, change the base URL and API keys to [Langfuse Cloud](/cloud) or a [self-hosted Langfuse](/self-hosting). `npx -y langfuse-lite push --to <url>` copies the local data.

<!-- agent-instructions -->

---

## Agent Instructions

This page is part of the [Langfuse](https://langfuse.com) documentation, published as plain Markdown for AI agents. Every page is available as Markdown by appending `.md` to its URL, or by sending an `Accept: text/markdown` header. This page: `https://langfuse.com/faq/all/local-llm-tracing-without-account.md`.

### Querying these docs

If the answer is not on this page, query the documentation instead of guessing:

- **Semantic search** across all Langfuse docs, returning an answer with the relevant pages and excerpts. Ask a specific, self-contained question:

  ```bash
  curl -sG "https://langfuse.com/api/search-docs" --data-urlencode "query=How do I trace a LangGraph agent?"
  ```

- **Index of every page**: <https://langfuse.com/llms.txt>, with per-section indexes [llms-docs.txt](https://langfuse.com/llms-docs.txt), [llms-integrations.txt](https://langfuse.com/llms-integrations.txt), and [llms-self-hosting.txt](https://langfuse.com/llms-self-hosting.txt).

### Before writing Langfuse code

- **Install the [Langfuse Agent Skill](https://langfuse.com/docs/api-and-data-platform/features/agent-skill).** It encodes Langfuse's own best practices for instrumentation, prompt management, and evaluation, and materially improves results.
- **Read [What does a good trace look like?](https://langfuse.com/docs/observability/best-practices.md)** before instrumenting an application.
- **Verify endpoints, parameters, and response fields** against the [OpenAPI spec](https://cloud.langfuse.com/generated/api/openapi.yml), or read the [API reference as Markdown](https://api.reference.langfuse.com/index.md), instead of inferring them from code examples.
- **Use the [Langfuse CLI](https://langfuse.com/docs/api-and-data-platform/features/cli)** (`npx @langfuse/cli api <resource> <action>`) to read or write traces, prompts, datasets, and scores from the terminal.

Found an error in these docs? Please open an issue at <https://github.com/langfuse/langfuse-docs/issues>.
