agno-basic-agents

Create Agno agents with personas, streaming, sampling parameters, and context injection.

Updated Sep 10, 2026
One-click install
npx skills add https://github.com/allankltsn/setup_kiro --skill agno-basic-agents-allankltsn
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agno-basic-agents
Source: https://github.com/allankltsn/setup_kiro/tree/main/.kiro/skills/agno-basic-agents
Command: npx skills add https://github.com/allankltsn/setup_kiro --skill agno-basic-agents-allankltsn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agno.

What problem does it solve? Building your first LLM agents involves many small decisions—persona definition, run versus stream execution, sampling parameters, and context injection—that are easy to get wrong without guidance. This Skill provides working Agno code patterns for each of these foundational choices. ## Core Features & Use Cases - Agent Persona Setup: Define an Agent with name, description, and instructions to separate who the agent is from how it behaves. - Run vs Stream Execution: Choose between full-response runs and token-by-token streaming for better interactive UX. - Sampling Parameter Control: Configure temperature, top_p, top_k, and max_tokens on models like OpenAIChat to balance determinism, creativity, and cost. - Context Engineering: Inject static context dictionaries and datetime into agents while keeping instructions short and specific. - Use Case: A developer learning the Agno framework can compare temperature=0 versus temperature=1 outputs and toggle streaming to understand how each parameter changes agent behavior. ## Quick Start Create a basic Agno agent with a mentor persona, streaming output, and tuned sampling parameters using the patterns in this skill.

Frequently Asked Questions about agno-basic-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a basic agent with the Agno framework?▼

Instantiate the Agent class from agno.agent with a model, name, description, and a list of instructions. The description defines the persona while instructions define behavior rules, and setting markdown=True formats the output.

What is the difference between run and stream in Agno agents?▼

agent.run returns the complete response at once, while streaming with print_response and stream=True prints tokens as they are generated. Streaming gives better perceived responsiveness for interactive use.

How do temperature, top_p, and top_k affect LLM responses?▼

Temperature controls randomness, with 0 being deterministic and higher values more varied. Top_p applies nucleus sampling and top_k limits candidate tokens, though not every provider supports top_k. Max_tokens caps response length and cost.

Does every model provider support the top_k parameter?▼

No, top_k support varies by provider. The skill recommends documenting in your README which parameters your chosen provider actually supports to avoid silent misconfiguration.

How do I inject context into an Agno agent?▼

Pass a context dictionary with static data to the Agent constructor and set add_datetime_to_context=True to include the current date and time. Keep context limited to what the task requires and separate it from persona and instructions.