Skip to content

EdenBD/streamlit-agents-sdk-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit AI Agent

Open in Streamlit

A flexible Streamlit app that integrates with OpenAI's Agents SDK to power a conversational AI agent with tools, multi-agent, and multi-LLM support.

Supports Anthropic, OpenAI, and xAI (Grok).

Demo

ex_double_smm.mov

Project Structure

streamlit-agent-ai/
│── src/                           
│   │── ui/                             
│   │   │── streamlit_app.py            # Streamlit UI for interaction
│   │   │── utils.py                    # helper functions
│   │── agent/
│   │   │── agent.py                    # multi-agent example
│── requirements.txt                
│── README.md                        
│── .gitignore                        

Steps to set-up and run locally:

  1. Create Virtual Environments:
python -m venv .venv  # Create a virtual environment named .venv
source .venv/bin/activate  # Activate on Mac/Linux
.venv\Scripts\activate     # Activate on Windows
pip install -r requirements.txt  # Install dependencies
  1. Copy local secrets file

Run this in your terminal: cp .streamlit/secrets.example.toml .streamlit/secrets.toml

  1. Start Streamlit
python -m streamlit run src/ui/steamlit_app.py
  1. Define LLM API Key(s)

a. Get API keys for each provider you would like to use:

b. [Optional] Update .streamlit/secrets.toml with your API keys. Alternatively, you can enter keys in the streamlit UI.

License

Do whatever you want with it!

About

Multi-agent chat powered by openai-agents-sdk and Streamlit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published