Agent Chat UI

A deployable chat interface for Python and TypeScript LangGraph agents.

Stars
★ 3.3k
Last updated
29d ago
FARS reviewed
Nov 08, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
Web appSelf-hosted service
Works with
Platform-specific
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
pnpmNext.jsLangGraph server with a messages keyShell / CLINetwork accessLocal filesystem
Typical use
A LangGraph developer running a Python or TypeScript graph locally needs a working chat front end without building one from scratch.
Not a fit if
  • Teams without an existing LangGraph server who want a ready-to-chat app
  • Teams needing non-LangGraph agents or a generic chat protocol
  • Production teams unwilling to set up an API proxy or custom auth
Website
agentchat.vercel.app ↗ set on GitHub
Maintenance
Archived (read-only)last commit 2026-11-03

What does this agent do, and when should you use it?

Agent Chat UI is a Next.js application that connects to any LangGraph server whose state contains a messages key. Users supply a deployment URL, an Assistant or Graph ID, and, when required, a LangSmith API key before submitting conversations and viewing streamed responses. The interface can also render agent-produced artifacts in a panel beside the chat. It can run locally with pnpm dev or be used through the hosted site; production deployments require either an API Passthrough proxy or custom authentication. It is not an agent runtime and does not create graphs or select models, so adoption requires an existing compatible LangGraph service.

The app reads a Deployment URL, Assistant/Graph ID, authentication scheme, and optional LangSmith API key, then fetches and submits runs to the selected LangGraph server through a browser chat interface. useTypedStream, an extension of useStream, configures the apiUrl, assistantId, and optional authentication headers; the UI uses on_chat_model_stream events for live output and renders messages saved in graph state. A model tagged langsmith:nostream does not emit the events used for live display. To suppress a message permanently, its ID must be prefixed with do-not-render- before it enters state and the model must carry the langsmith:do-not-render tag. Components can obtain the artifact context from thread.meta.artifact and use Artifact to produce content in a right-hand panel. In production, langgraph-nextjs-api-passthrough can proxy requests to LANGGRAPH_API_URL and inject LANGSMITH_API_KEY on the server, or developers can modify useTypedStream to send a custom token through defaultHeaders.

  1. A LangGraph developer running a Python or TypeScript graph locally needs a working chat front end without building one from scratch.
  2. A team with a deployed LangGraph assistant wants to give internal users an interface configured by deployment URL and Assistant ID.
  3. A developer needs streamed agent output while selectively preventing internal model messages from appearing live or at all.
  4. A team building a writing or content-generation graph wants generated material displayed as an artifact beside the conversation.
  5. An engineering team productionizing a LangGraph app needs either a Next.js proxy that keeps the LangSmith key server-side or a path to custom token authentication.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx create-agent-chat-app
Ports
3000
Environment variables
NEXT_PUBLIC_API_URL NEXT_PUBLIC_ASSISTANT_ID LANGGRAPH_API_URL LANGSMITH_API_KEY
Config files
.env.example .env

How do you install or deploy this agent?

A Next.js-capable environment and pnpm are required. Create an app directly with:

npx create-agent-chat-app

Alternatively, clone and start the repository:

git clone https://github.com/langchain-ai/agent-chat-ui.git
cd agent-chat-ui
pnpm install
pnpm dev

Open http://localhost:3000. Local use also requires a LangGraph server with a messages key in its state. The source does not specify exact supported Node.js or pnpm versions.

How do you use this agent?

Start the application or visit https://agentchat.vercel.app. Enter the LangGraph Deployment URL and Assistant/Graph ID. A LangSmith API key is additionally required for a deployed LangGraph server; enable Built with Agent Builder for Agent Builder deployments so the authentication scheme becomes langsmith-api-key. Select Continue to begin submitting messages.

To skip the setup form, copy .env.example to .env and set:

NEXT_PUBLIC_API_URL=http://localhost:2024
NEXT_PUBLIC_ASSISTANT_ID=agent
NEXT_PUBLIC_AUTH_SCHEME=

Restart the application after editing the file. For LangSmith Agent Builder, use NEXT_PUBLIC_AUTH_SCHEME=langsmith-api-key.

For the documented production proxy path, configure:

NEXT_PUBLIC_ASSISTANT_ID="agent"
LANGGRAPH_API_URL="https://my-agent.default.us.langgraph.app"
NEXT_PUBLIC_API_URL="https://my-website.com/api"
LANGSMITH_API_KEY="lsv2_..."

Do not give LANGSMITH_API_KEY a NEXT_PUBLIC_ prefix. The proxy injects it into LangGraph requests on the server.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • One interface can connect to LangGraph services implemented in either Python or TypeScript, provided their state exposes a messages key.
  • It supports both an interactive setup form and fixed configuration through NEXT_PUBLIC_API_URL, NEXT_PUBLIC_ASSISTANT_ID, and related environment variables.
  • Message visibility controls cover both suppressing live streams and permanently filtering selected messages through documented tags and ID conventions.
  • The built-in artifact context lets components present non-chat content in a dedicated side panel.
  • Production guidance covers both a ready-made Next.js API Passthrough route and a more flexible custom-authentication route.
Limitations
  • Core operation depends on a LangGraph server and its messages state convention; no support for other agent runtimes or a generic chat protocol is documented.
  • The default direct-from-client connection is unsuitable for production because it requires each user to provide a LangSmith API key and LangGraph configuration.
  • Production adoption adds work: teams must configure an API proxy or implement token acquisition, access control, and useTypedStream header changes.
  • Deployed LangGraph connections ordinarily require a LangSmith API key, introducing secret-management and operational responsibilities.
  • The installation material does not state supported Node.js or pnpm versions, resource requirements, or recovery behavior.

How does this agent compare with similar options?

Compared with the default direct client connection, API Passthrough is the quicker production option: it proxies requests server-side and keeps the LangSmith API key away from users, but requires proxy configuration. Custom authentication offers more control and can support client requests with tailored access rules, but it requires an authentication flow in the LangGraph deployment plus UI changes for token retrieval and request headers.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Agent Chat UI This agent 51 · Major gaps Web appFree + model costs ★ 3.3k 29d ago TypeScript —
Open Multi-Agent Canvas 35 · Major gaps Web appFree + model costs ★ 566 6mo ago TypeScript —
Open Generative UI 74 · Some gaps CLIFree + model costs ★ 4.3k 1mo ago TypeScript Claude API
AI Agent Service Toolkit 69 · Some gaps FrameworkFree + model costs ★ 4.6k 3d ago Python OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
51/ 100 5-point scale 2.6 / 5
Trust 11/29
Reliability 5/14
Adaptability 12/18
Convention 10/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust11 / 29 · 1.9/5

The README explains client connections to LangGraph and how an API passthrough can inject a LangSmith key in deployment. It explicitly warns that an unauthenticated public proxy can read, overwrite, and delete threads and store items and start billed runs. This makes the main data flow and risk reasonably visible, but evidence for access controls in the default development setup, user confirmation, and rollback is limited. The README says not to expose the key with a NEXT_PUBLIC_ prefix, supporting some sensitive-data handling; the dependency list and overrides do not amount to a security audit. Publisher identity is unverified, and the license notice does not establish maintainer identity or an update path.

Reliability5 / 14 · 1.8/5

The README describes the product as connecting to LangGraph servers with a messages key and provides setup, environment-variable, and deployment instructions that are broadly consistent. package.json and CI show dependency management and formatting and lint checks, but the packet does not establish dependency availability or runtime failure messaging. CI checks do not demonstrate runtime reliability.

Adaptability12 / 18 · 3.3/5

The README covers local development, deployed servers, Agent Builder, Python and TypeScript graph configuration, message hiding, and artifact display, and identifies support for LangGraph servers with a messages key. Environment variables and two authentication approaches explain adaptation options; however, authentication customization requires user code changes, and the stated boundaries are primarily documentation.

Convention10 / 18 · 2.8/5

The README is organized around setup, usage, environment variables, and production deployment, with commands, code examples, and explicit production security limitations. The MIT license is complete. package.json has a clear name but version 0.0.0; the supplied material has no changelog, version policy, or clear maintenance responsibility, so those areas lose points.

Effectiveness9 / 13 · 3.5/5

The app provides a chat interface for LangGraph agents, and the README explains streaming, message hiding, and artifact use, showing practical value. Installation is direct, but production authentication and proxy protection require additional deployment work; the packet provides no cost or resource-use evidence for a higher score.

Verifiability4 / 8 · 2.5/5

README configuration and security claims are supported by concrete environment variables, steps, and code snippets, and it distinguishes local development from production. package.json and CI corroborate package management and static checks, but provide limited independent support for the specific runtime behavior described. This review uses only the supplied files and does not treat documentation claims as executed verification.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • If deploying with LANGGRAPH_API_URL and LANGSMITH_API_KEY, protect API passthrough callers first. The README explicitly says an exposed, unauthenticated proxy may let anyone who can reach it read, modify, or delete deployment data and start billed runs.
  • Production authentication, custom access controls, and secret configuration are left to the deployer; the supplied material contains no runtime verification or dependency security audit.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 0d21f7ff4c45
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/agent-chat-ui.svg)](https://followagents.com/en/agents/agent-chat-ui)
<a href="https://followagents.com/en/agents/agent-chat-ui"><img src="https://followagents.com/badge/agent-chat-ui.svg" alt="FARS review"></a>

FAQ

Does it run or create a LangGraph agent?
No. It is a Next.js chat interface for an existing LangGraph server. You must already have a graph or assistant whose state contains a messages key.
When is a LangSmith API key required?
It is required when connecting to a deployed LangGraph server. In the production proxy setup, LANGSMITH_API_KEY stays server-side and must not use the NEXT_PUBLIC_ prefix.
Can internal model messages be hidden?
Yes. langsmith:nostream only prevents live streaming, so a saved message can still appear afterward. Permanent suppression requires both a do-not-render- ID prefix before state storage and the langsmith:do-not-render tag.
Must I self-host the interface?
No. The hosted agentchat.vercel.app site is available, while npx create-agent-chat-app and the repository setup support local or self-managed deployment.
Can production deployments use custom authentication?
Yes, but you must configure custom authentication in the LangGraph deployment, add requests that obtain the token, and modify useTypedStream to pass it through defaultHeaders.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts