Skip to main content

A Streamlit package for building multiagent web interfaces with LangGraph

Project description

streamlit-langgraph

PyPI version

A Python package that integrates Streamlit’s intuitive web interface with LangGraph’s advanced multi-agent orchestration. Build interactive AI applications featuring multiple specialized agents collaborating in customizable workflows.

If you’re using Streamlit with a single agent, consider streamlit-openai instead. This project is inspired by that work, especially its integration with the OpenAI API.

Main Goal

The main goals of this package are:

  1. Seamless Integration of Streamlit and LangGraph: Enables users to leverage Streamlit’s rapid UI development capabilities alongside LangGraph’s flexible agent orchestration. This integration allows for real-time interaction, monitoring, and control of agent workflows directly from the browser, making multi-agent systems more accessible and transparent.

  2. Lowering the Barrier to Multi-Agent Orchestration: Multi-agent frameworks like AutoGen, CrewAI, and OpenAI Agents SDK offer various approaches, each with its own pros and cons. LangGraph provides granular control and advanced features, but comes with a steep learning curve and fragmented documentation. This package abstracts away much of the complexity, offering simple interfaces and templates so users can focus on designing agent logic.

  3. Ready-to-Use Multi-Agent Architectures: In real-world applications, common agent architectures such as supervisor, hierarchical, and networked systems are frequently needed. This package includes these patterns natively, allowing users to select and customize them without reinventing the wheel.

  4. Enhanced Compatibility with OpenAI Response API: While LangChain supports OpenAI’s chat completion API, the newer Response API introduces advanced features like code interpretation and file search. By targeting compatibility with the Response API, this package ensures users can take advantage of the latest capabilities from OpenAI, making their agent workflows more powerful and versatile.

  5. Extensibility to Other LLMs: The landscape of large language models is rapidly evolving, with alternatives like Gemini, Claude, and various local models offering unique strengths. This package is designed to be extensible, so users can experiment with different LLMs and select the best model for their specific use case, whether it’s coding, reasoning, or domain-specific tasks.

Ultimately, streamlit-langgraph aims to empower users to build, experiment with, and deploy multi-agent orchestration systems quickly and intuitively, while remaining flexible enough to adapt to new models and workflows as the field evolves.

Status

This project is in pre-alpha. Features and APIs are subject to change, and not all goals are fully implemented.

Note: Uses langchain/langgraph version 1.0.1.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit_langgraph-0.1.2.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_langgraph-0.1.2-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_langgraph-0.1.2.tar.gz.

File metadata

  • Download URL: streamlit_langgraph-0.1.2.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for streamlit_langgraph-0.1.2.tar.gz
Algorithm Hash digest
SHA256 56ccba56eb27f8004d27bb188f85b41925d99f553754cffa3ed153b0c7db22a7
MD5 b4bf2799e3f7313a235fae9827ad2dab
BLAKE2b-256 80d421f5d1b35416329ad370a0e9b7eb94b4703a816c4e0b139f74fc7ec5c76c

See more details on using hashes here.

File details

Details for the file streamlit_langgraph-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_langgraph-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14949f9f54385c9e866ea427b9330fa2e31f273a20d6e77e9be668cb5eea7a65
MD5 4b343268f1c145c6fe9af130ec7c367a
BLAKE2b-256 42dd27d46711cbb7c9b9b8dab5d203129614af5b47e7c8bce819690e2fe12ad2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page