AI Deep Research Agent
A powerful research assistant that leverages the Motia Framework to perform comprehensive web research on any topic and any question.
Let's build a finance agent that:
- Deep Web Research: Automatically searches the web, extracts content, and synthesizes findings
- Iterative Research Process: Supports multiple layers of research depth for comprehensive exploration
- Event-Driven Architecture: Built using Motia Framework's event system for robust workflow management
- Parallel Processing: Efficiently processes search results and content extraction
- API Endpoints: REST API access for initiating research and retrieving reports
- Stateful Processing: Maintains research state throughout the entire process
The Steps
🚀 Features
- Deep Web Research: Automatically searches the web, extracts content, and synthesizes findings
- Iterative Research Process: Supports multiple layers of research depth for comprehensive exploration
- Event-Driven Architecture: Built using Motia Framework's event system for robust workflow management
- Parallel Processing: Efficiently processes search results and content extraction
- API Endpoints: REST API access for initiating research and retrieving reports
- Stateful Processing: Maintains research state throughout the entire process
📋 Prerequisites
🛠️ Installation
-
Clone the repository:
-
Install dependencies:
-
Configure environment variables:
Update
.env
with your API keys:
🏗️ Architecture
🚦 API Endpoints
Start Research
Response:
Check Research Status
Response:
Get Research Report
Response:
🏃♂️ Running the Application
-
Start the development server:
-
Access the Motia Workbench:
-
Make a test request:
🙏 Acknowledgments
- Motia Framework for the event-driven workflow engine
- OpenAI for AI analysis
- Firecrawl for Web search and content extraction API
Finance Agent
A powerful event-driven financial analysis workflow that combines web search, financial data, and AI analysis to provide comprehensive investment insights.
RAG Agent using Docling and Weaviate
An LLM chat-like question-answering system with RAG (Retrieval-Augmented Generation) to provide accurate answers from PDF documents. The system leverages Docling to parse and intelligently chunk PDF documents, Weaviate as a vector database to store vectorized chunks, and OpenAI for embeddings and text generation.