Install libraries
Authentication
Set yourTOGETHER_API_KEY environment variable.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use Agno with Together AI to build multimodal agents.
pip install -U agno duckduckgo-search
TOGETHER_API_KEY environment variable.
export TOGETHER_API_KEY=***
from agno.agent import Agent
from agno.models.together import Together
from agno.tools.duckduckgo import DuckDuckGoTools
agent = Agent(
model=Together(id="Qwen/Qwen3.5-9B"),
tools=[DuckDuckGoTools()],
markdown=True,
)
agent.print_response("What's happening in New York?", stream=True)
Was this page helpful?