# 🐍 FlyPython - LLM Agent 与 AI 开发中心 [python.flypython.com](https://python.flypython.com) ## 🤖 LLM Agent Python - 核心重点 ### 🚀 主流 LLM Agent 框架 #### **OpenAI Agents SDK** - [OpenAI Agents Python 文档](https://openai.github.io/openai-agents-python/) - 官方 OpenAI Agents SDK,用于构建 Python 智能体 - [OpenAI Agents SDK 快速开始](https://openai.github.io/openai-agents-python/quickstart/) - 官方快速上手指南 - [OpenAI Python 库](https://github.com/openai/openai-python) - 官方 OpenAI Python 客户端 - [OpenAI Developer Resources](https://developers.openai.com/resources) - OpenAI 官方开发资源入口 #### **CrewAI - 多智能体系统** - [CrewAI 框架](https://github.com/joaomdmoura/crewAI) - 用于协调角色扮演、自主 AI 智能体的框架 - [CrewAI 文档](https://docs.crewai.com/) - 官方 CrewAI 文档 - [CrewAI 示例](https://github.com/crewAIInc/crewAI-examples) - 官方示例项目 - [使用 CrewAI 学习 Agentic AI](https://github.com/panaversity/learn-agentic-ai) - 综合学习资源 #### **LangGraph - 高级智能体工作流** - [LangGraph](https://github.com/langchain-ai/langgraph) - 使用 LLM 构建有状态的多角色应用 - [LangChain Agent 教程](https://python.langchain.com/docs/tutorials/) - LangChain Agent 与工具调用教程 #### **AutoGen - 对话式 AI 智能体** - [Microsoft AutoGen](https://github.com/microsoft/autogen) - 多智能体对话框架 #### **Agent 开发基础设施** - [Anthropic Tool Use](https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/overview) - Claude 官方工具调用与 Agent 工作流指南 - [Google Agent Development Kit](https://google.github.io/adk-docs/) - Google 官方 Agent Development Kit 文档 - [Model Context Protocol](https://modelcontextprotocol.io/introduction) - 连接模型、工具与外部上下文的开放协议 - [PydanticAI](https://ai.pydantic.dev/) - Pydantic 团队推出的类型安全 Python Agent 框架 - [Mastra 文档](https://mastra.ai/docs) - 带工作流、评测和可观测性的 Agent 框架 - [Dapr Python SDK](https://github.com/dapr/python-sdk) - 分布式与有状态 Python 服务组件 ### 🛠️ 开源 LLM Agent 项目 #### **极简与教育性项目** - [min-agent](https://github.com/zhouzaida/min-agent) - 极简 200 行 LLM Agent,用于理解智能体原理 - [LangChain ReAct Agent](https://github.com/botextractai/ai-langchain-react-agent) - 带 Python REPL 和搜索的 ReAct 智能体 - [开源 LLM Agents ReAct](https://github.com/Praveengovianalytics/llm_agents_open_source) - 开源 ReAct 实现参考 #### **生产就绪框架** - [SuperModels](https://github.com/JohannesVC/SuperModels) - 具有反思机制的 LLM 智能体桌面应用 - [AgentKit](https://github.com/japanvik/agentkit) - 面向分布式 Agent 的轻量工具集 ### 📚 LLM Agent 学习资源 #### **综合指南** - [OpenAI Cookbook](https://cookbook.openai.com/) - OpenAI 官方示例与实践集合 - [Prompt 优化指南](https://cookbook.openai.com/examples/optimize_prompts) - OpenAI 的提示词优化工作流 #### **课程与教程** - [Agentic AI 开发课程](https://github.com/panaversity/learn-agentic-ai) - 完整的 Agentic AI 学习仓库 - [Python 人工智能和机器学习](https://realpython.com/learning-paths/machine-learning-python/) - Python AI 学习路径 ## 📖 Python 学习与开发 ### 🎯 快速导航 1. [Python 新闻](#python-新闻) 2. [Python 书籍](#python-书籍) 3. [课程](#课程) 4. [算法与数据结构](#算法) 5. [Web 开发](#web-开发) 6. [数据科学与分析](#数据科学) 7. [自动化与机器人](#自动化与机器人) 8. [金融与交易](#金融与交易) 9. [性能优化](#性能优化) --- ### Python 新闻 - [Python 官方](https://www.python.org/) - [Python Insider](https://blog.python.org/) - **Reddit 社区:** - [r/Python](https://www.reddit.com/r/Python/) - [r/learnpython](https://www.reddit.com/r/learnpython/) - [r/pythontips](https://www.reddit.com/r/pythontips/) - [r/pythoncoding](https://www.reddit.com/r/pythoncoding) ### Python 书籍 #### **初学者** - **Python 编程从入门到实践** (第 3 版, 2023) - [Amazon](https://www.amazon.com/Python-Crash-Course-Hands-Project-Based/dp/1718502702) - **Python 编程入门** (第 4 版) - [Amazon](https://www.amazon.com/Starting-Out-Python-Tony-Gaddis/dp/0134444329) - **Python 编程快速上手:让繁琐工作自动化** (第 2 版) - [免费在线](https://automatetheboringstuff.com/) | [Amazon](https://www.amazon.com/Automate-Boring-Stuff-Python-Programming/dp/1593279922) #### **高级 Python** - **Python Cookbook:掌握 Python 3 的秘诀** - [Amazon](https://www.amazon.co.uk/Python-Cookbook-David-Beazley/dp/1449340377) - **Effective Python:编写高质量 Python 代码的 90 个建议** (第 2 版) - [Amazon](https://www.amazon.com/Effective-Python-Specific-Software-Development/dp/0134853989) - **Python 代码整洁之道** - [Amazon](https://www.amazon.com/Clean-Code-Python-maintainable-efficient/dp/1788835832) ### 课程 #### **初学者课程** - [Python for Everybody](https://www.coursera.org/specializations/python) - [Python 3 编程](https://www.coursera.org/specializations/python-3-programming) #### **高级学习** - [Flask 和 Python REST API](https://www.coursera.org/learn/packt-rest-apis-with-flask-and-python-in-2024-i01az) - 专业 Flask 开发 - [yfinance 文档](https://ranaroussi.github.io/yfinance/) - Yahoo Finance Python 数据接口官方文档 ### 算法 - [Python 交互式编程面试挑战](https://github.com/donnemartin/interactive-coding-challenges) - 算法和数据结构 - [算法:Python 中的最小示例](https://github.com/keon/algorithms) - 数据结构和算法 - [Pygorithm](http://pygorithm.readthedocs.io/en/latest) - 学习算法的有趣方式 ### Web 开发 #### **FastAPI** - [FastAPI 文档](https://fastapi.tiangolo.com/) - 现代、快速的 API 构建 Web 框架 - [FastAPI 最佳实践](https://github.com/zhanymkanov/fastapi-best-practices) #### **Flask** - [Flask 和 Python REST API](https://www.coursera.org/learn/packt-rest-apis-with-flask-and-python-in-2024-i01az) - [使用 Python 和 Flask 开发 RESTful API](https://auth0.com/blog/developing-restful-apis-with-python-and-flask) - [Flask 与代码质量](https://flake8.pycqa.org/en/latest/user/error-codes.html) #### **Django** - [Django 完全初学者指南 - 第 1 部分](https://simpleisbetterthancomplex.com/series/2017/09/04/a-complete-beginners-guide-to-django-part-1.html) - [Django REST framework 快速入门](https://www.django-rest-framework.org/tutorial/quickstart/) ### 数据科学 #### **NumPy** - [从 Python 到 NumPy](http://www.labri.fr/perso/nrougier/from-python-to-numpy/) - [探索 Python 包中的行长度](http://jakevdp.github.io/blog/2017/11/09/exploring-line-lengths-in-python-packages) #### **Matplotlib** - [Matplotlib 剖析](https://github.com/matplotlib/AnatomyOfMatplotlib) #### **数据分析项目** - [探索美国警务数据](https://blog.patricktriest.com/police-data-python) - [用 pandas 制作成绩册](https://realpython.com/pandas-project-gradebook/) - [FiveThirtyEight 风格图表](https://matplotlib.org/stable/gallery/style_sheets/fivethirtyeight.html) - [亚马逊产品评论分析](http://minimaxir.com/2017/01/amazon-spark) ### 自动化与机器人 #### **网页抓取** - [Scrapy 教程](https://docs.scrapy.org/en/latest/intro/tutorial.html) - [高级网页抓取:绕过 403 禁止](http://sangaline.com/post/advanced-web-scraping-tutorial) - [掌握 Python 网页抓取](https://hackernoon.com/mastering-python-web-scraping-get-your-data-back-e9a5cc653d88) #### **自动化项目** - [使用 Twilio 和 Python 的婚礼自动化](https://www.twilio.com/blog/2017/04/wedding-at-scale-how-i-used-twilio-python-and-google-to-automate-my-wedding.html) - [在 Medium 上寻找有趣的人](https://medium.freecodecamp.org/how-i-used-python-to-find-interesting-people-on-medium-be9261b924b0) #### **电子表格集成** - [Python Excel 教程:权威指南](https://hackernoon.com/python-excel-tutorial-the-definitive-guide-934ee6dd15b0) - [在 Excel 中使用 Python 进行数据分析](https://learning.anaconda.cloud/anaconda-certified-data-analysis-with-python-in-excel) - [Google Sheets 和 Python](https://www.youtube.com/watch?v=vISRn5qFrkM) ### 金融与交易 - [yfinance 文档](https://ranaroussi.github.io/yfinance/) - [使用 pandas 构建量化回测环境](https://www.quantstart.com/articles/Research-Backtesting-Environments-in-Python-with-pandas/) - [Alpha Vantage API 文档](https://www.alphavantage.co/documentation/) - [股票价格数据 - Python 金融编程](https://www.youtube.com/watch?v=2BrpKpWwT2A) - [分析加密货币市场](https://blog.patricktriest.com/analyzing-cryptocurrencies-python) ### 性能优化 - [Python 每秒百万请求](https://medium.freecodecamp.com/million-requests-per-second-with-python-95c137af319) - [是的,Python 很慢,但我不在乎](https://hackernoon.com/yes-python-is-slow-and-i-dont-care-13763980b5a1) - [Python 中的记忆化](https://dbader.org/blog/python-memoization)