Overview
TheAgent class (aliased as RAGAgent) is the primary interface for the Finance Agent system. It provides a unified agent that handles RAG-based question answering across earnings transcripts, 10-K filings, and news.
Class Reference
Agent
Agent is an alias for RAGAgent, providing backward compatibility while serving as the main entry point.
AgentSystem
AgentSystem is another alias for RAGAgent, providing flexibility in naming conventions.
Factory Function
create_agent()
Factory function to create a newRAGAgent instance.
Returns a new RAGAgent instance
Module Exports
The agent module exports the following:Agent- Main agent class (alias for RAGAgent)RAGAgent- Core RAG agent implementationAgentSystem- Alternative alias for RAGAgentcreate_agent- Factory functionprompts- Centralized prompts module
Architecture
The Agent provides:RAG-Based Q&A
Vector and keyword search across earnings transcripts, 10-K filings, and news
Stock Screening
Fundamental data filtering and analysis
Self-Improvement
Iterative refinement with quality evaluation
Multi-Source
Unified access to transcripts, SEC filings, and news
Usage Example
Related
RAGAgent
Detailed RAG agent implementation
SearchEngine
Search operations and hybrid search