MCPcopy Index your code
hub / github.com/OpenBB-finance/agents-for-openbb

github.com/OpenBB-finance/agents-for-openbb @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
195 symbols 725 edges 54 files 73 documented · 37%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Bring your own Agent to the OpenBB Workspace

Welcome to the example repository for integrating custom agents into the OpenBB Workspace.

This repository provides everything you need to build and add your own custom agents that are compatible with the OpenBB Workspace.

It depends heavily on the OpenBB AI SDK.

For documentation on how to use the OpenBB AI SDK (highly recommended!), see the OpenBB AI SDK README.

[!NOTE] For a more mature OpenBB Workspace agent implementation, check out Agent Rita. It is built in TypeScript with Bun and is a useful reference for production-oriented agents.

Examples

If you prefer diving straight into code, we have a growing list of examples of custom agents in this repository, varying in complexity and features:

CleanShot 2025-09-14 at 17 35 36@2x


30-raw-reply-with-context


31-reasoning


32-citations


33-charts


34-tables


35-pdf


CleanShot 2025-09-17 at 17 10 39@2x


CleanShot 2025-09-14 at 17 06 14@2x


CleanShot 2025-09-22 at 16 23 42@2x


CleanShot 2025-11-26 at 22 26 05@2x


image

These examples are a good starting point for building your own custom agent if you are interested in a specific feature or use case.

Core symbols most depended-on inside this repo

truncate_content
called by 4
38-vanilla-agent-mcp-tools/vanilla_agent_mcp_tools/main.py
html_artifact
called by 4
39-vanilla-agent-html-artifacts/vanilla_agent_html/main.py
format_widget
called by 3
40-vanilla-agent-dashboard-widgets/vanilla_agent_dashboard_widgets/main.py
extract_pdf_with_positions
called by 2
36-vanilla-agent-pdf-citations/vanilla_agent_pdf_citations/main.py
get_system_prompt
called by 2
99-advanced-examples/portfolio-commentary-with-search-feature/portfolio_commentary/main.py
show_widgets
called by 1
40-vanilla-agent-dashboard-widgets/vanilla_agent_dashboard_widgets/main.py
empty_response
called by 1
40-vanilla-agent-dashboard-widgets/vanilla_agent_dashboard_widgets/main.py
retrieve_widget_data
called by 1
36-vanilla-agent-pdf-citations/vanilla_agent_pdf_citations/main.py

Shape

Function 153
Route 31
Class 8
Method 3

Languages

Python100%

Modules by API surface

38-vanilla-agent-mcp-tools/tests/test_mcp_integration.py16 symbols
41-vanilla-agent-dynamic-skill/tests/test_agent.py14 symbols
37-vanilla-agent-custom-features/tests/test_agent.py12 symbols
36-vanilla-agent-pdf-citations/vanilla_agent_pdf_citations/main.py11 symbols
35-vanilla-agent-pdf/vanilla_agent_pdf/main.py10 symbols
41-vanilla-agent-dynamic-skill/vanilla_agent_dynamic_skill/main.py9 symbols
42-vanilla-agent-feedback/vanilla_agent_feedback/main.py8 symbols
99-advanced-examples/portfolio-commentary-with-search-feature/portfolio_commentary/main.py7 symbols
40-vanilla-agent-dashboard-widgets/vanilla_agent_dashboard_widgets/main.py7 symbols
38-vanilla-agent-mcp-tools/vanilla_agent_mcp_tools/main.py7 symbols
42-vanilla-agent-feedback/tests/test_agent.py6 symbols
40-vanilla-agent-dashboard-widgets/tests/test_agent.py6 symbols

For agents

$ claude mcp add agents-for-openbb \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page