Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /agno-agi_agno /cookbook /91_tools /hackernews_tools.py
| """ | |
| Hackernews Tools | |
| ============================= | |
| Demonstrates hackernews tools. | |
| """ | |
| from agno.agent import Agent | |
| from agno.models.anthropic import Claude | |
| from agno.tools.hackernews import HackerNewsTools | |
| # --------------------------------------------------------------------------- | |
| # Create Agent | |
| # --------------------------------------------------------------------------- | |
| agent = Agent( | |
| model=Claude(id="claude-sonnet-4-5"), | |
| tools=[HackerNewsTools()], | |
| markdown=True, | |
| ) | |
| # --------------------------------------------------------------------------- | |
| # Run Agent | |
| # --------------------------------------------------------------------------- | |
| if __name__ == "__main__": | |
| agent.print_response( | |
| "Write a report on trending startups and products.", stream=True | |
| ) | |
Xet Storage Details
- Size:
- 792 Bytes
- Xet hash:
- cd1e61d0a09c004180d0c789d7fbd21a147a30333a1c832380f02330aed03e20
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.