Repository navigation
Conversation
The README and docs copy now describe Toolkit Manager, Agent Toolkit, Inference Toolkit, and Chatbot Toolkit so the public guides match the names in use.
There was a problem hiding this comment.
We need to change the name in the image from Enterprise Agent Toolkit to Agent toolkit
There was a problem hiding this comment.
That's correct. Can you replace it?
amberjain1
left a comment
There was a problem hiding this comment.
I have started the review with first few files. Will continue later
| --- | ||
| | Component | Implementation | Purpose | | ||
| |---|---|---| | ||
| | **API gateway** | LiteLLM (or Keycloak in front of the AI gateway) | A single HTTPS URL and key for every model | |
There was a problem hiding this comment.
L35: Envoy gateway with keycloak Auth for better phrasing.
| | Component | Implementation | Purpose | | ||
| |---|---|---| | ||
| | **API gateway** | LiteLLM (or Keycloak in front of the AI gateway) | A single HTTPS URL and key for every model | | ||
| | **Model serving** | vLLM on Intel® hardware | The language model the agent calls | |
There was a problem hiding this comment.
Lets not limit to vllm, we already are adding sglang and also support OVMS. Shall we just say Optimized model serving?
There was a problem hiding this comment.
Agree, I think we should just mention Inference Microservices here to have a cohesive story but... would that be true?
I'm thinking of changing this to:
| **Model serving** | Optimized OpenAI-compatible runtimes on Intel® hardware | The language model the agent calls |
| | **Model serving** | vLLM on Intel® hardware | The language model the agent calls | | ||
| | **Short-term memory** | Redis Stack (with RediSearch) | Session state and recent context | | ||
| | **Long-term memory** | PostgreSQL + pgvector | RAG, embeddings, and data that persists across restarts | | ||
| | **Code sandbox** | Isolated Kubernetes pods | Execute agent-generated code without access to the host | |
There was a problem hiding this comment.
Instead of "code Sandbox", shall we just refer to them as Sandbox? Also that it can allow Agent deployment in Sandboxes along with secure code exceution.
Also shall we call out some technologies as we do that for other layers: Openshell+Agent Sandboxes
There was a problem hiding this comment.
Agree.
Modified to
| **Sandbox** | Agent Sandbox + OpenShell | Deploy agents and run their code securely, isolated from the host |
| [](https://www.intel.com/xeon) | ||
| <!-- vale off (due to hyperlinks) --> | ||
| [](https://github.com/intel/agent-toolkit/blob/main/LICENSE) | ||
| [](https://www.intel.com/content/www/us/en/products/details/processors.html) |
There was a problem hiding this comment.
Shall we call out Xeon and XPU separately as well as these are tags
There was a problem hiding this comment.
We need to have clarity there and alignment. The GPU team actually asked me use GPU instead of XPU.
I'm adding a GPU badge too.
| | **Long-term memory** | PostgreSQL + pgvector | RAG, embeddings, and data that persists across restarts | | ||
| | **Code sandbox** | Isolated Kubernetes pods | Execute agent-generated code without access to the host | | ||
| | **Tools** | MCP server templates | Register APIs and tools the agent can invoke | | ||
| | **Observability** | Langfuse + Prometheus / Grafana | Tokens, latency, and each agent step | |
There was a problem hiding this comment.
Lets add guardrails as well to the list
There was a problem hiding this comment.
Good Catch! Adding it
| **Guardrails** | LiteLLM content safety + guard model | Screen each prompt before the main model |
| | `global_config.yaml` | Cluster-wide: domain, TLS, auth, storage, proxy, bring-your-own kubeconfig | | ||
| | `config.inference.yaml` | Inference-layer settings the toolkit overrides (guardrails, hybrid router, LiteLLM) | | ||
| | `models.yaml` | Catalog of model names, Hugging Face ids, CPU, and memory. Deploy with `llm_services_autodeploy_models` or `./model-manager deploy <name>` | | ||
| | `config.agent-toolkit.yaml` | Toolkit knobs: which models install, namespaces, Redis, pgvector, sandbox, optional KubeRay | |
There was a problem hiding this comment.
Typo :) I've fixed it
|
|
||
| ### `config.inference.yaml` | ||
|
|
||
| Routing and the semantic router live here. Model selection does not. See [Routing](routing.md) and [Hybrid router](hybrid-router.md). |
There was a problem hiding this comment.
We support below routing choices. Current description is a little confusing:
- litellm based routing:
- complexity, hybrid and semantic
- vllm-sr.
The current section is a little confusing
There was a problem hiding this comment.
Agree.
I've changed the section now, improving clarity and adding more information
| | `deploy_kubernetes_fresh` | Omit `existing_kubernetes` and the installer creates the cluster | | ||
| | `vault.yml` | Removed: installer generates secrets | | ||
|
|
||
| Not in this release: the Flowise plugin (`deploy_agenticai_plugin`), Intel® Arc™ (XPU) and other GPU `compute_platform` values, rack-scale networking, and `air_gapped`. The Arc procedure is in [Intel® Arc™ (XPU)](../deployment/intel-arc.md). Kata Containers (`kata_containers_enabled`, `kata-fc` / `kata-qemu`) is a sandbox option and needs `agent_sandbox_enabled: true`. The steps are in [Agent sandbox](../reference/agent-sandbox.md#kata-containers). Docker Compose is a separate path: [Docker](../deployment/docker.md) uses `docker/deploy.sh`, not `./toolkit_manager.sh install`. |
There was a problem hiding this comment.
We already have XPU and rackscale in the release.
Also I feel slowly we shall deprecate and remove the Flowise
There was a problem hiding this comment.
Similarly other components mentioned here are supported.
There was a problem hiding this comment.
Thanks, I also feel we shouldn;t mention the Not in this release content, what do you think?
| | Reach the internet through a corporate proxy | [Corporate proxy](deployment/proxy.md) | | ||
| | Tear the install down and install again | [Decommission](deployment/decommission.md) | | ||
| | See which YAML file holds a setting | [Configuration](configuration/configuration.md) | | ||
| | Choose, size, or add a model | [CPU model configuration](configuration/xeon-models.md) | |
There was a problem hiding this comment.
This is not correct and we shall have engineering team fix this documentation. With Inference Toolkit this needs rewriting.
There was a problem hiding this comment.
How would like to proceed for now?
Thanks for that! It's a lot of work and challenging to adapt what is already documented to a most friendly way/lecture. You help is much appreciated here |
…nce layer yet ai_gateway_buffer_limit comes from enterprise-inference intel#38, which is not merged, so the docs now say to apply the ClientTrafficPolicy by hand until it is.
…nce layer yet ai_gateway_buffer_limit comes from enterprise-inference intel#38, which is not merged, so the docs now say to apply the ClientTrafficPolicy by hand until it is.
|
Superseded by #42 — same documentation rebrand/reorganization, rebased onto |
|
#42 |
#26) * feat(agent-toolkit/claw): add the openclaw_operator component Install the upstream OpenClaw operator (chart and controller for OpenClawInstance, OpenClawClusterDefaults and OpenClawSelfConfig) as the first claw component. It is off by default and gated by claw_enabled. The chart and the operator image are third-party OCI artifacts, and OCI tags are mutable, so both are pinned by digest: - The chart is pulled once by digest, its Chart.yaml version is checked against openclaw_operator_version before anything changes, and it is installed from that copy. - The operator image is pinned as tag@digest. The chart default is the mutable v<appVersion> tag. - When cosign is on the installer host, the keyless signatures of the chart and the image are verified against the upstream release workflow identity. A failed verification stops the install; openclaw_operator_cosign_required makes the check mandatory. The operator namespace enforces the restricted Pod Security Standard (enforce_pss) and joins the ambient mesh (istio_enabled), like the platform namespaces, and the controller uses the platform soft node affinity instead of a node selector. validate is read-only: release version, CRDs, controller availability and the running image digest. teardown deletes OpenClawInstances while the controller can still clear their finalizers, then the release, the CRDs (the chart keeps them on uninstall) and the namespace. Signed-off-by: Gurunath S <gurunath.s@intel.com> * docs(agent-toolkit/claw): add claw guide and OpenClawInstance example docs/claw.md describes the claw components, how to enable them, configuration, security properties, validate/teardown and troubleshooting. docs/claw-e2e.md is a step-by-step walkthrough with expected output. docs/examples/openclaw-instance.yaml runs one agent on the pinned OpenClaw image against the in-cluster inference gateway. Each setting reflects a platform constraint: - The namespace joins the ambient mesh: the platform enforces mesh-wide STRICT mTLS, so a pod outside the mesh cannot reach ai-gateway. - The extra egress rule allows TCP 15008 to the gateway pods. In the ambient mesh, pod-to-pod traffic is carried on the HBONE port, and a rule for the gateway's own port does not match. - contextWindow is the served max_model_len. Without it OpenClaw assumes 200000 tokens. - shareProcessNamespace is false; the CRD default (true) lets containers running as the same UID read each other's environment. - Compaction reserve is sized for a 32k-context model. The default 20000-token floor would summarise after every turn, because the agent prompt alone is about 19500 tokens. Signed-off-by: Gurunath S <gurunath.s@intel.com> * Answer the review questions in the claw docs Say who each guide is for and how they differ, where the inference gateway URL is set and what to change for another gateway, and how to place an agent on particular nodes (commented out in the example). Drop the CPU timing from the walkthrough: it depends on the model and the hardware. * Say the inference gateway's buffer setting isn't in a released inference layer yet ai_gateway_buffer_limit comes from enterprise-inference #38, which is not merged, so the docs now say to apply the ClientTrafficPolicy by hand until it is. * feat(agent-toolkit/claw): add the Agent resource and the agent operator Add the Agent custom resource (intel-stack.io/v1alpha1) and a kopf operator that turns each Agent into an isolated OpenClaw agent. For an Agent in user-<username>, the operator creates namespace agent-<username>-<name> with restricted Pod Security, ambient mesh enrolment, a default-deny NetworkPolicy, a ResourceQuota and a LimitRange; a per-agent Keycloak client; a gateway token; and an OpenClawInstance, which it suspends, resumes, updates and deletes with the Agent. Workspace files from spec.workspace are seeded into the pod. Isolation and credential handling: - An Agent is accepted only in its owner's namespace, and teardown touches only the namespace the operator created for that agent. - The operator authenticates to Keycloak with a client-credentials service account and never adopts a client owned by someone else. - Exec is bound per agent namespace, never cluster-wide; workspace paths are validated at admission and passed as arguments. - Every value rendered into the OpenClawInstance is JSON-encoded, so agent-supplied fields cannot inject YAML. - The cluster default model key is never sent to an agent-chosen URL. The image runs as a non-root user without pip, and its unit tests run as a build gate. The charts install the CRD and the operator with least-privilege RBAC. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * feat(agent-toolkit/claw): add the agent_operator component Install the agent operator with the installer, gated by claw_enabled. roles/claw_image builds an image from this repository into the cluster image registry: a pinned, checksum-verified BuildKit runs as a transient unit on the first control-plane node and pushes the image; the tag is the source digest, so an unchanged source skips the build, and workloads pin the pushed digest. Each node gets a containerd hosts.toml for the registry; containerd and /etc/hosts are not otherwise changed. roles/agent_operator: - creates the operator's Keycloak service account in the agent realm (realm-management/manage-clients) and stores its credentials; - raises the inference gateway request buffer when no policy does, since agent requests exceed Envoy's 32 KiB default; - installs the CRD and operator charts, with the default model and its context window taken from the inference layer; - validates read-only, and tears down agents first, then the operator, its Keycloak client and the node registry configuration. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * docs(agent-toolkit/claw): document the Agent resource Describe both claw components, how to create, suspend, resume, edit and delete an agent, configuration, security, teardown and troubleshooting. docs/examples/agent.yaml creates an owner namespace and one agent; docs/claw-e2e.md walks through it with expected output. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * fix(agent-toolkit/claw): refuse namespaces the operator did not create The operator adopted any existing namespace not labelled for another agent or owner, relabelled it as its own, applied default-deny and a quota, and deleted it when the Agent was deleted. An Agent owned by "operator" or "sandbox" and named "system" maps onto agent-operator-system or agent-sandbox-system. An existing namespace is now reconciled only when it carries the operator's managed-by label, and Agents whose namespace would be the operator's or the sandbox namespace are refused. * fix(agent-toolkit/claw): keep the Keycloak admin password out of exec arguments The operator role logged in with kcadm config credentials --password, run through k8s_exec, so the master admin password was part of the pods/exec request (recorded when API-server auditing is on) and visible in the Keycloak pod's process list while kcadm ran. The password is now sent over stdin and read into KC_CLI_PASSWORD, which kcadm uses when --password is not given; the same change is made to the teardown login. * fix(agent-toolkit/claw): always build claw images and pin the digest BuildKit pushed claw_image skipped the build when the src-<hash> tag already existed in the in-cluster registry and pinned whatever digest the registry returned. The registry accepts unauthenticated pushes and the tag is derived from public source, so any pod could pre-push an image under it, and that image would then run as the operator with its RBAC. The image is now always built (unchanged source builds from cache), and the digest is taken from BuildKit's metadata file instead of being read back from the registry. * Carry the review answers into the Agent docs Keep the note on who each guide is for, say that operator-made agents take the gateway URL from claw_model_base_url and can't be placed on particular nodes yet, and drop the CPU timings the Agent walkthrough and limitations added. * Say the agent operator raises the inference gateway's buffer limit The troubleshooting row for a 413 from the inference gateway still pointed to the inference layer's ai_gateway_buffer_limit, which is not merged, and to a limitation this PR removed. Since this PR the agent_operator role adds the policy itself when no other one targets the gateway. * feat(agent-toolkit/claw): add per-agent memory with proven identity Give every agent long-term memory without giving it a credential. - identity_proxy.py runs in each agent namespace and is the only holder of the agent's Keycloak client secret. Each port fronts one tool: the proxy mints a client-credentials token scoped to that tool, attaches it as a bearer token and strips any identity or credential header the agent sends. - The Tool resource (tools.intel-stack.io, cluster-scoped) registers an MCP server by skill and in-cluster Service URL. The operator resolves Tools (oldest wins, off-cluster URLs rejected, aliases never shadow a skill), records a phase and re-wires running agents when the set changes. The operator only reads Tools. - mcp/memory.py serves memory_write, memory_read and memory_list_tiers on pgvector. It verifies the token's signature, issuer, audience and scopes, takes the schema from the token's memory_schema claim and logs every call with the caller. - One image now runs the operator, the proxies and the MCP servers; every unit test is a build gate. The proxies run from it, so their ConfigMaps hold only configuration. - In the ambient mesh, egress to the in-namespace proxies is allowed on the HBONE port. - The generic mcp-server chart deploys a server with an ingress NetworkPolicy that admits only identity proxies, and registers its Tool. OpenClaw's memory search uses the same embedding model. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * feat(agent-toolkit/claw): add the mcp_servers component roles/agent_operator now copies the pgvector DSN into the operator's runtime Secret, so the operator creates each agent's memory schema, and sets the embedding model for memory search. The component depends on pgvector. roles/mcp_servers installs the memory server from the operator image with the mcp-server chart, waits for its Tool to be registered, validates read-only and tears down, which unwires it from every agent. With claw on, the bge-base-en embedding model is deployed with the default model. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * docs(agent-toolkit/claw): document agent memory and tools Describe per-agent memory, the Tool resource, the identity proxy and the mcp_servers component, with configuration, security, teardown and troubleshooting. docs/claw-e2e.md adds a memory step with expected output. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * feat(agent-toolkit/claw): add sandbox, GitHub and web access for agents - mcp/sandbox.py runs execute_python, execute_shell, install_package and reset_sandbox in the agent's own agent-sandbox pod, keyed by the token's azp. Claims carry a renewed lease; idle sessions end; a restarted server adopts its claims and sweeps orphans; commands are shell-quoted. - mcp/github.py serves issue, branch, commit and pull-request tools. It uses the agent's own PAT from its identity proxy, else a shared token. Pull requests always open as drafts. Owner, repository and ref names are validated and file paths quoted, so an argument cannot reach another API path. Tokens are never returned or logged. - mcp/auth.py holds the token verification all three servers share. - web_fetch_proxy.py enforces spec.webFetchAllowlist from the operator image. It refuses private and cluster addresses, forwards every method as itself, closes upstream connections and allows CONNECT only to 443. Its egress is the corporate proxy port, or public HTTP(S) when no proxy is set. - The allowlist schema accepts only domain names or "*". - The mcp-server chart can grant a server a Role in another namespace. The MCP servers do not check for package updates. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * feat(agent-toolkit/claw): install the sandbox and GitHub servers roles/mcp_servers now also installs the sandbox server, when agent-sandbox is present, and the GitHub server. Every server gets the Keycloak settings and its own audience. For sandboxes it creates: - a claw-sandbox-template with cluster DNS, a writable HOME, and egress to public HTTP(S) or the corporate proxy; - the empty claw-agent-pool that claims come from; - a copy of the router token; - a Role that lets the operator delete an agent's claims. Teardown removes all four. roles/agent_operator enables the per-agent web-fetch proxy and passes the platform's http_proxy, https_proxy and no_proxy to it. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * docs(agent-toolkit/claw): document sandbox, GitHub and web access Describe the sandbox, GitHub and web-fetch tools, the agent fields that control them, the shared GitHub token, configuration, security and troubleshooting. docs/claw-e2e.md adds a step that runs code and fetches an allowlisted page. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * fix(agent-toolkit/claw): refuse '..' and empty segments in GitHub file paths get_file_contents and commit_file quoted the path with urllib.parse.quote, which keeps '/' and '.'. requests then collapses dot segments, so a path like '../../../../repos/o/r/pulls/1/merge' reached another GitHub API endpoint (commit_file sends a PUT, which merges the pull request) with the agent's or the shared token. Paths with empty, '.' or '..' segments are now refused before any GitHub call, and each segment is quoted with safe=''. * feat(agent-toolkit/claw): add the agent REST API Add agent-backend, the REST API for claw agents: create, list, patch, suspend, resume and delete Agent resources, share them with time-limited AgentGrants, chat with them, and read their provisioning status. Each request is authorized in layers: - the Keycloak token is verified (signature, issuer, audience); - the realm role allows the verb; - the token's agent:* scope allows its use; - the caller owns the agent, holds a live grant from the owner, or is an admin who states a break-glass reason. Without access an agent is 404. Every write, denial and break-glass use is audited to the log and to a month-partitioned table in pgvector, and a CronJob drops whole months past retention. The backend has no statement that removes an audit row. The image is built from a lockfile on Node 24, with its tests as a build gate. The chart publishes the API on the platform gateway. A route-level JWT policy guards it, and only the gateway may reach it. A ValidatingAdmissionPolicy limits the API's Secret creation to its own Opaque Secrets in agent namespaces. The operator now: - keeps a PodReady condition; - binds the API a Secret role in each agent namespace only; - admits the API to the agent gateway. The Tool resource gains allowedRoles. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * feat(agent-toolkit/claw): add the agent_backend component roles/agent_backend configures the agent realm with kcadm in the Keycloak pod: - the composite roles agent-viewer < agent-editor < agent-admin < platform-admin, the first two by default; - the agent:* client scopes; - a confidential client for scripts, whose tokens carry the agent-backend audience and name the user that owns their agents. It then builds the image, installs the chart, validates the route and its policy, and tears all of it down again. roles/claw_image now packs the build context with a deterministic tar that leaves out local build output. That output therefore never reaches the image, its tag or the upload. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * docs(agent-toolkit/claw): document the agent REST API Describe the API, how to get a token for scripts, its routes and the role, scope, grant and break-glass checks, auditing, configuration, security and troubleshooting. docs/claw-e2e.md walks through creating, sharing and chatting with an agent over the API. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * fix(agent-toolkit/claw): send the Keycloak admin password to the realm scripts on stdin The agent_backend role passed the master admin password to its Keycloak scripts as an exec argument, and the scripts passed it on to kcadm --password. It was therefore part of the pods/exec request (recorded when API-server auditing is on) and visible in the Keycloak pod's process list while the scripts ran. The role now sends the password over stdin, the scripts read it into KC_CLI_PASSWORD, which kcadm uses when --password is not given, and their remaining arguments move up by one. * fix(agent-toolkit/claw): refuse API tokens whose email is not verified Agent ownership and grants are matched on the token's email claim, and Keycloak lets users edit their own email by default. Without a check on email_verified, a user could set an address that still owns agents or holds a grant (for example a deleted user's) and act as that owner. Tokens whose email_verified is not true are now refused with 401, and the docs say to verify users' emails or turn on email verification. * fix(agent-toolkit/claw): give the API client's tokens email_verified as a string The agent dashboards' gateway policy can match only string claims, and Keycloak sends email_verified as a boolean. A user-property mapper on the agent-api client adds email_verified_string, so scripts calling an agent's dashboard route can pass the verified-email check. * Let the backend create Secrets only in namespaces the operator made for agents The admission policy accepted any namespace whose name starts with "agent-", which includes the platform's own agent-operator-system and agent-sandbox-system. It now also requires the operator's managed-by label, which only agent namespaces carry. * feat(agent-toolkit/claw): add the browser console and agent dashboards Add agent-console, a Next.js console served at / on the agents host. Users sign in through the platform gateway, then create, edit, share, suspend, resume and delete agents, and open each agent's OpenClaw dashboard and chat. Sign-in is Envoy Gateway's OpenID Connect filter. One SecurityPolicy covers the console and the API, so a browser session reaches both. API calls get a 401, not a sign-in page, when the session ends. Scripts keep using bearer tokens. The operator gives every agent a route at /gw/<owner ns>/<agent>/: - an HTTPRoute and SecurityPolicy, plus a ReferenceGrant in the agent namespace; - sign-in, token verification, and an authorization rule that admits only the owner and live converse grantees whose token carries agent:converse; - the verified email passed to the agent as x-gw-user, with the user's token and cookies stripped. Grant changes apply at once; expiry within half a minute. The agent gateway runs in trusted-proxy mode under that route, with its Control UI at the route's base path. The NetworkPolicy admits the platform gateway to the agent gateway. The API no longer proxies chat or reads, rotates or reveals any agent's gateway token: those routes, the credential capability and the agent:token scope are removed, along with the unused delegate capability and grant tool subsets. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * feat(agent-toolkit/claw): add the agent_console component roles/agent_backend now also creates the console's sign-in client (authorization code with PKCE, callbacks for the console and the agent dashboards, the agent:* scopes by default). It stores the client's secret for the gateway and routes / to the console. roles/agent_console builds the console image and installs it, validates it, and tears it down. roles/agent_operator configures the per-agent dashboard routes and the addresses the agent gateway trusts. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * docs(agent-toolkit/claw): document the console and agent dashboards Describe the console, signing in, the per-agent dashboard and chat routes and who they admit, the trimmed API, configuration, security, teardown, troubleshooting and limitations. docs/claw-e2e.md adds a console walkthrough and updates the chat steps. Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Gurunath S <gurunath.s@intel.com> Signed-off-by: Gurunath S <gurunath.s@intel.com> * fix(agent-toolkit/claw): read the Keycloak admin password from stdin in the console script keycloak-console.sh still took the admin password as its third argument and passed it to kcadm --password. It now reads it from stdin into KC_CLI_PASSWORD like the realm scripts, and its remaining arguments move up by one. * fix(agent-toolkit/claw): require a verified email on the agent dashboards The dashboard policy matched only the email claim, so a user who set an unverified address that owns an agent or holds a grant could open its dashboard. The console client now carries email_verified_string (the policy cannot match Keycloak's boolean claim), and each agent's policy requires it to be "true". * fix(agent-toolkit/claw): stop cross-site requests from using the console session The API accepts the browser's session through Envoy, which left the OIDC cookies' SameSite unset, and nothing checked where a request came from. A form posted from another site could therefore suspend or resume a signed-in user's agents. The console and dashboard policies now set SameSite=Lax on their cookies, and the API refuses state-changing requests whose Origin is another site (or null) or that the browser marks cross-site. Scripts, which send no Origin, are unaffected. * Write the agent's gateway policy before its route, and drop the route if the policy fails The route, policy and grant were written in that order with the results ignored, so a failed policy write left a route that reached the agent without sign-in. The policy now goes first; the route and grant follow only if it was written, and an existing route is deleted otherwise. * Close an open agent dashboard after a session limit, so a revoked user loses it Envoy checks the dashboard policy only when the websocket opens, and the dashboard rule has no timeout, so a revoked or expired user kept an open dashboard indefinitely. Each agent now gets a BackendTrafficPolicy that caps streams on the dashboard rule (claw_dashboard_session, 5m by default); the dashboard reconnects through the policy, where a revoked user is refused. The chat rule is not capped. * Require the agent-viewer role on the agent dashboards The dashboard policy checked only the scope and the email, so a user whose agent roles were removed could still open a dashboard they had been granted. The policy now also requires agent-viewer (or a role that includes it) in the token's realm roles, the least role the API needs. The docs also say when a revocation reaches an open dashboard. * fix(agent-toolkit/claw): turn the in-cluster image registry back on Claw builds its images and pushes them to Kubespray's registry add-on. The setting came from the migration base and was lost when this branch moved to feature/openclaw-base, so a fresh install fails at 'claw_image | Find the in-cluster registry'. It stays on even with claw off: it only applies when Kubespray provisions the cluster. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(agent-toolkit/claw): start BuildKit with the runc containerd uses On a single-node install Kubespray puts runc in its own bin_dir, which is not on PATH, so buildkitd exits with 'failed to find runc binary' and the claw image never builds. Take the runc named in containerd's config, fall back to PATH, and pass it with --oci-worker-binary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Signed-off-by: Gurunath S <gurunath.s@intel.com> Co-authored-by: Vinay Kumar <vinay3.kumar@intel.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Summary
docs/notes with a task-oriented guide set. The index opens with an "I want to…" table, then groups pages by first install, other deploy paths, configuration, connecting an application, and failures../toolkit_manager.shfromintel/toolkit-manager, branchrelease-1.2) installs the cluster and the stack. The lead no longer limits the product to Intel® Xeon® or to a time claim.init agent-toolkit,init inference, andinit erag.rayproject/ray:2.40.0-py312, dashboard athttps://ray.<base_domain_name>/).CONTRIBUTING.md.