简介
Phidata 是一个 Python Agent 框架,GitHub 18,000+ stars。内置 PostgreSQL 记忆、RAG 知识库、50+ 工具集成和监控面板。适合需要生产级 Agent 的 Python 开发者。
Python framework for building AI agents with built-in memory (PostgreSQL), knowledge bases (RAG), and 50+ tool integrations. Production-ready with monitoring dashboard. 18,000+ GitHub stars.
这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。
pip install phidatafrom phi.agent import Agent
from phi.model.anthropic import Claude
from phi.tools.duckduckgo import DuckDuckGo
agent = Agent(model=Claude(id="claude-sonnet-4-20250514"), tools=[DuckDuckGo()])
agent.print_response("2026 年最火的 AI 编码工具有哪些?")Phidata 是一个 Python Agent 框架,GitHub 18,000+ stars。内置 PostgreSQL 记忆、RAG 知识库、50+ 工具集成和监控面板。适合需要生产级 Agent 的 Python 开发者。