Skip to main content

Overview

When the default OpenBB AI agent isn't a perfect fit for your financial institution—especially when proprietary data and tools are involved—OpenBB Workspace offers the 'Bring Your Own AI Agent' feature. This allows you to integrate your own custom Large Language Models (LLMs).

With this integration, you can use all of OpenBB's features while leveraging your firm's proprietary LLMs. This enhances the efficiency of analysts and researchers by aligning with your unique data and models, all while keeping research queries and data securely within your firm's infrastructure.

Defining a custom AI agent

You can integrate your existing proprietary LLM into OpenBB Workspace by setting up an API endpoint. This allows OpenBB to interact with your custom AI agent. To help you get started, we provide an open-source Example AI Agent that guides you through the integration process.

The example code is available here.

Adding a custom AI agent to OpenBB Workspace

After deploying your custom AI agent, you can add it to OpenBB Workspace. To do this, navigate to the "Add AI agent" section and follow the prompts:

  • Click on the "Add AI agent" button.
custom AI agent add button
  • Enter the API endpoint of your custom AI agent.
custom AI agent add endpoint
  • Confirm the addition.
  • You are now ready to use your custom AI agent.