Scripts2026年4月2日·1 分钟阅读
Qwen-Agent — Build AI Agents on Qwen Models
Agent framework by Alibaba with function calling, code interpreter, RAG, and MCP support. Built for Qwen 3.0+. 15K+ stars.
TO
TokRepo精选 · Community
快速使用
先拿来用,再决定要不要深挖
这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。
```bash
pip install -U "qwen-agent[gui,rag,code_interpreter,mcp]"
```
```python
from qwen_agent.agents import Assistant
agent = Assistant(
llm={"model": "qwen-max", "api_key": "YOUR_KEY"},
function_list=["code_interpreter", "web_search"],
system_message="你是一个数据分析师。"
)
messages = [{"role": "user", "content": "分析 2025 年 AI 融资趋势"}]
for response in agent.run(messages):
print(response)
```
---
🙏
来源与感谢
> Created by [QwenLM](https://github.com/QwenLM) (Alibaba Qwen Team). Licensed under Apache-2.0.
>
> [Qwen-Agent](https://github.com/QwenLM/Qwen-Agent) — ⭐ 15,800+
讨论
登录后参与讨论。
还没有评论,来写第一条吧。
相关资产
PocketBase — Backend in One File for AI Apps
Open-source backend with database, auth, file storage, and admin UI in a single executable. Perfect for AI app backends. 57K+ stars.
TokRepo精选
LLM — CLI Swiss Army Knife for Language Models
Run prompts from the terminal, log everything to SQLite, manage 50+ providers via plugins. By Django co-creator. 11K+ stars.
TokRepo精选
Zed — High-Performance AI Code Editor
GPU-accelerated editor built in Rust with multiplayer editing and built-in AI assistant. By the creators of Atom. 78K+ stars.
TokRepo精选