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
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,17 @@ Keep the admin key to yourself; give each application or agent its own virtual k

More: [Getting Started with Intel® Chatbot Toolkit](docs/getting-started/chatbot-toolkit.md) (prerequisites, sign-in, pipelines).

### AgentSysPerf

**What you get:** agent benchmarks on the agent toolkit (scored Terminal-Bench runs, concurrency ladders) with their system cost, on a dashboard at `https://agent-sysperf.inteltoolkits.ai` and in Grafana and Langfuse.

```bash
./toolkit_manager.sh init agent-sysperf
./toolkit_manager.sh install agent-sysperf
```

More: [Getting Started with AgentSysPerf](docs/getting-started/agent-sysperf.md) (settings to set before the first install, running a benchmark, known limitations).

---

## Remove or start again
Expand Down
34 changes: 34 additions & 0 deletions configs/repos/repos.agent-sysperf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# Copyright (C) 2026 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
# =============================================================================
# Layer manifest — agent-sysperf (AgentSysPerf agent benchmarking)
# =============================================================================
# inference and agent-toolkit mirror repos.agent-toolkit.yaml, so an env with both layers
# shares one checkout of each.

repos:
- layer: "inference"
url: "https://github.com/intel/enterprise-inference"
dest: "enterprise.ai-inference"
rev: "main"
deployment_subdir: ""
config_dir: ""
default_flavour: ""
model_catalog: "model_manager/models.yaml"

- layer: "agent-toolkit"
url: "https://github.com/intel/enterprise-agent-toolkit"
dest: "enterprise.agent-toolkit"
rev: "main"
deployment_subdir: ""
config_dir: ""
default_flavour: ""

- layer: "agent-sysperf"
url: "https://github.com/intel/agentsysperf"
dest: "agentsysperf"
rev: "main"
deployment_subdir: "deploy/toolkit-manager"
config_dir: ""
default_flavour: ""
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Start with the table. Each row is one job and one page. The sections under it ar
| Deploy a model and call it | [Deploy a model](getting-started/deploy-models.md) |
| Install the Intel® Agent Toolkit | [Getting Started with the Agent Toolkit](getting-started/agent-toolkit.md) |
| Install the Intel® Chatbot Toolkit | [Getting Started with the Chatbot Toolkit](getting-started/chatbot-toolkit.md) |
| Benchmark agents on the Agent Toolkit | [Getting Started with AgentSysPerf](getting-started/agent-sysperf.md) |
| Install step by step, with a bastion host or a chosen auth type | [Deployment Guide](deployment/install-platform.md) |
| Spread the cluster over several machines, or use my own cluster | [Multi-node and BYO cluster](deployment/multi-node.md) |
| Add or remove nodes on a running cluster | [Node scaling](deployment/node-scaling.md) |
Expand Down Expand Up @@ -60,6 +61,7 @@ Do these in order: prerequisites, getting started, then a model.
| [Deploy a model](getting-started/deploy-models.md) | Deploying, accessing and managing models with `model-manager` |
| [Getting Started with the Agent Toolkit](getting-started/agent-toolkit.md) | Agent sandboxes, memory stores and the LiteLLM gateway on top of inference |
| [Getting Started with the Chatbot Toolkit](getting-started/chatbot-toolkit.md) | Vector database, document ingestion and chat UI on top of inference |
| [Getting Started with AgentSysPerf](getting-started/agent-sysperf.md) | Agent benchmarks (Terminal-Bench, concurrency ladders) with their system cost, on top of the agent toolkit |

## Other ways to install

Expand Down
105 changes: 105 additions & 0 deletions docs/getting-started/agent-sysperf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Getting Started with AgentSysPerf

[AgentSysPerf](https://github.com/intel/agentsysperf) benchmarks agents on the Intel® Agent Toolkit. It records scored
Terminal-Bench runs and concurrency ladders with their system cost, and shows them on its own dashboard, in Grafana and
in Langfuse. The `agent-sysperf` layer installs it on top of the agent toolkit; its code comes from the agentsysperf
repository (`deploy/toolkit-manager/`).

## Prerequisites

- What the [Intel® Agent Toolkit](agent-toolkit.md) needs. The layer installs the toolkit first, with pgvector and
Agent Sandbox on.
- pgvector with at least 600 connections (a concurrency ladder holds one per slot). The layer's preflight stops below
that and names the setting.
- Internet for the task pods, which install their runtime with `pip` at start: either direct, or through the site
proxy set in `global_config.yaml`.

## Quick Start

```bash
./toolkit_manager.sh init agent-sysperf
```

Then, before the first install:

- `env/local/config.agent-toolkit.yaml`:
```yaml
pgvector_parameters: {max_connections: "600", shared_buffers: "1GB"}
pgvector_resources: {requests: {cpu: "1", memory: 2Gi}, limits: {cpu: "8", memory: 8Gi}}
```
- `env/local/config.agent-sysperf.yaml`: how task pods reach the internet. `agentsysperf_task_egress: direct` with
`agentsysperf_public_nameservers` (up to three resolvers the site lets DNS out to), or `agentsysperf_task_egress: proxy`
behind a site proxy.

```bash
./toolkit_manager.sh install agent-sysperf
```

The dashboard is at `https://agent-sysperf.<base_domain_name>/`, behind Keycloak sign-in for the platform admin group.

Run a benchmark from the AgentSysPerf checkout:

```bash
export KUBECONFIG=$PWD/env/local/kubeconfig.yaml
cd ext/agentsysperf
helm install smoke deploy/chart -n agent-sandbox-system -f deploy/chart/presets/smoke.yaml
helm install tb2 deploy/chart -n agent-sandbox-system -f deploy/chart/presets/tb2-gateway.yaml
```

The presets are described in `ext/agentsysperf/docs/TOOLKIT_ONBOARDING.md`. Runs are yours: `helm uninstall <name>`
when done; results stay in the store.

## Teardown

```bash
./toolkit_manager.sh teardown agent-sysperf
```

It removes everything the layer installed: the dashboard and its Keycloak client, the images and BuildKit on every node,
the `agent-sysperf` namespace, the contract and Secrets, the driver RBAC, the Pushgateway and Grafana dashboards, the
results database `aspdb` and the LiteLLM key alias `agent-sysperf-driver`. Export results you want to keep first.

## User Guide

### What Gets Installed

| Component | What it does |
|---|---|
| `asp_platform` | Preflight; the results database `aspdb` on pgvector and Secret `asp-pg-dsn`; a non-admin LiteLLM key (`asp-litellm-key`); the driver's ServiceAccount, RBAC and router token (`asp-runner`); Langfuse keys, a Pushgateway and Grafana dashboards; the cluster contract (ConfigMap `asp-cluster-env`) every run reads |
| `asp_images` | Builds the driver and dashboard images once with a pinned BuildKit, loads them on every node, labels the nodes (`agentsysperf.intel.com/images`) |
| `asp_dashboard` | The dashboard, published on the gateway with Keycloak sign-in |

The `agent-sysperf` namespace is in the ambient mesh. Task pods are not: AgentSysPerf labels them
`istio.io/dataplane-mode: none`.

### Settings

In `env/<env>/config.agent-sysperf.yaml`:

| Key | Default | Purpose |
|---|---|---|
| `agentsysperf_task_egress` | `direct` | `direct` (with `agentsysperf_public_nameservers`) or `proxy` (the site proxy, by address) |
| `agentsysperf_image_source` | `build` | `build` on the nodes, or `registry` with `agentsysperf_registry` and `agentsysperf_image_tag` |
| `agentsysperf_dashboard_enabled` | `true` | The dashboard and its route |
| `agentsysperf_dashboard_allowed_groups` | `[]` | Keycloak groups that may sign in; empty: the platform admin group |
| `agentsysperf_llm_model` | first of `llm_services_autodeploy_models` | Model the driver calls through LiteLLM |
| `agentsysperf_driver_node` | `""` | Pin the driver to a node |
| `agentsysperf_sandbox_nodes` | `[]` | Task-pod nodes for run-streams ladders; empty: the driver's node |

### Known Limitations

- **Measurement-grade CPU pinning** (DCAIDSE8-2196, DCAIDSE8-2197): runs use the toolkit's NRI policies.
AgentSysPerf's `apply.sh` stays a manual step.
- **No internet and no proxy:** task pods cannot install their runtime. Use the site proxy until AgentSysPerf ships a
prebuilt runtime or a local package index.
- **Images are built on the nodes** until AgentSysPerf publishes them; then set `agentsysperf_image_source: registry`.
Building copies the images to the other nodes one at a time, through the installer host.
- **Ladder rungs above the driver's CPU set are refused** by AgentSysPerf: the driver pod gets its CPUs from an NRI
balloon, and a rung may not run more slots than it has CPUs.
- **Failed run pods block toolkit re-installs:** the agent-toolkit install waits for every pod in
`agent-sandbox-system`. `helm uninstall` failed runs before installing again.
- **The router must admit mesh traffic** (TCP 15008, DCAIDSE8-2602); the preflight stops on an agent-toolkit release
without it.
- **Not supported:** OpenShift, `routing_mode: path` while the dashboard is on, the dashboard's "Run an experiment"
page (its launcher needs an ingress-nginx login), and AgentSysPerf's hardware-counter layers (they need its role
observers and node kernel settings).
Loading