# export TOGETHER_API_KEY=your-api-key
from praisonaiagents import Agent, Task, AgentTeam
researcher = Agent(
instructions="You research topics thoroughly",
llm="together_ai/meta-llama/Llama-3.3-70B-Instruct-Turbo"
)
writer = Agent(
instructions="You write clear summaries",
llm="together_ai/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"
)
task1 = Task(description="Research quantum computing", agent=researcher)
task2 = Task(description="Summarize findings", agent=writer)
agents = AgentTeam(agents=[researcher, writer], tasks=[task1, task2])
agents.start()