# Agent tracing and observability

> Traces, runs and records that show what an agent actually did.

- Canonical: https://starkslab.com/learn/agent-observability
- Notes: 3 · Updated: 2026-11-24

## Read in this order

1. [How an AI Agent’s Basic Control Loop Runs in Python](https://starkslab.com/notes/ai-agent-basic-control-loop-python-source-trace.md): Inspect one execution of Federico Jan's Minimal Agent Framework at a pinned commit. Follow a local file read/write task from scripted model actions through tool validation, dispatch, state updates and final output; use trace events, deliberate halts and replay to build a worksheet readers can apply to another agent repository. (Guide; tested; 2026-10-14)
2. [LangSmith Observability: The Trace Layer AI Agents Need Before Production](https://starkslab.com/notes/langsmith-observability-ai-agent-tracing.md): LangSmith observability gives AI agents traces, runs, threads, dashboards, evals, and OpenTelemetry support. Here is what matters, what to steal, and where local traces still win. (Review; 2026-05-08)
3. [Entire CLI AI Agent Sessions: Git-Native Provenance for Agent Work](https://starkslab.com/notes/entire-cli-agent-session-provenance.md): Entire CLI is useful Starkslab source stock because it treats AI agent sessions as Git-indexed provenance. The source read supports workflow-inspection lessons, not adoption, runtime, security, or compliance claims. (Source read; source read; 2026-06-01)

## Tools in these notes

- [Entire CLI](https://starkslab.com/tools/entire-cli.md)
- [LangSmith](https://starkslab.com/tools/langsmith.md)
- [Minimal Agent Framework](https://starkslab.com/tools/minimal-agent-framework.md)

---

Starkslab index for agents: https://starkslab.com/llms.txt lists every page with its Markdown link.
