HackerNews:
hackernews_agent.py
Run your Agent
UseAgent.print_response() for development. It prints the response in a readable format in your terminal.
For production, use Agent.run() or Agent.arun():
Dynamic Agent Configuration
In Agno, callable factories are a first-class pattern for dynamic runtime configuration. For agents, callables are used to build tools and knowledge from live run context instead of fixed configuration. Teams can dynamically compose members, tools, and knowledge per user or task with callable factories. Tools expose only what is relevant at that moment to keep execution focused. In case of knowledge, callables route retrieval to the best source per request for more precise, up-to-date responses.Next Steps
After getting familiar with the basics, add functionality as needed:| Task | Guide |
|---|---|
| Run agents | Running agents |
| Debug agents | Debugging agents |
| Manage sessions | Agent sessions |
| Handle input/output | Input and output |
| Add tools | Tools |
| Manage context | Context engineering |
| Add knowledge | Knowledge |
| Handle images, audio, video, files | Multimodal |
| Add guardrails | Guardrails |
| Cache responses during development | Response caching |