mirror of
https://github.com/langchain-ai/create-agent-chat-app.git
synced 2026-07-01 21:24:02 -04:00
0.0.6
create-agent-chat-app
A CLI tool to bootstrap a LangGraph chat application quickly.
Description
This package provides a CLI tool to create a LangGraph chat application with minimal configuration. It sets up a Vite-based React application that can connect to your LangGraph deployment.
Usage
# Using npx (recommended)
npx create-agent-chat-app
# Or install globally
npm install -g create-agent-chat-app
create-agent-chat-app
The CLI will prompt you for:
- Deployment URL (default: http://localhost:2024)
- Default graph/assistant ID (default: agent)
- Project name
Development
Setup
# Clone the repository
git clone https://github.com/yourusername/create-agent-chat-app.git
cd create-agent-chat-app
# Install dependencies
yarn install
# Build the package
yarn build
Testing Locally
You can test the CLI locally by linking the package:
# In the project directory
npm link
# Then run
create-agent-chat-app
Publishing
To publish to npm:
# Make sure you're logged in to npm
npm login
# Publish the package
npm publish
License
MIT
Releases
8
Languages
TypeScript
86.9%
JavaScript
9.6%
CSS
2.6%
Shell
0.8%