The Datadog APM Test Agent is a Python-based utility that simulates the Datadog Agent for local testing and development of APM client libraries. It allows developers to capture, inspect, and validate traces, snapshots, and other observability data without requiring a full Datadog Agent setup. The current version is 1.46.0, with a frequent release cadence, often multiple times a month, for new features and bug fixes.
pip install ddapm-test-agentVerified import paths — ran on the pinned version, not inferred.
To quickly start the Datadog APM Test Agent, simply run `ddapm-test-agent` in your terminal. For LLM Observability features, especially with Claude Code, use `lapdog start`. Ensure your APM client library is configured to point to the test agent's default host (localhost) and port (e.g., 8126 for traces) via environment variables or configuration.
Set the `DISABLE_LLMOBS_DATA_FORWARDING` environment variable to `true`, or use the `--disable-llmobs-data-forwarding` command-line argument when starting the agent.
Migrate any existing VCR-specific cassette logic or rely on the agent's automatic conversion to JSON cassettes. Plan for complete removal of VCR cassette support in future major versions.
Switch to `ddapm-test-agent-run claude` for routing Claude Code API calls through the test agent proxy to ensure proper interception and instrumentation.
Upgrade to `ddapm-test-agent` version 1.45.1 or later to resolve Python 3.8/3.9 compatibility issues.
No dependency data recorded yet.