Skip to main content

Your First Agate Application

Let’s build a simple Agate application to get you familiar with the framework.

Step 1: Initialize a New Project

Create a new directory for your project:

Step 2: Create Your Main Application

Create a main.go file:
main.go

Step 3: Run Your Application

Congratulations! You’ve created your first Agate application.

Adding Agents

Agents are the core building blocks of Agate applications. Let’s add a simple agent:

Key Concepts

Agents are modular components that handle specific functionality in your application. They can be interactive, run background tasks, or provide specific services.
Agate provides built-in shell management for running commands and managing terminal sessions within your application.
Rich terminal UI components for building interactive interfaces including overlays, forms, and data displays.

Next Steps

Configuration

Learn how to configure Agate for your needs

Agent System

Deep dive into the agent architecture