Buckets:

download
raw
742 Bytes
"""
N1N Basic
=========
Cookbook example for `n1n/basic.py`.
"""
from agno.agent import Agent
from agno.models.n1n import N1N
# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------
agent = Agent(model=N1N(id="gpt-5.6-luna"), markdown=True)
# ---------------------------------------------------------------------------
# Run Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
# --- Sync ---
agent.print_response("Share a 2 sentence horror story.")
# --- Sync + Streaming ---
agent.print_response("Share a 2 sentence horror story.", stream=True)

Xet Storage Details

Size:
742 Bytes
·
Xet hash:
d14276219ac509cc3d27a7c5a05743f3bc54a1132f590980d0aff2b8a2fed085

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.