← CookbookView source on GitHub ↗

Banner

HackerNews Analysis Agent

A powerful AI agent built with Agno that analyzes and provides insights about HackerNews content. This agent uses the Nebius AI model to deliver intelligent analysis of tech news, trends, and discussions.

Features

References and Acknowledgements

Tech Stack

Prerequisites

Installation

1. Get the code

git   clone    https://github.com/nebius/token-factory-cookbook/
cd    agents/agno-hacker-news-agent

2. Install dependencies:

using uv

# create a venv and install dependencies
uv  sync

Or install using python pip

pip install -r requirements.txt

3 - Create .env file

Create a .env file in the project root and add your Nebius API key:

cp env.example .env
NEBIUS_API_KEY=your_api_key_here

Running the agent

Using uv

uv  sync
uv  run   python main.py

Using python pip

python main.py

The agent will start with a welcome message and show available capabilities. You can interact with it by typing your questions or commands.

Example Queries

Notebooks in this recipe: