{"data":{"slug":"getclyro-clyro","name":"clyro","tagline":"Clyro is a governance platform for AI agents that stops failures before they happen.","github_url":"https://github.com/getclyro/clyro","owner":"getclyro","repo":"clyro","owner_avatar_url":"https://avatars.githubusercontent.com/u/257928051?v=4","primary_language":"Python","stars":55,"forks":2,"topics":["agents","ai","ai-governance","anthropic","claude","claude-code","claude-hooks","crewai","drift-detection","governance","guardrails","langchain","langgraph","mcp","python"],"archived":false,"github_pushed_at":"2026-08-14T05:59:04+00:00","maintenance_label":"Steady","stars_delta_30d":2,"url":"https://www.graphcanon.com/tools/getclyro-clyro","markdown_url":"https://www.graphcanon.com/tools/getclyro-clyro.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/getclyro-clyro","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=getclyro-clyro","description":"Clyro is a governance platform for AI agents. While most tools let you watch agents fail, Clyro stops failures before they happen, catching infinite loops, runaway costs, and policy violations in real time.","homepage_url":"https://clyro.dev/","license":"Apache-2.0","open_issues":0,"watchers":0,"ai_summary":"A governance and monitoring tool for managing AI agent behavior, including cost control, real-time detection of policy violations and infinite loops.","readme_excerpt":"### Installation\n\n```bash\npip install clyro\n```\n\n---\n\n### Cost Limits\n\nControl LLM spending:\n\n```python\nfrom clyro import ClyroConfig, ExecutionControls, CostLimitExceededError\n\nconfig = ClyroConfig(\n    controls=ExecutionControls(max_cost_usd=1.0)\n)\n\n@clyro.wrap(config=config)\ndef my_agent():\n    # Will raise CostLimitExceededError if cost exceeds $1.00\n    pass\n\ntry:\n    my_agent()\nexcept CostLimitExceededError as e:\n    print(f\"Cost ${e.current_cost_usd:.4f} exceeded limit ${e.limit_usd:.2f}\")\n```\n\n---\n\n## Cost Tracking\n\nAutomatic cost calculation for LLM calls:\n\n```python\nfrom clyro import calculate_cost\n\n---\n\n# Clone and install\ngit clone https://github.com/getclyro/clyro.git\ncd clyro\npip install -e \".[dev]\"\n\n---\n\n## Requirements\n\n- Python 3.11+\n- httpx, pydantic, structlog, tenacity, aiosqlite, pyyaml\n\n---\n\n## License\n\n[Apache License 2.0](LICENSE)","github_created_at":"2026-03-20T10:16:55+00:00","created_at":"2026-07-15T10:44:58.492744+00:00","updated_at":"2026-09-20T04:26:31.055455+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"evaluation-observability","name":"Evaluation & Observability","url":"https://www.graphcanon.com/categories/evaluation-observability","markdown_url":"https://www.graphcanon.com/categories/evaluation-observability.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/evaluation-observability"}],"tags":[{"slug":"agents","name":"agents"},{"slug":"ai-governance","name":"ai-governance"},{"slug":"cost-limits","name":"cost-limits"},{"slug":"infinite-loops","name":"infinite-loops"},{"slug":"langchain","name":"langchain"},{"slug":"policy-violations","name":"policy-violations"},{"slug":"python","name":"python"},{"slug":"realtime-monitoring","name":"realtime-monitoring"}],"trust":{"provenance":{"is_fork":false,"github_id":1187082054,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-13T06:00:46.321Z","maintenance":{"label":"Steady","score":60,"methodology":"github_public_v1","releases_90d":0,"days_since_push":30,"last_release_at":null,"stars_delta_30d":2,"open_issues_delta_30d":-1},"security_summary":{"status":"ok","scanner":"mcp_manifest@v1","low_count":0,"high_count":0,"last_scan_at":"2026-07-15T10:44:59.915Z","medium_count":0,"scan_profile":"mcp_manifest","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-13T06:00:46.826Z"},"has_cli":{"value":true,"source":"pyproject.toml:[project.scripts]","observed_at":"2026-09-13T06:00:46.826Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-09-13T06:00:46.826Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-09-13T06:00:46.826Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":{"notes":["Requires Python version 3.11 or higher.","Additional dependencies include httpx, pydantic, structlog, tenacity, aiosqlite, and pyyaml."],"min_ram_gb":null,"requires_docker":false},"constraints":{"min_ram_gb":null,"requires_docker":false},"when_to_use":["When you want automated cost control measures that halt execution before spending exceeds a predetermined threshold, unlike competitors that may only notify you of overruns.","If your scenario involves high-risk activities where the early detection of policy violations is critical to avoid compliance issues, as clyro monitors in real-time for such breaches."],"when_not_to_use":["In situations demanding lightweight solutions without extensive dependencies since Clyro requires specific versions and additional Python packages like httpx and pydantic.","When you prioritize manual inspection over automated monitoring; Clyro is best for use cases where automated intervention in response to potential failures is more beneficial than human oversight."],"source":"enrich:decision_facts","observed_at":"2026-07-16T18:52:58.421Z"},"constraint_facets":{"min_ram_gb":null,"requires_docker":false},"decision_summary":[{"label":"Requirements","value":"Requires Python version 3.11 or higher.; Additional dependencies include httpx, pydantic, structlog, tenacity, aiosqlite, and pyyaml."},{"label":"Adopt for","value":"Clyro is noted for its governance and real-time monitoring features designed to prevent AI agent failures including infinite loops, unexpected costs, and policy violations."}]}}