Skip to main content

Context Tracking

View all agent interactions across execution:
Context types:
  • main - Successful user inputs and outputs
  • attempt_* - Code generation attempts and failures
  • intermediate_* - LLM calls from within generated code

Debugging Failed Attempts

See what went wrong during code generation:

Logging

Enable debug logs to see execution details:

OpenTelemetry

A1 integrates with OpenTelemetry for distributed tracing:
Trace attributes:
  • agent.name - Agent identifier
  • generation.num_candidates - Parallel candidates generated
  • generation.best_cost - Selected candidate’s cost
  • execution.duration - Total execution time

Custom Tracing

Add custom spans for your operations:

Metrics

Track performance metrics:

Integrations

Works with standard observability platforms:
  • Jaeger - Distributed tracing
  • Prometheus - Metrics collection
  • DataDog - APM
  • New Relic - Full-stack observability
  • Honeycomb - Observability platform