An end-to-end AI agent system that demonstrates Context Engineering and A2A (Agent-to-Agent) communication for automated RFP processing and proposal generation.
This system showcases advanced AI agent capabilities through a complete RFP workflow:
- RFP Discovery - Bright Data MCP fetches fresh RFP listings from public portals
- PDF Processing - Apify actor extracts and chunks RFP content
- Context Engineering - Senso normalizes extracted data into structured schema
- Retrieval Index - Redis VL + LlamaIndex build knowledge graph
- Proposal Generation - Agent drafts proposal using retrieved context
- A2A Evaluation - HoneyHive evaluates and agent self-improves
- Microsite Deploy - Qodo publishes proposal microsite
# Clone and setup
git clone <repository-url>
cd auto-rfp
# Install dependencies
npm install
# Copy environment template
cp .env.example .env.local
# Start development server
npm run dev
# Open http://localhost:3000- Node.js 18+ and npm
- Redis server (optional - fallback mode available)
- API keys for external services (optional - demo mode available)
The system works in demo mode by default with fallback implementations. For full functionality, configure these services:
# Authentication (Stytch)
NEXT_PUBLIC_STYTCH_PROJECT_ID=your_project_id
NEXT_PUBLIC_STYTCH_PUBLIC_TOKEN=your_public_token
STYTCH_SECRET=your_secret_key
# Context Engineering (Senso)
SENSO_API_KEY=your_senso_api_key
SENSO_ORG_ID=your_org_id
# Evaluation (HoneyHive)
HONEYHIVE_API_KEY=your_honeyhive_api_key
# Publishing (Qodo)
QODO_API_KEY=your_qodo_api_key
# Data Sources
BRIGHT_DATA_API_KEY=your_bright_data_key
APIFY_API_TOKEN=your_apify_token
# Vector Store (Redis)
REDIS_URL=redis://localhost:6379
# LLM APIs
OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key-
Development Mode:
npm run dev
-
Production Build:
npm run build npm start
-
Type Checking:
npm run type-check
- Fallback Mode: All components work without external APIs
- Real-time Visualization: Live agent workflow display
- Interactive Demo: Click "Start Demo" to see the full pipeline
- API Testing: Built-in endpoints for testing integrations
- Agent Orchestrator - Coordinates multi-agent workflow
- MCP Integrations - Bright Data, Apify, Senso integrations
- Context Engineering - PDF → chunks → schema → retrieval pipeline
- A2A Loops - Self-improvement through evaluation feedback
- Demo Interface - Real-time visualization of agent activity
- Context Engineering: Transforms messy PDFs into structured, retrievable context
- A2A Communication: Agents collaborate and self-improve through feedback loops
- MCP Integration: Uses Model Context Protocol for tool integration
- Real-time Demo: Live visualization of agent workflow and decision-making
- Start Demo - Click "Start Demo" to begin the workflow
- Watch Agents Work - See each agent complete its specialized task
- A2A Evaluation - Observe the self-improvement loop in action
- Final Result - View the generated proposal and microsite
rfp-monitor- Discovers and monitors RFP portalspdf-processor- Extracts and chunks PDF contentcontext-engineer- Normalizes data into structured schemasproposal-writer- Generates proposals using retrieved contextevaluator- Evaluates proposals and generates improvement feedbackdeployer- Deploys final microsite
- Bright Data MCP: Web scraping and data extraction
- Apify MCP: PDF processing and content extraction
- Senso MCP: Data normalization and schema mapping
- PDF extraction and chunking
- Requirement and criteria extraction
- Schema normalization and validation
- Vector embedding generation
- Knowledge graph construction
- Retrieval index building
This demo is designed for the Context Engineering AI Agent Competition and showcases:
- Advanced Reasoning: Multi-step problem solving across agents
- Tool Integration: 3+ sponsor tools (Bright Data, Apify, Senso)
- A2A Communication: Self-improving agent loops
- Context Engineering: Sophisticated data transformation pipeline
- Live Demo: Real-time visualization of agent behavior
src/
├── components/
│ └── DemoInterface.tsx # Main demo interface
├── lib/
│ ├── agents/
│ │ └── orchestrator.ts # Agent coordination
│ ├── mcp/
│ │ ├── bright-data.ts # Bright Data MCP
│ │ ├── apify.ts # Apify MCP
│ │ └── senso.ts # Senso MCP
│ └── retrieval/
│ └── redis-llamaindex.ts # Vector store integration
├── types/
│ ├── rfp.ts # RFP data types
│ └── agent.ts # Agent communication types
└── app/
└── page.tsx # Main page
Set up environment variables for MCP servers and API keys:
# MCP Server URLs
BRIGHT_DATA_MCP_URL=http://localhost:3001
APIFY_MCP_URL=http://localhost:3002
SENSO_MCP_URL=http://localhost:3003
# Redis Configuration
REDIS_URL=redis://localhost:6379
# API Keys
OPENAI_API_KEY=your_key_here
ANTHROPIC_API_KEY=your_key_here-
Introduction (30s)
- "This is Auto RFP, an AI agent system that processes RFPs end-to-end"
- "It uses Context Engineering to transform messy PDFs into structured data"
- "And A2A communication for self-improvement"
-
Live Demo (2m)
- Click "Start Demo"
- Show agent workflow progression
- Highlight A2A evaluation loop
- Display final proposal result
-
Wrap-up (30s)
- "The system demonstrates advanced agent reasoning"
- "Uses 3+ sponsor tools with MCP integration"
- "Shows real-time A2A communication and self-improvement"
- Idea (25%): Unique value proposition with advanced reasoning
- Technical Implementation (25%): Novel use of tools and agent architecture
- Tool Use (25%): Integration of 3+ sponsor tools
- Presentation (25%): Clear 3-minute demo showcasing agent impact
MIT License - Built for Context Engineering AI Agent Competition