{"data":{"slug":"m7mdhka-pydantic-ai-production-ready-template","name":"pydantic-ai-production-ready-template","tagline":"Production-ready template for building AI applications with Pydantic AI, FastAPI, PostgreSQL, Redis","github_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template","owner":"m7mdhka","repo":"pydantic-ai-production-ready-template","owner_avatar_url":"https://avatars.githubusercontent.com/u/43252562?v=4","primary_language":"Python","stars":87,"forks":9,"topics":["alembic","asynchronous","ci-cd","commitizen","fastapi","grafana","litellm","llm-evaluation","postgresql","precommit","prometheus","prompt-versioning","pydantic-ai","redis","sqlalchemy","starlette-admin"],"archived":false,"github_pushed_at":"2026-01-20T05:40:49+00:00","maintenance_label":"Slowing","stars_delta_30d":0,"url":"https://www.graphcanon.com/tools/m7mdhka-pydantic-ai-production-ready-template","markdown_url":"https://www.graphcanon.com/tools/m7mdhka-pydantic-ai-production-ready-template.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/m7mdhka-pydantic-ai-production-ready-template","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=m7mdhka-pydantic-ai-production-ready-template","description":"🚀 Production-ready template for building AI applications with Pydantic AI, FastAPI, PostgreSQL, Redis, LiteLLM, and comprehensive monitoring. Includes admin panel, CI/CD, testing, and observability out of the box.","homepage_url":null,"license":null,"open_issues":2,"watchers":1,"ai_summary":"This repository provides a complete setup with FastAPI integration, database support via PostgreSQL and Redis, observability tools like Prometheus and Grafana for monitoring, comprehensive testing, and CI/CD pipelines.","readme_excerpt":"## Requirements\n\n- Python >= 3.13\n- [uv](https://github.com/astral-sh/uv) package manager\n\n---\n\n## Installation\n\nInstall project dependencies:\n\n```bash\nmake install\n```\n\nFor development, install with dev dependencies:\n\n```bash\nmake install-dev\n```\n\n---\n\n### Installation\n- `make install` - Install project dependencies\n- `make install-dev` - Install project dependencies including dev dependencies\n\n---\n\n### Docker Services\n- `make docker-dev-up` - Start development Docker services\n- `make docker-dev-down` - Stop development Docker services\n- `make docker-dev-logs` - View development Docker services logs\n- `make docker-dev-restart` - Restart development Docker services\n- `make docker-up` - Start production Docker services\n- `make docker-down` - Stop production Docker services\n- `make docker-logs` - View production Docker services logs\n- `make docker-restart` - Restart production Docker services","github_created_at":"2025-11-10T21:45:00+00:00","created_at":"2026-07-15T10:39:33.264877+00:00","updated_at":"2026-10-18T06:00:24.275955+00:00","categories":[{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"},{"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"},{"slug":"inference-serving","name":"Inference & Serving","url":"https://www.graphcanon.com/categories/inference-serving","markdown_url":"https://www.graphcanon.com/categories/inference-serving.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/inference-serving"}],"tags":[{"slug":"alembic","name":"alembic"},{"slug":"asynchronous","name":"asynchronous"},{"slug":"ci-cd","name":"ci-cd"},{"slug":"commitizen","name":"commitizen"},{"slug":"fastapi","name":"fastapi"},{"slug":"grafana","name":"grafana"},{"slug":"litellm","name":"litellm"},{"slug":"llm-evaluation","name":"llm-evaluation"}],"trust":{"provenance":{"is_fork":false,"github_id":1093809201,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-10-18T06:00:23.003Z","maintenance":{"label":"Slowing","score":36,"methodology":"github_public_v1","releases_90d":0,"days_since_push":271,"last_release_at":null,"stars_delta_30d":0,"open_issues_delta_30d":0},"security_summary":{"last_scan_at":"2026-07-15T10:39:35.660409+00:00","scan_profile":"deps","status":"no_lockfile","critical_count":0,"high_count":0,"medium_count":0,"low_count":0,"scanner":"osv@v1","scan_id":"52e8c6bf-8cc5-4b47-9f9d-23559aac5be4","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":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/tree/70594cf56b5aa367e74531b7d1b5d7edb077be31","observed_at":"2026-10-18T06:00:23.370Z","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":3,"candidate_files":3},"revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/tree/70594cf56b5aa367e74531b7d1b5d7edb077be31","observed_at":"2026-10-18T06:00:23.370Z","observations":[{"path":"@revision","bytes":5050,"status":"present","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/commit/70594cf56b5aa367e74531b7d1b5d7edb077be31","http_status":200,"observed_at":"2026-10-18T06:00:23.538Z"},{"path":"@tree","bytes":30521,"status":"present","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/tree/70594cf56b5aa367e74531b7d1b5d7edb077be31","http_status":200,"observed_at":"2026-10-18T06:00:23.696Z"},{"path":"docker-compose.yml","bytes":4200,"status":"present","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/blob/70594cf56b5aa367e74531b7d1b5d7edb077be31/docker-compose.yml","http_status":200,"observed_at":"2026-10-18T06:00:23.819Z"},{"path":"Dockerfile","bytes":880,"status":"present","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/blob/70594cf56b5aa367e74531b7d1b5d7edb077be31/Dockerfile","http_status":200,"observed_at":"2026-10-18T06:00:23.810Z"},{"path":"mcp.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/tree/70594cf56b5aa367e74531b7d1b5d7edb077be31","observed_at":"2026-10-18T06:00:23.696Z"},{"path":"package.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/tree/70594cf56b5aa367e74531b7d1b5d7edb077be31","observed_at":"2026-10-18T06:00:23.696Z"},{"path":"pyproject.toml","bytes":1308,"status":"present","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/blob/70594cf56b5aa367e74531b7d1b5d7edb077be31/pyproject.toml","http_status":200,"observed_at":"2026-10-18T06:00:23.811Z"},{"path":"server.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/tree/70594cf56b5aa367e74531b7d1b5d7edb077be31","observed_at":"2026-10-18T06:00:23.696Z"}]},"languages":{"value":["python"],"method":"github-tree-and-contents@2","source":"github.language+pyproject.toml","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/tree/70594cf56b5aa367e74531b7d1b5d7edb077be31","observed_at":"2026-10-18T06:00:23.370Z"},"has_docker":{"value":true,"method":"repository-declaration@2","source":"dockerfile:Dockerfile","revision":"70594cf56b5aa367e74531b7d1b5d7edb077be31","source_url":"https://github.com/m7mdhka/pydantic-ai-production-ready-template/blob/70594cf56b5aa367e74531b7d1b5d7edb077be31/Dockerfile","observed_at":"2026-10-18T06:00:23.370Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":{"notes":["Depends on Python >=3.13","Uses 'uv' package manager which is specific","Requires installation via make commands for quick setup"],"min_ram_gb":null,"requires_docker":true},"constraints":{"min_ram_gb":null,"requires_docker":true},"when_to_use":["You need a ready-to-go setup with FastAPI, PostgreSQL, Redis, Prometheus, and Grafana integrated and well-documented","Your project requires prompt versioning with LiteLLM and needs tight integration of AI models into existing infrastructure"],"when_not_to_use":["If you are looking for flexibility over pre-configured solutions as this template has specific dependencies like PostgreSQL and Redis that might not fit every use case","You prefer to configure CI/CD, monitoring, and testing tools yourself without predefined configurations, or if your application does not benefit from LiteLLM"],"source":"enrich:decision_facts","observed_at":"2026-07-16T21:31:00.135Z"},"constraint_facets":{"min_ram_gb":null,"requires_docker":true},"decision_summary":[{"label":"Requirements","value":"Requires Docker; Depends on Python >=3.13; Uses 'uv' package manager which is specific; Requires installation via make commands for quick setup"},{"label":"Adopt for","value":"Unverified catalog guidance: Production-ready template for fast AI app deployment using Pydantic AI, FastAPI, PostgreSQL, Redis, LiteLLM with pre-configured CI/CD and observability tools"},{"label":"License detail","value":"License information not available in repository data"}]}}