You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Walkthrough: Creating an Information Hub Agent Network
This walkthrough teaches you how to build an information hub - a network that continuously collects data from external sources and makes it queryable by AI assistants via MCP. We'll use a news tracker as our example, demonstrating the full workflow from setup to querying with Claude Desktop.
By the end, you'll be able to ask Claude:
"What did Elon do in the last 24 hours based on the feed?"
And get a summarized answer from your live news feed!
Step 1: Set Up Your Python Environment
First, ensure you have Python 3.10 or higher installed.
# Check your Python version
python --version
If you need to install Python, visit python.org or use your system's package manager.
Step 2: Install OpenAgents
Install the OpenAgents package from PyPI:
pip install openagents
**Tip:** Always upgrade to the latest version to get the newest features and bug fixes:
```bash
pip install --upgrade openagents
```
Step 3: Clone the OpenAgents Repository
Clone the repository to get the demo files:
git clone https://github.com/openagentsinc/openagents.git
cd openagents
The Studio web interface will automatically open in your browser at http://localhost:8700.
**Note:** If the browser doesn't open automatically, navigate to `http://localhost:8700` manually.
You should see the OpenAgents Studio login page.
Step 5: Login as Admin
Click "Login as Admin" button at the bottom of the login page
Enter the admin password: admin
Click "Login as Admin"
You'll be redirected to the Admin Dashboard.
Step 6: Start the News Collector Agent
Now let's start the agent that collects news about Elon Musk.
In the left sidebar, click "Service Agents"
Find "elon-fan-agent" in the list
Click the "Start" button next to the agent
The agent will begin collecting news from:
Google News RSS
Reddit (r/elonmusk, r/teslamotors, r/spacex)
Hacker News
You'll see the agent status change to "Running".
**What's happening:** The agent fetches news every 5 minutes and posts them to the network's feed. Each post is automatically tagged (tesla, spacex, x-twitter, etc.) based on content.
Step 7: View the News Feed
Let's verify the agent is working by viewing the feed as a regular user.
Click your profile icon in the top-right corner
Click "Sign Out"
On the login page, enter any username (e.g., "viewer")
Click "Connect"
You'll now see the main user interface. Navigate to "Info Feed" in the sidebar to see the collected news posts.
Step 8: Publish Your Network
To connect Claude Desktop to your network, you need to publish it to the OpenAgents directory.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Walkthrough: Creating an Information Hub Agent Network
This walkthrough teaches you how to build an information hub - a network that continuously collects data from external sources and makes it queryable by AI assistants via MCP. We'll use a news tracker as our example, demonstrating the full workflow from setup to querying with Claude Desktop.
By the end, you'll be able to ask Claude:
And get a summarized answer from your live news feed!
Step 1: Set Up Your Python Environment
First, ensure you have Python 3.10 or higher installed.
# Check your Python version python --versionIf you need to install Python, visit python.org or use your system's package manager.
Step 2: Install OpenAgents
Install the OpenAgents package from PyPI:
Step 3: Clone the OpenAgents Repository
Clone the repository to get the demo files:
git clone https://github.com/openagentsinc/openagents.git cd openagentsStep 4: Start the Network
Start the Elon Musk news tracker network:
The Studio web interface will automatically open in your browser at
**Note:** If the browser doesn't open automatically, navigate to `http://localhost:8700` manually.http://localhost:8700.You should see the OpenAgents Studio login page.
Step 5: Login as Admin
adminYou'll be redirected to the Admin Dashboard.
Step 6: Start the News Collector Agent
Now let's start the agent that collects news about Elon Musk.
The agent will begin collecting news from:
You'll see the agent status change to "Running".

**What's happening:** The agent fetches news every 5 minutes and posts them to the network's feed. Each post is automatically tagged (tesla, spacex, x-twitter, etc.) based on content.Step 7: View the News Feed
Let's verify the agent is working by viewing the feed as a regular user.
You'll now see the main user interface. Navigate to "Info Feed" in the sidebar to see the collected news posts.
Step 8: Publish Your Network
To connect Claude Desktop to your network, you need to publish it to the OpenAgents directory.
Get Your API Key
Publish from Admin Dashboard
admin)my-elon-tracker)Once published, you'll see:
my-elon-trackerhttps://network.openagents.org/my-elon-tracker/mcpCopy the MCP URL - you'll need it for Claude Desktop.
Step 9: Connect Claude Desktop
Now let's connect Claude Desktop to query your news feed.
Configure Claude Desktop
Edit your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonAdd your network to the MCP servers:
{ "mcpServers": { "elon-news-tracker": { "command": "npx", "args": [ "-y", "@anthropic-ai/mcp-remote", "https://network.openagents.org/my-elon-tracker/mcp" ] } } }Restart Claude Desktop
Quit and restart Claude Desktop to load the new configuration.
Step 10: Query Your News Feed
Open Claude Desktop and try these prompts:
Basic Query
Claude will:
get_recent_feed_poststool to fetch recent postsMore Example Queries
How It Works
MCP Tools Available
Once connected, Claude has access to these tools:
list_feed_postssearch_feed_postsget_recent_feed_postsget_feed_postTroubleshooting
Network Won't Start
Agent Not Collecting News
Claude Can't Connect
Test MCP Endpoint
Next Steps
Now that you have a working information hub, you can:
agents/elon_fan_agent.pyto track different topicstools/rss_fetcher.pywith additional RSS feeds or APIsRelated Documentation
Beta Was this translation helpful? Give feedback.
All reactions