Buckets:

download
raw
1.06 kB
"""
Llmman Basic
============
Cookbook example for `llmman/basic.py`.
Refer to- cookbook/90_models/llmman/README.md for installation steps
"""
from agno.agent import Agent, RunOutput # noqa
from agno.models.llmman import Llmman
# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------
agent = Agent(model=Llmman(id="qwen3:0.6b-q4_K_M"), markdown=True)
# The string syntax works too: Agent(model="llmman:qwen3:0.6b-q4_K_M", markdown=True)
# Get the response in a variable
# run: RunOutput = agent.run("Share a 2 sentence horror story")
# print(run.content)
# ---------------------------------------------------------------------------
# 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:
1.06 kB
·
Xet hash:
ac61744fc16a65dc4c8fa8e4b46363861b7b4d8b5791da76f9194ec49b394e9c

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