Cookies

With your permission, we use Google Analytics cookies to measure visits and improve the site. Necessary cookies are always on. You can change your choice or withdraw consent anytime in the footer, under Cookie settings. Cookie Policy

Skip to content

Apps with Memory ·Intermediate

Multi LLM Memory

About this app

This Streamlit application demonstrates a multi-LLM system with a shared memory layer, allowing users to interact with different language models while maintaining conversation history and context across sessions.

  • Complete open-source code
  • Step-by-step tutorial

Technical sheet

Category
Apps with Memory
Difficulty
Intermediate
Models
OpenAI, Claude
Frameworks
-
Runs locally?
Needs cloud APIs
Required keys
ANTHROPIC_API_KEY

License Apache-2.0 · content curated and maintained by Doutor AI.

Full tutorial

🧠 Multi-LLM App with Shared Memory

This Streamlit application demonstrates a multi-LLM system with a shared memory layer, allowing users to interact with different language models while maintaining conversation history and context across sessions.

Features

  • Support for multiple LLMs:
  • OpenAI's GPT-4o
  • Anthropic's Claude 3.5 Sonnet
  • Persistent memory using Qdrant vector store
  • User-specific conversation history
  • Memory retrieval for contextual responses
  • User-friendly interface with LLM selection

How to get Started?

  1. Clone the GitHub repository
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd awesome-llm-apps/llm_apps_with_memory_tutorials/multi_llm_memory
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Ensure Qdrant is running:

The app expects Qdrant to be running on localhost:6333. Adjust the configuration in the code if your setup is different.

docker pull qdrant/qdrant
docker run -p 6333:6333 qdrant/qdrant
  1. Run the Streamlit App
streamlit run multi_llm_memory.py

From the same category

Apps with MemoryIntermediate

Adk Career Coach Agent Memory

This Streamlit app implements a multi-agent career coaching assistant built with Google's Agent Development Kit (ADK). A career orchestrator agent del…

  • OpenAI
  • Gemini
Apps with MemoryIntermediate

AI arXiv Agent Memory

This Streamlit app implements an AI-powered research assistant that helps users search for academic papers on arXiv while maintaining a memory of user…

  • OpenAI
Apps with MemoryIntermediate

AI Travel Agent Memory

This Streamlit app implements an AI-powered travel assistant that remembers user preferences and past interactions. It utilizes OpenAI's GPT-4o for ge…

  • OpenAI

Need a tailor-made solution?

Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.

Save hours every week with AI, no hassle

Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.

See plans