from agno.agent import Agent from agno.models.nebius import Nebius agent = Agent( model=Nebius(), markdown=True, debug_mode=True, ) # Print the response in the terminal agent.print_response("write a two sentence horror story", stream=True)
Set up your virtual environment
uv venv --python 3.12 source .venv/bin/activate
Set your API key
export NEBIUS_API_KEY=xxx
Install dependencies
uv pip install -U openai agno
Run Agent
python cookbook/11_models/nebius/basic_stream.py
Was this page helpful?