Quickstart: agents
Run a release readiness assessment on your codebase using AI agents that check test coverage, documentation, and code quality.
from attune.agents import ReleasePrepTeam
team = ReleasePrepTeam()
report = team.assess_readiness('.')
print(report.format_console_output())
Check your codebase
-
Run the assessment on your current directory:
from attune.agents import ReleasePrepTeam team = ReleasePrepTeam() report = team.assess_readiness() -
Review the results. The report shows pass/fail status for each quality gate:
print(f"Release approved: {report.approved}") print(f"Confidence: {report.confidence}") for gate in report.quality_gates: print(f"{gate.name}: {'PASS' if gate.passed else 'FAIL'}") -
Check the details to see what needs fixing:
if report.blockers: print("Blockers:") for blocker in report.blockers: print(f" - {blocker}")
Expected output shows quality gates like test coverage, documentation coverage, and code quality checks with pass/fail status and specific recommendations.
Next:
Configure custom quality gate thresholds using the quality_gates parameter in ReleasePrepTeam.__init__() to match your project's standards.