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.6.2

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.6.2
File Size Uploaded Provenance Actions
agent_chat_fastapi_langgraph_assistant_ui-0.6.2.tar.gz 789.9 kB With provenance Details for agent_chat_fastapi_langgraph_assistant_ui-0.6.2.tar.gz

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / agent_chat_fastapi_langgraph_assistant_ui-0.6.2.tar.gz

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.6.2.tar.gz
Size 789.9 kB
Tags Source
SHA-256 checksum
How to use checksums
08e04f7ddb1fa1e88e7be171ddac6d523a5268f1771e605acd04f901c0dd5d66
BLAKE2b-256 checksum
How to use checksums
7084d2ba0cc2fd0835494611bb2c726137355cc6aef8a1bffa51ed173a8649b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

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

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.6.2-py3-none-any.whl
Size 816.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d97c4f8ac6d580b315eb620d80eda5937013640a74f9dc4396a403fa760e43b4
BLAKE2b-256 checksum
How to use checksums
d8bf57b571bb13a5914f34368731505e8fdeca84b8458be8d2a62378deb62fcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

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

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.6.2.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 Sep 30, 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