AI-powered financial research agent for OpenBB Workspace using LinqAlpha's APIs.
This agent combines LinqAlpha's multi-agent AI platform for investment research with OpenBB Workspace's enterprise infrastructure for data visualization and workflow customization. LinqAlpha specializes in processing unstructured financial data from earnings transcripts, SEC filings, and regulatory documents, while OpenBB provides the secure, customizable interface for institutional research workflows. Together, the two solutions enable research teams to access specialized AI agents directly within OpenBB's platform, streamlining complex analysis from filing review to peer comparison in minutes. Learn more in this blog post.
- Search Chat: Financial document search (transcripts, news, filings)
- RMS Chat: Enhanced research with organizational context
- RMS Deep Research: Multi-step comprehensive analysis
-
Install dependencies
pip install -r requirements.txt
-
Configure environment
Copy
.env.exampleto.env:cp .env.example .env
Edit
.envand add your API key:LINQALPHA_API_KEY=your_api_key_here
Get your API key from LinqAlpha
-
Run the agent
python agent.py
Agent runs on
http://0.0.0.0:7777
LINQALPHA_API_KEY- Your LinqAlpha API key
LINQALPHA_ORG_ID- Organization ID for RMS Chat/Deep ResearchLINQALPHA_USER_ID- User identifierLINQALPHA_USER_EMAIL- User emailLINQALPHA_USER_NAME- User name
Make sure the agent is running before adding it to OpenBB Workspace:
python agent.pyThe agent should be accessible at http://localhost:7777
-
Open OpenBB Workspace
-
Access the OpenBB Copilot
- Look for the OpenBB Copilot button at the bottom right of the Workspace interface
- Click on it to open the Copilot panel
-
Add New Agent
- Click the + icon (or pencil icon if editing) in the Copilot panel
- Enter the agent base URL:
http://localhost:7777 - OpenBB Workspace will automatically fetch the agent metadata from
/agents.json
- The agent will appear in your available agents list
-
Start Using the Agent
Try these example queries:
- "What was Apple's revenue in Q4 2023?"
- "Compare Tesla and Rivian's delivery numbers"
- "Analyze the latest Fed meeting transcript"
- "Show me recent insider trading for NVIDIA"
The agent exposes two endpoints for OpenBB Workspace:
/agents.json: Returns agent metadata (name, description, features)/query: Handles queries via POST and streams responses using Server-Sent Events (SSE)
CORS is properly configured to allow OpenBB Workspace to communicate with the agent.
- Default: Search Chat (no toggle needed)
- RMS Chat: Enable "RMS Chat" toggle (requires
LINQALPHA_ORG_ID) - Deep Research: Enable "RMS Deep Research" toggle (requires
LINQALPHA_ORG_ID)
agent.py # Main application
settings.py # Configuration
.env # Your API keys (not in git)
.env.example # Template
README.md # This file



