Skip to content

Getting Started

This section walks you through setting up the ModernPath Agents Framework from scratch. By the end, you will have a working AI agent with a React chat interface, deployed to a serverless platform.

What you will learn

  1. Installation -- Install both packages from GCP Artifact Registry and configure your .npmrc.

  2. Quick Start -- Build your first agent in 10 minutes: configure GeminiClient, register a tool, create a QAChatAgent, expose it via an HTTP handler, and connect a React UI.

  3. Environment Setup -- Understand the environment variables that control Gemini API access, model selection, and feature flags.

  4. Project Structure -- Learn the recommended directory layout for production projects with separate backend and UI workspaces.


Prerequisites at a glance

Requirement Minimum Version
Node.js 20.0+
React 18.0+ (UI package only)
GCP Project Required for Gemini API access
TypeScript 5.0+ (recommended)

Already familiar with the basics?

Jump straight to the Backend Framework or UI Components reference for detailed API documentation.