This project is a boilerplate application powered by Agentic Express, a framework for building AI-powered Express.js applications with LangGraph.
- 🤖 Ready-to-use LLM integration with LangGraph
- 🔄 Streaming responses support
- 🛠️ TypeScript setup for type safety
- 🚀 Express.js server configuration
- 📝 Modular project structure
- 🧩 Customizable LLM models and prompts
- Node.js (v18 or higher recommended)
- Clone this repository
- Install dependencies:
pnpm install
# or
npm install
# or
yarn install
- Copy the environment template and add your API keys:
cp .env.template .env
- Start the development server:
pnpm dev
# or
npm run dev
# or
yarn dev
The server will start on http://localhost:3030
by default.
src/
├── index.ts # Main application entry point
├── routes/ # API routes
│ └── v1/ # API version 1
└── services/ # Service modules
└── langgraph/ # LangGraph implementation
├── graphState.ts # Graph state management
├── models.ts # LLM model configuration
├── nodes/ # Graph nodes
└── prompts/ # System prompts for AI
- Model settings can be adjusted in
src/services/langgraph/models.ts
- System prompts for the AI can be modified in
src/services/langgraph/prompts/
- LangGraph node definitions are located in
src/services/langgraph/nodes/
pnpm dev
# or
npm run dev
# or
yarn dev
- Agentic Express - Framework for AI-powered Express applications
- LangChain - LLM framework
- LangGraph - Graph-based LLM orchestration
- Express.js - Web framework
- TypeScript - Language