Skip to content

ITZSHOAIB/agentic-express-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agentic Express Boilerplate

This project is a boilerplate application powered by Agentic Express, a framework for building AI-powered Express.js applications with LangGraph.

Features

  • 🤖 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

Getting Started

Prerequisites

  • Node.js (v18 or higher recommended)

Installation

  1. Clone this repository
  2. Install dependencies:
pnpm install
# or
npm install
# or
yarn install
  1. Copy the environment template and add your API keys:
cp .env.template .env
  1. Start the development server:
pnpm dev
# or
npm run dev
# or
yarn dev

The server will start on http://localhost:3030 by default.

Project Structure

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

Configuration

  • 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/

Development

pnpm dev
# or
npm run dev
# or
yarn dev

Built With

About

A repository with Agentic Express application template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published