Skip to main content

Agent Chat Minimal

agent-chat-fastapi-langgraph-assistant-ui is the portable, canonical non-RAG application in this repository. It bundles a FastAPI server, LangGraph agent registry, and one static Assistant UI export. A built wheel serves the UI and API from one Python process on port 8011.

For repository-level orientation, start at the root README. The detailed serving and extension guides are:

Install And Serve

Python 3.11+ is required. Node and pnpm are needed to build a wheel from a checkout, but never to install or run the published package.

python -m pip install agent-chat-fastapi-langgraph-assistant-ui
export OPENAI_API_KEY=sk-...
minimal-chat-serve --port 8011

Open http://localhost:8011/. GET /health, GET /agents, and GET /docs are available on the same server. The default agent is weather; use minimal-chat-serve --agent calculator or set DEFAULT_AGENT to select a different registered agent.

Build From A Checkout

The build stages the unified frontend at application/frontend/frontend as package data, clears dist/, and creates the wheel:

packages/agent-chat-minimal/scripts/build_wheel.sh
python -m pip install packages/agent-chat-minimal/dist/*.whl
minimal-chat-serve --port 8011

For an editable install, run scripts/stage_ui.sh first; generated web/ content is intentionally ignored by Git. Without it, a checkout runs API-only unless MINIMAL_WEB_DIR points to a static export.

Built-In Documentation

The distribution includes these Markdown guides and exposes them without unpacking the wheel:

from agent_chat_minimal import docs

docs.list()
docs.show("agents")
Guide Purpose
quickstart Install, run, and make the first request
agents Implement, embed, and publish agents
providers Model specs and provider dependencies
configuration Environment variables, CLI, persistence, and hooks
threads Thread and transcript behavior
transport Assistant streaming transport boundary
persistence Durable repositories and checkpoints
runtime-config Runtime UI configuration and capabilities

Run the package tests and artifact smoke test from the repository root:

python -m pip install "packages/agent-chat-minimal[test]"
pytest packages/agent-chat-minimal
packages/agent-chat-minimal/scripts/smoke_test_wheel.sh

Metadata

Release files for agent-chat-fastapi-langgraph-assistant-ui 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-chat-fastapi-langgraph-assistant-ui 0.7.0
File Size Uploaded Provenance Actions
agent_chat_fastapi_langgraph_assistant_ui-0.7.0.tar.gz 1.1 MB With provenance Details for agent_chat_fastapi_langgraph_assistant_ui-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent-chat-fastapi-langgraph-assistant-ui 0.7.0
File Interpreter ABI Platform Actions
agent_chat_fastapi_langgraph_assistant_ui-0.7.0-py3-none-any.whl Python 3 none any Details for agent_chat_fastapi_langgraph_assistant_ui-0.7.0-py3-none-any.whl

Total release size: 1.9 MB

Release files / agent_chat_fastapi_langgraph_assistant_ui-0.7.0.tar.gz

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.7.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
83f112755f3972a3fbb76d8f854e4fa6b52c7e1120c5a5ab030dca18816077f5
BLAKE2b-256 checksum
How to use checksums
2c5ec8daad03067d8719516956001f19be6bc802847473cd5fa8fa953915f920
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / agent_chat_fastapi_langgraph_assistant_ui-0.7.0-py3-none-any.whl

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.7.0-py3-none-any.whl
Size 836.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fc14d04ce4e4ab59261a4944df05f21a3a3f4fc9deb620b7ea76a4875226e80
BLAKE2b-256 checksum
How to use checksums
6e24b922b287ba6702bec9cc8e204900023094e6c4d46841bae3571084de0b95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for agent-chat-fastapi-langgraph-assistant-ui 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agent_chat_fastapi_langgraph_assistant_ui-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page