Audit code for vulnerabilities with four Agent SDK subagents
Quickstart
Audit a directory and print the synthesized report.
SecurityAuditWorkflow.execute is an async coroutine, so drive it
with asyncio.run (or await it inside an existing event loop):
import asyncio
from attune.workflows import SecurityAuditWorkflow
async def main() -> None:
workflow = SecurityAuditWorkflow()
result = await workflow.execute(path="src/", depth="standard")
print(result.success) # True on a completed audit
print(result.summary) # short posture summary
print(result.final_output) # the full synthesized report
asyncio.run(main())
depth defaults to "standard", so execute(path="src/") is
equivalent. Use "quick" for a fast pass or "deep" for a
longer, extended-thinking audit.