{"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":0,"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":1,"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-10-23T06:00:11.482576+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-10-23T06:00:09.641Z","maintenance":{"label":"Steady","score":60,"methodology":"github_public_v1","releases_90d":0,"days_since_push":70,"last_release_at":null,"stars_delta_30d":0,"open_issues_delta_30d":1},"security_summary":{"last_scan_at":"2026-07-15T10:45:01.109197+00:00","scan_profile":"mcp_manifest","status":"ok","critical_count":0,"high_count":0,"medium_count":0,"low_count":0,"scanner":"mcp_manifest@v1","scan_id":"d8b545f7-b2bf-4c3e-a0aa-4d9732afdfa9","pending_review_count":0}},"capability_facts":{"mcp":{"method":"github-tree-and-contents@2","reason":"No explicit MCP server declaration was found in the inspected manifests. Other layouts and implementations were not tested.","source":"repo_scan","status":"unknown","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/tree/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","observed_at":"2026-10-23T06:00:10.006Z","server_manifest":null},"scan":{"method":"github-tree-and-contents@2","source":"repo_scan","status":"complete","version":2,"coverage":{"scope":"bounded-repository-manifests","tree_complete":true,"selected_files":1,"candidate_files":1},"revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/tree/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","observed_at":"2026-10-23T06:00:10.006Z","observations":[{"path":"@revision","bytes":4821,"status":"present","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/commit/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","http_status":200,"observed_at":"2026-10-23T06:00:10.721Z"},{"path":"@tree","bytes":59606,"status":"present","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/tree/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","http_status":200,"observed_at":"2026-10-23T06:00:10.910Z"},{"path":"docker-compose.yml","reason":"not-listed-in-complete-tree","status":"not-found","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/tree/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","observed_at":"2026-10-23T06:00:10.911Z"},{"path":"Dockerfile","reason":"not-listed-in-complete-tree","status":"not-found","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/tree/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","observed_at":"2026-10-23T06:00:10.911Z"},{"path":"mcp.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/tree/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","observed_at":"2026-10-23T06:00:10.911Z"},{"path":"package.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/tree/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","observed_at":"2026-10-23T06:00:10.911Z"},{"path":"pyproject.toml","bytes":2963,"status":"present","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/blob/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60/pyproject.toml","http_status":200,"observed_at":"2026-10-23T06:00:11.098Z"},{"path":"server.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/tree/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","observed_at":"2026-10-23T06:00:10.911Z"}]},"has_cli":{"value":true,"method":"repository-declaration@2","source":"pyproject.toml:[project.scripts]","status":"declared","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/blob/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60/pyproject.toml","observed_at":"2026-10-23T06:00:10.006Z"},"languages":{"value":["python"],"method":"github-tree-and-contents@2","source":"github.language+pyproject.toml","revision":"45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","source_url":"https://github.com/getclyro/clyro/tree/45b156f523bb0a6eac1e73cc8f4e3b18b0298b60","observed_at":"2026-10-23T06:00:10.006Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-10-23T06:00:10.006Z"}},"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":"Unverified catalog guidance: 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."}]}}