Frameworks
Approved frameworks and libraries for this codebase with Context7 IDs for documentation lookup.
Critical Rules
- Use ONLY approved frameworks - NEVER introduce alternatives or substitutes
- Fetch docs when uncertain - Use Context7 MCP with the library ID directly
- Use modern patterns - Avoid deprecated methods; check latest docs if uncertain
Quick Reference
| Framework | Purpose | Context7 ID | Docs |
|---|---|---|---|
| LangChain | Agent architecture, LLM integrations | /websites/langchain |
docs |
| LangGraph | Stateful agent orchestration | /websites/langgraph |
docs |
| FastMCP | MCP server implementations | /jlowin/fastmcp |
docs |
| Polars | DataFrame operations | /pola-rs/polars |
docs |
| Pydantic | Data validation, settings | /pydantic/pydantic |
docs |
| diskcache | Disk-based caching | /grantjenks/python-diskcache |
docs |
| loguru | Logging | /delgan/loguru |
docs |
| pytest | Testing | /pytest-dev/pytest |
docs |
| pytest-check | Multiple failures per test | /okken/pytest-check |
docs |
| ruff | Linter and formatter | /astral-sh/ruff |
docs |
| sqlglot | SQL parsing, transpiling, optimization | /tobymao/sqlglot |
docs |
| ty | Type checker | /astral-sh/ty |
docs |
| uv | Package manager | /astral-sh/uv |
docs |
Fetching Documentation
When uncertain about API details, use Context7 MCP directly with the library ID:
mcp__context7__query-docs(libraryId="/pydantic/pydantic", query="field validators")