Skip to content
Merged
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ kubectl -n keycloak get secret platform-bootstrap-admin -o jsonpath='{.data.valu
export KUBECONFIG=$(pwd)/env/local/kubeconfig.yaml
./model-manager deploy qwen3-0-6b --wait # ◀── first start downloads the weights, a few minutes

source ./ext/enterprise.ai-inference/model_manager/scripts/get-keycloak-token.sh # sets TOKEN, GATEWAY_IP, GATEWAY_DOMAIN, GATEWAY_URL
source ./ext/inference-toolkit/model_manager/scripts/get-keycloak-token.sh # sets TOKEN, GATEWAY_IP, GATEWAY_DOMAIN, GATEWAY_URL
curl -s --noproxy '*' --cacert env/local/logs/toolkit-manager-ca.crt \
--resolve "${GATEWAY_DOMAIN}:443:${GATEWAY_IP}" \
-H "Authorization: Bearer ${TOKEN}" -H "Content-Type: application/json" \
Expand Down
6 changes: 3 additions & 3 deletions configs/repos/repos.agent-toolkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
repos:
- layer: "inference"
url: "https://github.com/intel/inference-toolkit"
dest: "enterprise.ai-inference"
dest: "inference-toolkit"
rev: "8389f47f94403fd682dcd90e02ed5cc25e6eef18" # v1.2.0-rc.1
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"
url: "https://github.com/intel/agent-toolkit"
dest: "agent-toolkit"
rev: "b3a29592ff6cb0dbc3adce0de8b334964db38e27"
deployment_subdir: ""
config_dir: ""
Expand Down
4 changes: 2 additions & 2 deletions configs/repos/repos.erag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
repos:
- layer: "inference"
url: "https://github.com/intel/inference-toolkit"
dest: "enterprise.ai-inference"
dest: "inference-toolkit"
rev: "8389f47f94403fd682dcd90e02ed5cc25e6eef18" # v1.2.0-rc.1
deployment_subdir: ""
config_dir: ""
Expand All @@ -21,7 +21,7 @@ repos:

- layer: "erag"
url: "https://github.com/intel/chatbot-toolkit"
dest: "enterprise.ai-erag"
dest: "chatbot-toolkit"
rev: "6fa81aa0a9852cbf195317d45bfe8648ebc7a955" # v3.1.0-rc.1
deployment_subdir: "deployment"
config_dir: "pipelines"
Expand Down
2 changes: 1 addition & 1 deletion configs/repos/repos.inference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
repos:
- layer: "inference"
url: "https://github.com/intel/inference-toolkit"
dest: "enterprise.ai-inference"
dest: "inference-toolkit"
rev: "8389f47f94403fd682dcd90e02ed5cc25e6eef18" # v1.2.0-rc.1
deployment_subdir: ""
config_dir: ""
Expand Down
10 changes: 5 additions & 5 deletions docs/deployment/install-platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ When `auth_type=jwt` (the default), API clients authenticate with Keycloak token
**Quick method — use the helper script:**

```bash
source ./ext/enterprise.ai-inference/model_manager/scripts/get-keycloak-token.sh
source ./ext/inference-toolkit/model_manager/scripts/get-keycloak-token.sh
# Exports: TOKEN, GATEWAY_IP, GATEWAY_DOMAIN, GATEWAY_URL
# Finds the gateway IP, Keycloak domain, and client credentials in the cluster
```
Expand Down Expand Up @@ -826,7 +826,7 @@ curl -s --cacert "$CA" --noproxy '*' \
**Or use the built-in helper to get token + gateway details in one step:**

```bash
source ./ext/enterprise.ai-inference/model_manager/scripts/get-keycloak-token.sh
source ./ext/inference-toolkit/model_manager/scripts/get-keycloak-token.sh
# Exports: TOKEN, GATEWAY_IP, GATEWAY_DOMAIN, GATEWAY_URL
```

Expand Down Expand Up @@ -877,7 +877,7 @@ import os
from openai import OpenAI

# GATEWAY_URL and TOKEN are set by the helper script
# source ./ext/enterprise.ai-inference/model_manager/scripts/get-keycloak-token.sh
# source ./ext/inference-toolkit/model_manager/scripts/get-keycloak-token.sh
client = OpenAI(
base_url=os.environ["GATEWAY_URL"] + "/v1", # https://inference.<domain>/v1
api_key=os.environ["TOKEN"],
Expand Down Expand Up @@ -925,13 +925,13 @@ print(response.choices[0].message.content)
**Keycloak — re-source the helper to get a fresh token:**

```bash
source ./ext/enterprise.ai-inference/model_manager/scripts/get-keycloak-token.sh
source ./ext/inference-toolkit/model_manager/scripts/get-keycloak-token.sh
```

**For longer sessions** (e.g. 1 hour):

```bash
source ./ext/enterprise.ai-inference/model_manager/scripts/get-keycloak-token.sh --lifespan 3600
source ./ext/inference-toolkit/model_manager/scripts/get-keycloak-token.sh --lifespan 3600
```

---
Expand Down
4 changes: 2 additions & 2 deletions docs/deployment/netapp-ontap.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ either can be used without the other:
the in-cluster SeaweedFS. Because the object-store data LIF sits on the storage
network and browsers upload straight to the presigned URL they are handed, the
endpoint is published through the platform Envoy Gateway as a reverse proxy. The
proxy objects are owned by Intel® Chatbot Toolkit (`ext/enterprise.ai-erag`, role `app_edp`);
proxy objects are owned by Intel® Chatbot Toolkit (`ext/chatbot-toolkit`, role `app_edp`);
the dedicated gateway listener (`https-s3`, host `s3.<base_domain_name>`) that makes
SigV4 signatures survive the hop is owned by `roles/gateway`.

Expand Down Expand Up @@ -226,7 +226,7 @@ preflight runs `getent hosts` from each node and reports every unresolvable pair

The array topology is the installer's concern; the credentials belong to the layer that
consumes them. For the RAG side, see `docs/customize/object_store.md` in the Intel® Chatbot
Toolkit repository (cloned to `ext/enterprise.ai-erag/` by `init erag`).
Toolkit repository (cloned to `ext/chatbot-toolkit/` by `init erag`).

`ontap_s3_data_lif` is what activates the gateway's dedicated S3 listener and, together
with the credentials, the reverse proxy in Intel® Chatbot Toolkit. `edp_rbac_enabled` must stay
Expand Down
6 changes: 6 additions & 0 deletions docs/deployment/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ already deployed **is** the upgrade. Before anything changes, the installer read
records about each layer, compares it with the release you are installing, runs the upgrade checks,
and either goes ahead or refuses with the command that fixes the problem.

> [!NOTE]
> From Toolkit Manager 2.0 the `ext/` folders carry the repository names: `ext/inference-toolkit`,
> `ext/chatbot-toolkit`, `ext/agent-toolkit`. Clones under the old names (`ext/enterprise.ai-inference`,
> `ext/enterprise.ai-erag`, `ext/enterprise.agent-toolkit`) are not moved, and the installer refuses to
> run while one exists. Delete them (keep anything unpushed first) before `init --upgrade`.

In short, to upgrade a solution layer such as the Intel® Chatbot Toolkit (`erag`):

1. **Back up** the layer with the release that is installed now: `./run_backup.sh backup erag --env prod`
Expand Down
2 changes: 1 addition & 1 deletion docs/faq-and-troubleshooting/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Cluster-side logs are in Loki, browsable from Grafana.
|---------|--------------------|
| No models after `install inference` | Expected unless you asked for them: set `llm_services_deploy_models: true` in `env/<env>/config.inference.yaml` **and** `autodeploy: true` on the model in `env/<env>/models.yaml`. Or run `./model-manager deploy <name> --wait`. |
| `404` "No matching route found" | The `model` field is not a deployed model's name. `./model-manager list --deployed` shows them. |
| `401` "Jwt is expired" or "Jwt is missing" (`auth_type: jwt`) | Keycloak tokens last 15 minutes. Get a new one: `source ./ext/enterprise.ai-inference/model_manager/scripts/get-keycloak-token.sh`. |
| `401` "Jwt is expired" or "Jwt is missing" (`auth_type: jwt`) | Keycloak tokens last 15 minutes. Get a new one: `source ./ext/inference-toolkit/model_manager/scripts/get-keycloak-token.sh`. |
| `401` "Authentication Error" (`auth_type: litellm_vkey`) | Wrong, expired or revoked virtual key. |
| Model pod stays `Pending` | Not enough free CPU or memory on any node: `kubectl describe pod -n llm-inference -l app.kubernetes.io/name=<name>`. |

Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started/chatbot-toolkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ The installer deploys in layers, each building on the previous:
| **inference** | KServe, Envoy AI Gateway, LLM services (model serving) | Model serving |
| **erag** | models, APISIX, vector DBs, NATS, fingerprint, HPA, pipelines, EDP (document ingestion), MCP gateway, chat history, UI | RAG application |

The **erag** layer is opt-in — it lives in `ext/enterprise.ai-erag/deployment/components.yaml` and only appears in the
The **erag** layer is opt-in — it lives in `ext/chatbot-toolkit/deployment/components.yaml` and only appears in the
registry once the env was initialized with `init erag`.

### Layer-Level Install and Teardown
Expand Down Expand Up @@ -127,7 +127,7 @@ You can also target individual components directly — component resolving trave
### Pipeline Flavours (`init --flavour`)

A flavour is the preset `init` seeds `config.<layer>.yaml` from. For `erag` they are the
directories under `ext/enterprise.ai-erag/deployment/pipelines/` — `chatqna` (the default),
directories under `ext/chatbot-toolkit/deployment/pipelines/` — `chatqna` (the default),
`chatqna_intel_gpu`, `docsum`, `translation`, `audioqna`, `pl_chatqna`:

```bash
Expand Down Expand Up @@ -214,7 +214,7 @@ The `env/<name>/` directory is the single source of truth for an environment. Ev
| `global_config.yaml` | Domain, TLS, proxy, component toggles |
| `config.erag.yaml` | RAG-specific: registry, models, feature flags, pipeline config (seeded from a flavour) |
| `config.inference.yaml` | Inference: KServe, CPU policy, model serving, API auth (`auth_type`), LiteLLM/Langfuse |
| `models.yaml` | Model catalog, seeded from `ext/enterprise.ai-inference/model_manager/models.yaml` |
| `models.yaml` | Model catalog, seeded from `ext/inference-toolkit/model_manager/models.yaml` |
| `nodes.yaml` | Node definitions for remote deployments |
| `inventory/hosts.yaml` | Kubespray-compatible inventory (auto-generated or manual) |
| `kubeconfig.yaml` | Cluster kubeconfig written after k8s install — point `KUBECONFIG` here |
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/deploy-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ for minting, listing, and revoking keys.
Uses the inference gateway: one host, `inference.<domain>`, for every model. The helper script gets a token (client credentials flow) and finds the gateway for you:

```bash
source ./ext/enterprise.ai-inference/model_manager/scripts/get-keycloak-token.sh
source ./ext/inference-toolkit/model_manager/scripts/get-keycloak-token.sh
# Exports: TOKEN, GATEWAY_IP, GATEWAY_DOMAIN, GATEWAY_URL

# Call the model (the "model" field picks the model)
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Every deployment lives in a named environment under `env/<name>/`. The name is a
./toolkit_manager.sh init inference
```

It clones the Intel® Inference Toolkit into `ext/enterprise.ai-inference/` and creates `env/local/` with:
It clones the Intel® Inference Toolkit into `ext/inference-toolkit/` and creates `env/local/` with:
- `global_config.yaml` — platform-wide settings
- `config.inference.yaml` — the inference layer's settings, including the API auth type (`auth_type`)
- `nodes.yaml` — the machines to install on (leave it as it is for a single node)
Expand Down
6 changes: 3 additions & 3 deletions docs/overview/meet.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ github.com/intel/toolkit-manager <- start here; run all commands from
|-- model-manager deploy and manage models
|-- env/<name>/ your configuration, inventory, kubeconfig, and logs
`-- ext/ cloned automatically by `init`
|-- enterprise.ai-inference Intel® Inference Toolkit: KServe, vLLM, OpenVINO Model Server
|-- enterprise.ai-erag Intel® Chatbot Toolkit: pipelines, ingestion, UI
`-- enterprise.agent-toolkit Intel® Agent Toolkit: agent memory, sandboxes
|-- inference-toolkit Intel® Inference Toolkit: KServe, vLLM, OpenVINO Model Server
|-- chatbot-toolkit Intel® Chatbot Toolkit: pipelines, ingestion, UI
`-- agent-toolkit Intel® Agent Toolkit: agent memory, sandboxes
```

> [!IMPORTANT]
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/adding-solutions.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ repos:
# Dependencies first: repos are cloned and configs seeded in file order.
- layer: "inference"
url: "https://github.com/<org>/<inference-repo>"
dest: "enterprise.ai-inference"
dest: "inference-toolkit"
rev: "main"
deployment_subdir: ""
config_dir: ""
Expand Down Expand Up @@ -518,7 +518,7 @@ Reuse what the platform runs instead of rebuilding it. The points that bite:
- **Deploy a model you need** with `{{ playbook_dir }}/../model-manager deploy <model> --label
<owner>`, setting `TKM_ENV: "{{ env_dir | basename }}"` (the wrapper otherwise prompts, and there
is no tty). Skip it when the model is already served, and in teardown undeploy only what
carries your label. Example: `deployment/roles/app_inference_models` in enterprise-rag.
carries your label. Example: `deployment/roles/app_inference_models` in chatbot-toolkit.

---

Expand Down
18 changes: 9 additions & 9 deletions docs/reference/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ infrastructure → platform → inference → erag / agent-toolkit (opt-in
| `infrastructure` | `kubernetes`, `storage`; `kata_containers` (`kata_containers_enabled`); rack-scale only (`rack_scale_enabled`): `fabric_inventory`, `fabric_netplan`, `fabric_sysctl`, `fabric_bgp`, `fabric_validate` | `install` of any layer |
| `platform` | `node_feature_discovery`, `nri_cpu_balloons`, `intel_gpu_plugin`, `cert_manager`, `istio`, `metallb`, `metrics_server`, `gateway` (alias `envoy_gateway`), `postgresql`, `keycloak`, `object_store`, `seaweedfs`, `observability`, `headlamp`; opt-in: `keda`, `velero`; rack-scale: `nvidia_gpu_operator`, `gpu_observability` | `install` of `platform` or any layer above |
| `inference` | from inference-toolkit's `components.yaml`: `keycloak_config`, `envoy_ai_gateway`, `kserve`, `litellm`, `langfuse`, `llm_services`, `vllm_sr` (opt-in) | `install inference`, or a layer above it |
| `erag` | from enterprise-rag's `components.yaml` (the `app_*` roles) | `install erag`, after `init erag` |
| `agent-toolkit` | from enterprise-agent-toolkit's `components.yaml` | `install agent-toolkit`, after `init agent-toolkit` |
| `erag` | from chatbot-toolkit's `components.yaml` (the `app_*` roles) | `install erag`, after `init erag` |
| `agent-toolkit` | from agent-toolkit's `components.yaml` | `install agent-toolkit`, after `init agent-toolkit` |

- **`install inference`** installs infrastructure + platform + inference (dependencies auto-pull)
- **`install erag`** and **`install agent-toolkit`** must be explicitly targeted, after `init` of that layer
Expand Down Expand Up @@ -187,7 +187,7 @@ toolkit-manager/

### inference-toolkit (external repo)

Cloned to `ext/enterprise.ai-inference/` by `init inference`.
Cloned to `ext/inference-toolkit/` by `init inference`.

```
inference-toolkit/
Expand Down Expand Up @@ -230,12 +230,12 @@ External repos are declared in per-layer manifests at `configs/repos/repos.<laye
```yaml
repos:
- layer: "inference"
url: "https://github.com/intel/enterprise-inference" # redirects to intel/inference-toolkit
dest: "enterprise.ai-inference"
url: "https://github.com/intel/inference-toolkit"
dest: "inference-toolkit"
deployment_subdir: "" # roles/, components.yaml, config.yaml at repo root
- layer: "erag"
url: "https://github.com/intel/enterprise-rag"
dest: "enterprise.ai-erag"
url: "https://github.com/intel/chatbot-toolkit"
dest: "chatbot-toolkit"
deployment_subdir: "deployment" # Ansible tree lives under deployment/
```

Expand Down Expand Up @@ -270,7 +270,7 @@ Components are defined in `components.yaml` files (this repo + ext repos). Each
- `depends_on` (the components it needs; execution order within a layer comes from these, and the order in the file only breaks ties)
- `enabled` (an expression; disabled components are skipped)

The layers and their components are listed under [Layer Architecture](#layer-architecture). The `erag` and `agent-toolkit` layers must be explicitly targeted, after `init` of that layer. See [../../ext/enterprise.ai-erag/docs/README.md](../../ext/enterprise.ai-erag/docs/README.md) (exists after `init erag` clones the repo) for RAG-layer documentation.
The layers and their components are listed under [Layer Architecture](#layer-architecture). The `erag` and `agent-toolkit` layers must be explicitly targeted, after `init` of that layer. See [../../ext/chatbot-toolkit/docs/README.md](../../ext/chatbot-toolkit/docs/README.md) (exists after `init erag` clones the repo) for RAG-layer documentation.

Component resolution happens in `playbooks/includes/resolve_target.yaml`, through `filter_plugins/resolve_components.py`:
1. A **layer** target pulls in the layers it depends on (`install`) or the layers that depend on it (`teardown`). `--only` turns that off.
Expand Down Expand Up @@ -399,7 +399,7 @@ A file-level map of this repository and the external inference repo it composes
| `toolkit_manager.sh` | The CLI. Actions: `configure`, `init <layer>`, `show`, `install`, `teardown`, `validate`, `status`, `add-node`, `remove-node`. Flags: `--env <name>`, `--flavour <name>` and `--upgrade` (init only), `--only` (skip dep auto-inclusion), `--skip <names>` (comma-separated layers/components to exclude), `--force` (skip confirmation; on `install`, run past a refusing upgrade check), `--dry-run` (add-node, remove-node), `--health` (status), `--node-lost` (remove-node), `--` (pass remaining args to ansible-playbook). See the [CLI Reference](cli.md). |
| `es_auto_installer.sh` | The CLI's former name. Runs `toolkit_manager.sh` with the same arguments and prints a notice. |
| `run_backup.sh` | Back up, restore or list one layer's backups with Velero: actions `backup`, `restore`, `list`, each with a `<layer>`; flags `--env <name>`, `--from <backup>` (restore), `--force`, `--`. Sources `toolkit_manager.sh` for its playbook arguments and runs `playbooks/backup.yaml`. See [Upgrade a Layer](../deployment/upgrade.md). |
| `model-manager` | Runs `ext/enterprise.ai-inference/model_manager/model-manager` against `env/<name>/` (`TKM_ENV` picks the env). |
| `model-manager` | Runs `ext/inference-toolkit/model_manager/model-manager` against `env/<name>/` (`TKM_ENV` picks the env). |
| `ansible.cfg` | Ansible configuration: `any_errors_fatal`, default stdout callback with yaml result format, `timer` + `profile_tasks` callbacks. `roles_path` is overridden at runtime by the composed `ANSIBLE_ROLES_PATH`. |
| `configs/components.yaml` | This repo's layers and components. |
| `configs/defaults/*.yaml` | Seeds `init` copies into a new env: `global_config.yaml`, `nodes.yaml`. |
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ To create a scoped virtual key (its own models, budget and expiry), see [Virtual
The inference repo ships a helper that finds the gateway, reads the Keycloak client credentials from the cluster, and fetches a token:

```bash
source ./ext/enterprise.ai-inference/model_manager/scripts/get-keycloak-token.sh
source ./ext/inference-toolkit/model_manager/scripts/get-keycloak-token.sh
# Sets: TOKEN, GATEWAY_IP, GATEWAY_DOMAIN, GATEWAY_URL (already right for subdomain or path mode)
```

Expand Down Expand Up @@ -721,4 +721,4 @@ The rare cases:

Files behind the auth flow above:
- Envoy Gateway `SecurityPolicy`: `roles/envoy_gateway/templates/security-policy.yaml.j2`
- Keycloak realm and client: `ext/enterprise.ai-inference/roles/keycloak_config/`
- Keycloak realm and client: `ext/inference-toolkit/roles/keycloak_config/`
2 changes: 1 addition & 1 deletion docs/reference/labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The NRI CPU balloons and Kata Containers components install into `kube-system`,

---

## Intel® Chatbot Toolkit (`enterprise-rag`)
## Intel® Chatbot Toolkit (`chatbot-toolkit`)

These namespaces only exist once `install erag` has run; `install inference` does not create them. The eRAG repo sets their labels, so check that repo for the current values.

Expand Down
2 changes: 1 addition & 1 deletion model-manager
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
MM_REAL="${SCRIPT_DIR}/ext/enterprise.ai-inference/model_manager/model-manager"
MM_REAL="${SCRIPT_DIR}/ext/inference-toolkit/model_manager/model-manager"
if [[ ! -f "$MM_REAL" ]]; then
echo "[ERROR] model-manager not found at: $MM_REAL" >&2
echo " Run: ./toolkit_manager.sh init local for initial Inference repository clone" >&2
Expand Down
2 changes: 1 addition & 1 deletion playbooks/includes/agent_toolkit_preflight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

- name: "Preflight - Toolkit nodes: locate the checks"
ansible.builtin.stat:
path: "{{ playbook_dir }}/../ext/enterprise.agent-toolkit/playbooks/preflight-check.yml"
path: "{{ playbook_dir }}/../ext/agent-toolkit/playbooks/preflight-check.yml"
register: _tk_preflight_pb

- name: "Preflight - Toolkit nodes"
Expand Down
Loading