Agents errors

This page covers failures in the Attune AI agent system, including release preparation agents, state management, and agent factory adapters.

Common error signatures

Agent operation failures:

State and persistence errors:

Adapter initialization failures:

Release preparation failures:

Where errors originate

Agent system errors typically originate from these key operations:

How to diagnose

  1. Check agent execution logs. The @safe_agent_operation decorator logs all failures with context. Look for agent operation names and error details in your logs.

  2. Verify codebase path and permissions. Release preparation agents run external tools (pytest, ruff) on the codebase. Ensure the codebase_path parameter points to a readable directory with proper permissions.

  3. Test Redis connectivity. If using state persistence, verify your Redis connection with a simple ping. State store errors often cascade from Redis connectivity issues.

  4. Validate quality gate configuration. ReleasePrepTeam failures often stem from misconfigured quality gates. Check that threshold values are reasonable for your project (coverage percentages, complexity scores).

  5. Check tier escalation limits. Review your model tier configuration if agents are failing during escalation. Budget limits or API rate limits can cause tier progression failures.

  6. Verify framework dependencies. Adapter import errors indicate missing optional dependencies. Install the required package for your target framework (langchain, autogen, etc.).

Source files

Tags: agents, ai, release