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.

Editable UI Sources

The wheel ships the prebuilt UI only. The sdist is the editable-UI version: it also contains the full TypeScript/Next.js sources under ui-src/frontend. Extract it, rebuild, and serve the result via MINIMAL_WEB_DIR:

pip download --no-binary :all: agent-chat-fastapi-langgraph-assistant-ui
tar -xzf agent-chat-fastapi-langgraph-assistant-ui-*.tar.gz
cd agent-chat-fastapi-langgraph-assistant-ui-*/ui-src/frontend
pnpm install --frozen-lockfile && pnpm build
MINIMAL_WEB_DIR=$PWD/out minimal-chat-serve --port 8011

See the in-package editable-ui guide (docs.show("editable-ui")) for notes and limits.

Built-In Documentation

Coding agents can start with these offline commands:

minimal-chat-setup describe --json
minimal-chat-docs show ollama-quickstart  # local model → baseline site
minimal-chat-docs show agent-onboarding
minimal-chat-docs search "persistence" --json
minimal-chat-setup doctor --provider openai --preset full --json
minimal-chat-init ./my-site --preset full --dry-run --json
minimal-chat-init ./my-site --preset full --json

Generation produces an editable chat site with AGENTS.md, configuration, offline tests, and machine-readable next steps. It does not install dependencies, provision credentials, or launch services. See the bundled starter guide.

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
index Complete guide index
agent-onboarding Agent discovery and baseline website workflow
ollama-quickstart Fast local-model setup, endpoints, SQLite, and live checks
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
setup Setup contracts, provider metadata, and diagnostics
starter Generate and run an editable project
editable-ui Rebuild and serve an edited UI from the sdist sources

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

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.4
File Size Uploaded Provenance Actions
agent_chat_fastapi_langgraph_assistant_ui-0.7.4.tar.gz 1.3 MB With provenance Details for agent_chat_fastapi_langgraph_assistant_ui-0.7.4.tar.gz

Built distribution (wheel)

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

Total release size: 2.2 MB

Release files / agent_chat_fastapi_langgraph_assistant_ui-0.7.4.tar.gz

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.7.4.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f507bf83c8e0bed46a74f644ad81a3194e9d282774cddd78c2840e959061f99d
BLAKE2b-256 checksum
How to use checksums
7294cc9dad27879287883ce1913258f17a7c86ebcdaaaf1cce6f13af5875916b
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 24, 2026.

Transparency log

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

Download URL agent_chat_fastapi_langgraph_assistant_ui-0.7.4-py3-none-any.whl
Size 917.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8049040a6d5c6bb5cbd1dddf6268292d75f561aff315b79b2b84fefb931ab4bc
BLAKE2b-256 checksum
How to use checksums
0befaf2bd6d79a386fa0bc8c5f22cedee77d34a6bff78c86783ec358cd70c057
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 24, 2026.

Transparency log

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

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.4.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 24, 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