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

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

Built distribution (wheel)

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

Total release size: 2.0 MB

Release files / agent_chat_fastapi_langgraph_assistant_ui-0.7.1.tar.gz

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.7.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
adebc1352e576f4af30a988d6289585ed145f8695b24861209b91f93bd9d5d46
BLAKE2b-256 checksum
How to use checksums
33561dcd9c0e86dccce0dde2a1233b2a20c470f582f3a7dba182ff329f51f135
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.1-py3-none-any.whl

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.7.1-py3-none-any.whl
Size 879.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbcd532dc5ef569a6694bc6ed2c95e217dd4039e3a66efeeb41d6790b6e3481a
BLAKE2b-256 checksum
How to use checksums
a607e0ee7b6a1643aa90606df495cee1ff8eef27470a52952aa0bcd6511b5b84
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.1

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