
Overview
In this tutorial, you’ll learn how to build a Hypermode Agent that automatically extracts product data from Product Hunt, enriches it with LinkedIn insights, and stores it as a knowledge graph in Neo4j. This powerful combination allows you to visualize relationships between products, founders, companies, and market trends.What you’ll build
By the end of this tutorial, you’ll have an Agent that:- Scrapes Product Hunt’s homepage for trending products using web search
- Enriches product data with founder and company information from LinkedIn
- Transforms the data into a knowledge graph structure
- Stores everything in Neo4j using Cypher queries
Prerequisites
- A Hypermode Pro account
- A Neo4j Sandbox or AuraDB instance (free tier works fine)
- Basic understanding of graph databases (helpful but not required)
What’s a Hypermode Agent?
Hypermode Agents are domain specific AI-powered assistants created with natural language instructions that can understand instructions, interact with external services, and perform complex tasks on your behalf. Unlike traditional chatbots, Hypermode Agents can actually take actions—like scraping websites, querying databases, and transforming data.Key features for this tutorial
- Natural Language Understanding: Give instructions in plain English
- Multiple Connections: Integrate with web search, LinkedIn, and Neo4j
- Data Transformation: Convert unstructured web data into structured graph relationships
- Flexible Output: Agents adapt their Cypher queries based on the data they find
Understanding the Technologies
Neo4j: the graph database
Neo4j is a graph database that stores data as nodes (entities) and relationships (connections between entities). Unlike traditional databases that use tables and rows, Neo4j excels at representing and querying interconnected data.
Product Hunt: the product discovery platform
Product Hunt is where makers launch new products daily - it’s a goldmine of data about:- Emerging products and startups
- Founder networks and connections
- Market trends and categories
- User engagement metrics

Why combine them?
By extracting Product Hunt data into Neo4j, you can:- Discover patterns in successful product launches
- Track founder networks and serial entrepreneurs
- Identify trending categories and technologies
- Analyze competitive landscapes

Step 1: Set up Neo4j Sandbox
Refer to the Hypermode Agents Neo4j connection
guide for more details on how to connect your
agent to Neo4j.
Create a Neo4j Sandbox
First, you need to go to https://sandbox.neo4j.com/ and create an account. When you get to making a database, select a blank sandbox.
Neo4j Sandbox provides free temporary instances perfect for testing. For
production use, consider Neo4j Aura or a self-hosted instance.
Note your connection details
Once your Neo4j sandbox instance is created (it may take a moment), you can navigate to the “Connection details” tab to view the connection credentials for your Neo4j sandbox instance. Note the username, password, and Bolt URL - you’ll use these in the next step to create a Neo4j connection in Hypermode Agents.
Creating your Neo4j agent
Step 1: Create a new agent
From the Hypermode Agents dashboard, create a new agent:- Select the “Create agent” button
- Describe your agent in a few sentences, we’ll use “Extracts product data from Product Hunt and builds knowledge graphs in Neo4j”

Step 2: View your agent profile
Once created, navigate to your agent’s details page. Here you can view and edit the agent instructions that were created from your initial agent description preceding the agent creation process.
Connecting to Neo4j
Step 1: Add the Neo4j connection
Navigate to the Connections tab in Hypermode Agents and add Neo4j:- Click “Add connection”
- Select the “Connect” button next to Neo4j in the list of available connections

Step 2: Configure credentials
Enter your Neo4j credentials from the Neo4j Sandbox details page.
Ensure you’re using the Bolt URL endpoint format.
Step 3: Update your agent instructions
Step 4: Test the connection
Verify Neo4j connectivity
Start a new thread with your agent and test the Neo4j connection:
Test web search capabilities

Step 5: Extract your first knowledge graph
Start with a simple extraction
Now let’s extract some real data! Try this prompt:Example workflow
Your agent will follow this process:- Data Search: Search for Product Hunt trending products
- Data Parsing: Extract product details, maker information
- LinkedIn Enrichment: Search for founder profiles and company data
- Graph Construction: Generate Cypher queries to create nodes and relationships
- Data Storage: Execute queries in Neo4j
- Verification: Query the graph to confirm data was stored correctly
Expected output structure
Your knowledge graph will have this structure:Step 6: Visualize your knowledge graph
Open Neo4j Bloom
Once your agent has populated the database, you can visualize the results using Neo4j Bloom, Neo4j’s graph visualization tool.- Find your Neo4j Bloom: Go to your Sandbox console and click “Open with Neo4j Bloom”


Generate a perspective
Once authenticated, you can generate a perspective to visualize your knowledge graph. Perspectives are Neo4j’s way of defining how to visualize graph data in Neo4j Bloom. Let’s generate a perspective from the graph data our agent has loaded into Neo4j.
Explore the graph
Once you’ve generated a perspective, you can explore the graph using Neo4j Bloom’s pattern matching search features by describing the patterns in the graph you want to visualize.

Summary
You’ve successfully built a Hypermode Agent that can extract, enrich, and store Product Hunt data as a knowledge graph in Neo4j. This powerful combination enables you to discover patterns and insights that would be impossible to find manually. The beauty of Hypermode Agents is their flexibility - you can easily modify your agent’s behavior, add new data sources, or change the graph structure without writing any code. As your needs evolve, your agent can evolve with them. Keep experimenting with different queries, data sources, and analysis techniques. The knowledge graph you’ve built is a living system that becomes more valuable as you add more data and connections.What’s next?
Knowledge graphs are a powerful tool for representing and analyzing complex data. They can be used for a variety of tasks, such as:Enrich your knowledge graph
- Add more data sources: Crunchbase for funding data, GitHub for technical metrics
- Include temporal data: Track how products evolve over time
- Add sentiment analysis: Analyze comments and reviews
- Geographic data: Map where products and founders are located
Build applications
- Recommendation engine: Suggest products based on founder networks
- Trend analysis: Identify emerging categories and technologies
- Investment insights: Find promising startups based on founder backgrounds
- Competitive intelligence: Track competitor products and strategies
Export and share
Once you’ve built a comprehensive knowledge graph, you can:- Export data for external analysis
- Create automated reports and dashboards
- Share insights with your team
- Build APIs on top of your graph data
Expand your knowledge graph
You can expand what your knowledge graph agent can do for you. Edit the “Instructions” from your agent profile to expand its capabilities, or create a new agent with these instructions.Add a second agent that analyzes emerging categories and technologies from your knowledge graph.