Skip to content

Build AI Agents with DashScope (Qwen)

Alibaba Cloud's Qwen model family

Available DashScope (Qwen) Models

ModelID
Qwen Plusqwen-plus
Qwen Maxqwen-max
Qwen Turboqwen-turbo
Qwen 2.5 72B Instructqwen2.5-72b-instruct

Quick start code

agent.py
from agno.agent import Agent
from agno.models.dashscope import DashScope

agent = Agent(
    name="My DashScope (Qwen) Agent",
    model=DashScope(id="qwen-plus"),
    instructions=["You are a helpful assistant."],
    markdown=True,
)

agent.print_response("Hello! What can you help me with?")

Install: pip install agno Then set DASHSCOPE_API_KEY

Contact Us

Press Ctrl+Enter to send