Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# ai-agent-management-platform
WSO2 AI Agent Manager is an open control plane designed for enterprises to deploy, manage, and govern AI agents at scale.

## Quick Start

Get started quickly with our [Quick Start Guide](quick-start/QUICK_START.md) - get the platform running in minutes!
108 changes: 108 additions & 0 deletions quick-start/QUICK_START.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Quick Start Guide

Get the Agent Management Platform running with a single command!

### Prerequisites

- **kubectl** configured to access your cluster
- **Helm** v3.8+ installed

## 🚀 One-Command Installation

**Complete setup including Kind cluster and OpenChoreo:**

```bash
cd quick-start
./bootstrap.sh
```

**Time:** ~15-20 minutes
**Prerequisites:** Docker, kubectl, Helm, kind

This installs everything you need:
- ✅ Kind cluster (local Kubernetes)
- ✅ OpenChoreo platform
- ✅ Agent Management Platform
- ✅ Full observability stack

---

### Skip Specific Steps

#### If you already have a kubernetes cluster

```bash
./bootstrap.sh --skip-kind
```

#### Use existing OpenChoreo installation

( OpenChoreo cluster (v0.3.2+) with Observability Plane installed )

```bash
./bootstrap.sh --skip-openchoreo
```

#### Platform only (assumes Kind + OpenChoreo exist)
```bash
./bootstrap.sh --skip-kind --skip-openchoreo
```

**Time:** ~5-8 minutes

This installs the Agent Management Platform on your existing OpenChoreo cluster.

## Access Your Platform

After installation completes, your platform is automatically accessible at:

- **Console**: http://localhost:3000
- **API**: http://localhost:8080
- **Traces Observer**: http://localhost:9098
- **Data Prepper**: http://localhost:21893

## What's Included

✅ Agent Management Platform
✅ Full observability stack with distributed tracing
✅ PostgreSQL database
✅ Web console
✅ Automatic port forwarding

## Next Steps

1. **Open the console**: `open http://localhost:3000`
2. **Deploy a sample agent**: See [sample agents](../runtime/sample-agents/)
3. **View traces**: Navigate to the Observability section in the console

## Uninstall

**Platform only:**
```bash
./uninstall.sh
```

**Complete cleanup (including Kind cluster):**
```bash
./uninstall.sh --force --delete-namespaces
kind delete cluster --name openchoreo-local
```

## Troubleshooting

**Installation fails?** Run with verbose output:
```bash
./install.sh --verbose
```

**Services not accessible?** Check port forwarding:
```bash
kubectl get pods -n agent-management-platform
kubectl get pods -n openchoreo-observability-plane
```

For more help, see [Detailed Installation Guide](./README.md) or [Troubleshooting Guide](./TROUBLESHOOTING.md)

## Advanced Options

For advanced configuration options, custom values, and detailed documentation, see [README.md](./README.md)
277 changes: 277 additions & 0 deletions quick-start/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,277 @@
# Agent Management Platform - Detailed Installation Guide

This directory contains installation scripts for the Agent Management Platform on existing OpenChoreo clusters.

> **Quick Start**: For a simple 2-step installation, see [QUICK_START.md](QUICK_START.md)

## Prerequisites

- **OpenChoreo cluster (v0.3.2+)** with Observability Plane installed
- **kubectl** configured with access to the cluster
- **Helm** v3.8+ installed
- Sufficient permissions to create namespaces and deploy resources

## What Gets Installed

The installation includes:

1. ✅ **Agent Management Platform** - Core platform with PostgreSQL, Agent Manager Service, and Console
2. ✅ **Observability Stack** - DataPrepper and Traces Observer (always included)
3. ⚪ **Build CI** - Workflow templates for building container images (optional)

**Note**: Observability is a core component and is always installed, not optional.

---

## Installation

### Simple Installation (Recommended)

```bash
./install.sh
```

This installs the complete platform with observability in the `agent-management-platform` namespace.

**What it does:**
- ✅ Validates prerequisites (including OpenChoreo Observability Plane)
- ✅ Installs Agent Management Platform
- ✅ Installs Observability components (DataPrepper + Traces Observer)
- ✅ Automatically configures port forwarding for all 4 services

**After installation, access at:**
- Console: http://localhost:3000
- API: http://localhost:8080
- Traces Observer: http://localhost:9098
- Data Prepper: http://localhost:21893

### Installation with Custom Configuration

```bash
./install.sh --config custom-values.yaml
```

### Verbose Installation (for debugging)

```bash
./install.sh --verbose
```

### Installation without Auto Port-Forward

```bash
./install.sh --no-port-forward
```

Then manually start port forwarding:
```bash
./port-forward.sh
```

## Installation Options

| Option | Description |
|--------|-------------|
| `--verbose, -v` | Show detailed installation output |
| `--no-port-forward` | Skip automatic port forwarding |
| `--config FILE` | Use custom configuration file |
| `--help, -h` | Show help message |

---

## Port Forwarding

### Automatic (Default)

Port forwarding starts automatically after installation for all 4 services:
- Console: 3000
- Agent Manager API: 8080
- Traces Observer: 9098
- Data Prepper: 21893

### Manual Control

```bash
# Start port forwarding
./port-forward.sh

# Stop port forwarding
./stop-port-forward.sh
```

---

## Validation

Installation includes built-in validation. To manually check the deployment:

```bash
# Check pod status
kubectl get pods -n agent-management-platform
kubectl get pods -n openchoreo-observability-plane

# Check services
kubectl get svc -n agent-management-platform
kubectl get svc -n openchoreo-observability-plane

# Check Helm releases
helm list -n agent-management-platform
helm list -n openchoreo-observability-plane
```

---

## Uninstallation

### Interactive Uninstall

```bash
./uninstall.sh
```

### Force Uninstall (no confirmation)

```bash
./uninstall.sh --force
```

### Complete Cleanup (including namespaces)

```bash
./uninstall.sh --force --delete-namespaces
```

**Note**: The observability namespace (`openchoreo-observability-plane`) is shared with OpenChoreo and will not be deleted.

## Uninstallation Options

| Option | Description |
|--------|-------------|
| `--force, -f` | Skip confirmation prompts |
| `--delete-namespaces` | Delete Agent Management Platform namespace after uninstalling |
| `--help, -h` | Show help message |

---

## Advanced Configuration

### Custom Values File

Create a custom values file (e.g., `my-values.yaml`):

```yaml
agentManagerService:
replicaCount: 2
resources:
requests:
memory: 512Mi
cpu: 500m

console:
replicaCount: 2

postgresql:
auth:
password: "my-secure-password"
```

Then install:
```bash
./install.sh --config my-values.yaml
```

### Environment Variables

You can override default namespaces:

```bash
export AMP_NS=my-custom-namespace
export OBSERVABILITY_NS=my-observability-namespace
./install.sh
```

---

## Troubleshooting

For common issues and solutions, see [TROUBLESHOOTING.md](TROUBLESHOOTING.md)

### Quick Diagnostics

```bash
# Check logs
kubectl logs -n agent-management-platform deployment/agent-manager-service
kubectl logs -n agent-management-platform deployment/console
kubectl logs -n openchoreo-observability-plane deployment/data-prepper

# Check events
kubectl get events -n agent-management-platform --sort-by='.lastTimestamp'

# Check Helm release status
helm status agent-management-platform -n agent-management-platform
helm status amp-observability-traces -n openchoreo-observability-plane
```

### Verbose Installation

If installation fails, run with verbose mode to see detailed output:

```bash
./install.sh --verbose
```

---

## Default Configuration

### Namespaces
- Agent Management Platform: `agent-management-platform`
- Observability: `openchoreo-observability-plane` (shared with OpenChoreo)
- Build CI: `agent-build-ci` (optional)

### Ports
- Console: 3000
- Agent Manager API: 8080
- Traces Observer: 9098
- Data Prepper: 21893

### Helm Charts
Charts are pulled from GitHub Container Registry (GHCR):
- `ghcr.io/agent-mgt-platform/agent-management-platform:0.1.0`
- `ghcr.io/agent-mgt-platform/amp-observability-traces:0.1.1`
- `ghcr.io/agent-mgt-platform/agent-manager-build-ci-workflows:0.1.0`

---

## Files in This Directory

| File | Purpose |
|------|---------|
| `install.sh` | Main installation script (simplified) |
| `uninstall.sh` | Uninstallation script |
| `install-helpers.sh` | Helper functions for installation |
| `port-forward.sh` | Port forwarding for all services |
| `stop-port-forward.sh` | Stop port forwarding |
| `QUICK_START.md` | Ultra-simple 2-step guide |
| `README.md` | This detailed guide |
| `TROUBLESHOOTING.md` | Common issues and solutions |
| `example-values.yaml` | Example custom configuration |

---

## Notes

- The scripts are idempotent - running them multiple times will upgrade existing installations
- PostgreSQL is deployed as part of the Agent Management Platform chart
- Observability is always installed as a core component
- Default credentials are set in the values files - change them for production
- All scripts include proper error handling and logging
- Port forwarding runs in the background and can be stopped with `./stop-port-forward.sh`

---

## See Also

- [Quick Start Guide](QUICK_START.md) - Simple 2-step installation
- [Troubleshooting Guide](TROUBLESHOOTING.md) - Common issues and solutions
- [Main README](../README.md) - Project overview and architecture
Loading