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.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.7.2
File Size Uploaded Provenance Actions
agent_chat_fastapi_langgraph_assistant_ui-0.7.2.tar.gz 1.1 MB With provenance Details for agent_chat_fastapi_langgraph_assistant_ui-0.7.2.tar.gz

Built distribution (wheel)

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

Total release size: 2.0 MB

Release files / agent_chat_fastapi_langgraph_assistant_ui-0.7.2.tar.gz

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.7.2.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
220bf7ad8e575aad2cafd1ebd9ec84d81779a18a6602dc45fb5ce4f4022c0633
BLAKE2b-256 checksum
How to use checksums
9e24f89244a2e1b3878476d3fcafccce961ca36185b626c717b8595e6daac970
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 12, 2026.

Transparency log

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

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.7.2-py3-none-any.whl
Size 885.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a39057098275fec436059c77e42831da60adc6cac2355dfd6b00e7206d1c436f
BLAKE2b-256 checksum
How to use checksums
b6bcd1fc8d18fbd6af02a0418931e2a7c48972d1c0c7265e9e6a3ad4a2e8fdd9
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 12, 2026.

Transparency log

Security for agent-chat-fastapi-langgraph-assistant-ui 0.7.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.7.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 Nov 12, 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