Skip to content

Add competitive intelligence agent template#5179

Merged
bryanadenhq merged 2 commits intoaden-hive:mainfrom
nafiyad:feature/competitive-intelligence-agent-4153
Feb 23, 2026
Merged

Add competitive intelligence agent template#5179
bryanadenhq merged 2 commits intoaden-hive:mainfrom
nafiyad:feature/competitive-intelligence-agent-4153

Conversation

@nafiyad
Copy link
Copy Markdown
Contributor

@nafiyad nafiyad commented Feb 21, 2026

  • Adds a new autonomous agent template that monitors competitor websites, news, and GitHub
  • Implements a 7-node graph workflow to collect, aggregate, and analyze competitive data
  • Generates a weekly structured HTML digest with key highlights and 30-day trends
  • Utilizes existing web_scrape, web_search, and github MCP tools
  • Addresses issue [Agent Idea] Competitive Intelligence Agent #4153

Closes #4153

Description

Adds a new CompetitiveIntelAgent to the examples templates. This goal-driven agent uses a multi-step graph to automate the collection and analysis of competitor data across web pages, news articles, and GitHub repositories.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)

Related Issues

Fixes #4153

Changes Made

  • Created agent.py implementing the 7-node pipeline and agent class.
  • Defined specific nodes in nodes/init.py with LLM system prompts for data extraction and HTML generation.
  • Added mcp_servers.json to configure the required tools (web_search, web_scrape, github).
  • Developed a CLI/TUI entry point in main.py and configuration in config.py.
  • Wrote a detailed README.md explaining setup, execution, and graph architecture.

Testing

Describe the tests you ran to verify your changes:

  • Tested the agent locally against a custom JSON payload of competitors.

  • Verified the generated HTML digest successfully aggregates and styles the findings.

  • Unit tests pass (cd core && pytest tests/)

  • Lint passes (cd core && ruff check .)

  • Manual testing performed

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Screenshots (if applicable)

Add screenshots to demonstrate UI changes.

- Adds a new autonomous agent template that monitors competitor websites, news, and GitHub
- Implements a 7-node graph workflow to collect, aggregate, and analyze competitive data
- Generates a weekly structured HTML digest with key highlights and 30-day trends
- Utilizes existing web_scrape, web_search, and github MCP tools
- Addresses issue aden-hive#4153

Closes aden-hive#4153
Copy link
Copy Markdown
Collaborator

@bryanadenhq bryanadenhq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nafiyad, this is a great pr! I only have one thing to add, could you please run the export command form the agent-builder mcp server. It is going to generate the agent.json that is still the fallback for some functions. When you finish, please @ me in the discord and I will merge your change!

Generated the agent.json fallback configuration using the agent-builder MCP server export functionality as requested by the reviewer.
@nafiyad nafiyad requested a review from bryanadenhq February 23, 2026 04:21
Copy link
Copy Markdown
Collaborator

@bryanadenhq bryanadenhq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the awesome sample agent!

@bryanadenhq bryanadenhq merged commit 8e262e2 into aden-hive:main Feb 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Agent Idea] Competitive Intelligence Agent

2 participants