Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

1.8 KB
Raw Blame

Deep Researcher

Introduction

The structure of the research assistant is taken from a langchain and langgraph example. It is rewritten here in the Burr framework in application.py.

Deep Researcher

The helper code in prompts.py and utils.py is directly taken from the original deep researcher codebase. The MIT license for the code is included in both those files.

Prerequisites

Set the configuration variables at the beginning of the main section of application.py.

Then install Python modules

pip install -r requirements.txt

You will need accounts for Tavily search and the OpenAI API. Once you have those accounts, set the environment variables TAVILY_API_KEY and OPENAI_API_KEY and run the script.

export OPENAI_API_KEY="YOUR_OPENAI_KEY"
export TAVILY_API_KEY="YOUR_TAVILY_API_KEY"
python application.py