- Didier's Newsletter
- Posts
- Introducing OSOR Agent
Introducing OSOR Agent
How I quickly hot-swap my financial agent with different LLM providers - fully open source
When Gemini 3.0 dropped last week, I wanted to test it immediately.
But I have to go to Google AI Studio, and none of my data is there…
And I couldn’t be bother to drop CSV files or asking Claude Code to use it via API simply.
However, I have OpenBB workspace - which:
Has the financial data I care about
AND I can bring my own agent
Silly me…
So, I spent Saturday building OSOR Agent - a bridge between two problems:
New models drop constantly, but testing them with financial data requires jumping between platforms
OpenBB has all the financial data infrastructure, but no easy way to experiment with different LLM backends
So I built something that solves both.
Before we start, here’s the entire agent code fully open source: https://github.com/DidierRLopes/openbb-open-router-agent
What OSOR Agent Does
OSOR Agent combines OpenBB's data & infra layer with Open Router's model flexibility.
Here's what that actually means:
Pick Any Model, Anytime
Open Router gives you access to hundreds of models - Claude, GPT-4o, Gemini, Grok, open-source models.
Some are literally free, like Grok 4.1 Fast (as of Nov’ 23).

When a new model drops, you just select it. No new account, no new interface.

Mature AI chatting interface
Instead of copy-pasting financial data around, the agent pulls directly from OpenBB widgets. Your market data, portfolio metrics, news, whatever you've connected to your workspace, feeds directly into the LLM context.
You can also expand AI chat so the remainder of the dashboard disappears.
It even has access to data via MCP as you can see below, and shares its internal step by step reasoning!

Your agentic financial workspace
The agent can generate charts, tables, and citations so you're not just reading wall-of-text responses. It understands your data structure and responds accordingly.

In my opinion, you shouldn't have to choose between testing the latest AI model and having access to your financial data.
You shouldn't have to manually move data around
You shouldn't have to become an expert in multiple platforms.
OSOR Agent is small, but the principle is big. It treats data access like infrastructure - get it right once, then let people experiment freely on top of it.
Open Source
The full code is MIT licensed and open source.
That means you can fork it, extend it, build whatever you want on top of it. Want to add RAG underneath? Build it. Want custom analysis for a specific strategy? Build it.
The best models are worthless without access to data that matters.
OSOR Agent is a step in that direction on top of a mature financial workspace, OpenBB Worskpace.
This is a starting point
There’s a lot that can be done to improve the agent, this was a weekend project built on top of our vanilla agent examples https://github.com/OpenBB-finance/agents-for-openbb.
Here’s an example of the agent powered by Gemini 3 working with Top Events from Polymarket when asked about what events I should look at within the “FED” category.


Contributions are welcome, happy hacking! :)
Earn a master’s in AI for under $2,500
AI skills aren’t optional—they’re essential. Earn a Master of Science in AI, delivered by the Udacity Institute of AI and Technology and awarded by Woolf, an accredited institution. During Black Friday, lock in savings to earn this degree for under $2,500. Build deep AI, ML, and generative expertise with real projects that prove your skills. Take advantage of the most affordable path to career-advancing graduate training.
