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¶
-
Installation -- Install both packages from GCP Artifact Registry and configure your
.npmrc. -
Quick Start -- Build your first agent in 10 minutes: configure
GeminiClient, register a tool, create aQAChatAgent, expose it via an HTTP handler, and connect a React UI. -
Environment Setup -- Understand the environment variables that control Gemini API access, model selection, and feature flags.
-
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.