from agno.agent import Agent agent = Agent(instructions="Share a 2 sentence story about") agent.print_response("Love in the year 12000.")
创建虚拟环境
Terminal
python3 -m venv .venv source .venv/bin/activate
设置您的 API 密钥
export OPENAI_API_KEY=xxx
安装库
pip install -U openai agno
运行代理
python cookbook/agent_concepts/other/instructions.py