Run AI steps with an Agentic worker¶
Use an AI task when a business process needs a model's answer before it continues. For example, a workflow can summarize a support request, then give that summary to a person for review. You define the expected result; Weave accepts the answer only if it satisfies that contract. When the model must call tools and read their results before it answers, use an AI agent step; its turns run on the same worker (Serve AI agent turns).
Use Weave AI when you, the person using Studio, want an explanation or a proposed definition change. Weave AI has separate configuration and does not execute workflow AI tasks.
The examples here use Weave 0.1.0a19 and the 0.1.11 Agentic worker package,
whose core dependency is
pinned to that Weave version. The catalog references below retain their own
1.0.0 definition and task versions.
Run AI tasks on a local model with Ollama¶
On the Docker development platform, one command sets up everything an AI task
needs to run on a model on your computer: the AI gateway, the Agentic worker, the
AI policy, the development-only private-origin entries for the model endpoint and
an ollama-local connection that uses no credential.
# Development only: run Ollama in a Weave-managed container and pull a small model.
weave platform ai enable --ollama container --model qwen2.5:1.5b --yes
Run AI tasks with Ollama covers the modes, the models and the error codes. The rest of this guide covers providers you deploy yourself.
Follow one AI task from authoring to completion¶
Open the workflow lifecycle diagram at full size. Read the numbered cards from top to bottom:
- The author describes the work. A step names a workflow AI profile and supplies a prompt and context. The profile specifies the provider, model, limits, and schema of the expected answer.
- The administrator makes execution possible. Published definitions, an admitted worker release, an authorized connection revision, and the appropriate grants must be available. Activation pins the execution resources.
- Weave creates a durable task. When the run reaches the AI step, it waits for a worker to claim a lease. The worker receives the pinned task context and requests credentials through the lease-scoped API.
- The worker calls the provider. An independently deployed Agentic process checks its operator policy and applies the configured call and time limits.
- Weave checks completion. A current lease and a valid result are required. A malformed answer cannot silently become successful workflow output.
- The run continues with accepted evidence. Later steps can use the answer. Replay uses that accepted result; it does not ask the model to generate it again.
The AI step resolves its named spec.llmProfiles entry at compilation. Its
canonical Action is weave-agentic-generate@1.0.0; the Action delegates to the
worker task capability weave-agentic.generate@1.0.0. These two identifiers serve
different purposes: select the Action in the workflow and grant the task
capability to the worker.
The Weave server never imports Agentic or contacts a model provider. The worker
source and locked environment are in workers/agentic. This independent Python
3.13 process uses Firefly Agentic 26.9.0, pinned to the verified v26.09.0 release
wheel and its SHA-256. Weave retains its Python 3.12 server requirement.
Agentic worker 0.1.5 uses the alpha13 SDK. Its installed task protocol was checked
against an unchanged alpha12 API, including recovery from explicit admission
capacity rejections before the model starts. That check used a simulated model.
A separate Azure acceptance completed one new workflow with gpt-4o-mini through
azure-chat: one model request returned the expected {"ok": true} result, and
replay was consistent. Replay did not verify authorization. The API, Weave AI and
Operations services remained on alpha12 with schema 0030; no new Weave AI call was
made. This verifies the tested deployment, not general compatibility between
different versions or providers. See alpha13 verification
for the exact scope and the separately retained alpha12 acceptance evidence.
Set up the responsibilities before authoring¶
Open the configuration roles diagram at full size. One person can perform several roles, but each configuration still has a separate purpose and authorization boundary.
| Person | What they configure | What it makes possible |
|---|---|---|
| Deployment operator | Worker process, identity, exact model/endpoint policy, network access, and scoped secret grants | A trusted service can reach Weave and an approved model provider. |
| Environment administrator | Published Connector and Action, provider connection, worker release, worker grants, and activation bindings | The chosen worker can execute the exact task using the chosen connection revision. |
| Workflow author | Workflow AI profile, prompt, context, output schema, and connection slot | The definition describes what to ask and how later steps can use the answer. |
Secret provisioning is an operator step. A connection stores an apiKey
handle, not the API key itself. The operator maps that handle to a secret in
WEAVE_SECRET_GRANTS, scoped to the tenant, project, and environment. The API
loads that grant list at startup; adding or changing a grant requires an API
restart or deployment rollout. Mounted secret-file contents are resolved when
used, which is separate from changing the grant list. Follow
Give integrations their secrets
for the supported file and environment providers. Saving a handle in Studio does
not provision its secret or grant access to it.
AI connections are created and tested in Studio's Settings › AI models. The
same AI connection side sheet opens from Build › Connections › New AI
connection and from an AI task's connection step. Choose a provider and one of
the platform's approved endpoints; a custom address must use https://, and plain
http:// works only for an address a platform operator approved. Cloud providers
take a Secret handle, never the key itself, and the sheet shows the
weave platform secret set --handle HANDLE command that stores the key. Azure
also needs its API version. The worker or Weave AI gateway must still allow
the saved endpoint; saving a connection does not change endpoint policy.
A saved connection has passed validation only. Test connection in the side sheet sends one request through the AI gateway to the model you choose and says whether it answered and can call tools; the model list shows the platform's approved models that the provider serves. Workflow AI profiles and Weave AI choose their own model or Azure deployment on the approved connection.
Hosting Weave in Azure does not select an AI provider. The Azure operator still deploys the worker, supplies its configuration and token file, permits its network traffic, and sets up the API's secret grants. An Azure model endpoint is one provider choice; an Azure-hosted Weave API can also use another supported, explicitly approved provider. Worker deployment and model choice are independent. See deployment for service identity and worker release provisioning.
Author your first AI task¶
After the administrator has prepared the environment:
- Add an AI task in Studio and select the canonical AI Action from the connected catalog. If it is missing, the administrator must publish it first.
- Open Configure workflow AI profiles and create a named profile. The first
fields choose the provider, model and maximum response tokens. Describe the
expected result with the schema designer. Advanced model settings contains
optional generation controls, reasoning strategies and execution limits.
Start with the
nonereasoning pattern for a single structured answer. - Select that profile on the step. A name such as
summarizeris local to this workflow; it is not a provider credential or a Weave AI setting. - Supply the prompt (the instruction) and context (the data to use). Map only the input or earlier step data needed for this task. The provider receives these values, so omit credentials and unnecessary sensitive data.
- Choose the connection slot. The slot declares the provider Connector; activation binds it to an authorized environment connection revision.
- Validate the workflow, resolve readiness problems, then publish and activate through the normal workflow process. Starting a run is a separate action.
Studio checks model settings against the same profile contract as the API before allowing you to continue. Errors such as a per-call timeout longer than the total step timeout must be corrected first. This is a configuration check, not proof that the selected model is approved or reachable. Expanding or collapsing advanced settings preserves edits; clearing an optional control omits that value. Weave AI uses the same basic and advanced presentation for its separate profile.
The AI task inspector reference explains the
Studio controls. The following complete source example summarizes a supplied
text into a typed string result. gpt-4o illustrates an explicit model ID; replace
it with a model approved and available in your deployment, and update the
worker policy to match.
apiVersion: weave/v1alpha1
kind: Workflow
metadata:
name: summarize-request
version: 1.0.0
spec:
inputSchema:
type: object
properties:
text: {type: string}
required: [text]
additionalProperties: false
outputSchema: {type: string}
connections:
ai-provider:
connector: weave-agentic-provider@1.0.0
llmProfiles:
summarizer:
provider: openai-chat
model: gpt-4o
options:
max_tokens: 256
reasoning:
pattern: none
maxCalls: 1
timeoutSeconds: 60
outputSchema: {type: string}
steps:
- id: summarize
kind: llm
uses: weave-agentic-generate@1.0.0
profile: summarizer
connection: ai-provider
prompt:
literal: Summarize the supplied text in one sentence.
context:
ref: /input/text
output:
ref: /steps/summarize/output/result
Here summarizer selects the profile, ai-provider selects the connection slot,
and /steps/summarize/output/result selects the validated model answer. The
step's full output also includes provider, model, and usage metadata. Compiling
this example requires the canonical Connector, Action, and worker task catalog;
a source-valid profile alone does not prove that a worker or credential is ready.
The compiler may report WV-COMP-UNKNOWN_COMPATIBILITY for the generic AI Action
input contract. Runtime validation of the pinned profile and answer still applies;
the example does not disable that validation.
The remaining sections walk the operator and administrator through that setup.
Install and export the catalog¶
From the repository root:
uv sync --project workers/agentic --locked --python 3.13
workers/agentic/.venv/bin/weave-agentic-worker --catalog > agentic-catalog.json
workers/agentic/.venv/bin/weave-agentic-worker --release-manifest > agentic-release.json
The catalog contains weave-agentic-provider@1.0.0, two worker Actions, and
their exact task capabilities: weave-agentic-generate@1.0.0 runs AI tasks on
weave-agentic.generate@1.0.0, and weave-agentic-turn@1.0.0 runs each turn
of an AI agent step on weave-agentic.turn@1.0.0.
The release manifest declares both tasks and both credential capabilities.
Complete these operations in order:
- Register the worker release with its image digest and the exported task and credential capabilities. This makes the tasks available to the compiler.
- Publish the Connector and then the Actions through the normal definition APIs.
Publishing an Action before admitting its task returns
WV-COMP-UNKNOWN_TASK. - Create the provider connection described below, then use the worker connection grant API to authorize the release and task capability for that exact revision.
- Activate the workflow with explicit worker-release and connection-revision pins.
A published definition, an admitted worker release, and a running worker are separate prerequisites. Completing one does not automatically complete the others.
The AI task's Action is non_idempotent and allows one attempt. A provider
request can incur charges even when its result is lost. Weave fences completion
and preserves accepted results for replay; it cannot promise exactly one provider
request after an ambiguous network failure. The turn Action is idempotent with
three attempts; see Serve AI agent turns.
Configure the provider connection¶
In Studio, open Settings › AI models and choose Connect on a provider
card. The same side sheet opens from Build › Connections › New AI connection
and from the AI task's connection step. Creating a connection needs
connection.manage in the environment; people with only connection.bind see
AI connections read-only.
- Provider and Endpoint: pick the provider and one of the approved endpoints the platform lists, or Custom address… for an approved proxy or compatible service. For OpenAI and Azure OpenAI choose the API style; for Azure also enter the API version.
- Connection name: a name that identifies the account or purpose.
- Secret handle: for cloud providers, the handle the operator maps to the key, never the key itself. Local endpoints use no credential.
- Select Save connection. Studio restricts allowed destinations to the endpoint's origin, and the operator's worker policy must also permit it.
- In Test a model, choose a model and select Test connection. The result says whether the model answered and whether it can call tools; Show details lists the error code when it did not. Complete the worker release and credential grants (the Readiness checklist's Publish and Authorize) before binding the connection to an executable workflow.
The API also publishes the canonical provider Connector and both AI Actions for
you: ai_setup.publish (definition.publish at project scope) publishes the
exact built-in versions, and repeating it returns the same version IDs. It needs
an admitted Agentic worker release in the project that serves both tasks first;
otherwise it answers 422 WV-AI-WORKER-MISSING. After the connection exists,
ai_setup.grant (connection.manage) authorizes each admitted Agentic release
in the environment to use its credential for each task whose credential
capability it declares, skipping pairs that already exist. See AI discovery, readiness, and setup.
For API clients, create a connection for the published provider Connector with this configuration:
Set secretRef.apiKey to the existing secret handle and add the endpoint's
origin, for example https://api.openai.com, to allowed_destinations. Azure
connections additionally require an explicit apiVersion, such as the version
approved for your deployment. The supported provider selectors are
openai-chat, openai-responses, azure-chat, azure-responses, and anthropic.
Model IDs and Azure deployment names are supplied explicitly.
The server validates this configuration without provider I/O. A connection test
(weave connections test ID) calls one model through the AI gateway when the
platform has one: the first approved model the endpoint lists, because this test
names none. It uses the connection's credential (none for a keyless connection)
and no tool probe; without a gateway it reports failure rather than claiming a
provider check. The ai_connections.test operation (connection.manage) tests the
model you name, reports the answer time and whether the model can call tools, and
never returns the model's text. AI connection tests, dedicated or generic, share a
limit of six per minute per person and answer 429 WV-AI-RATE-LIMITED beyond it;
the other problem codes are in
Run AI tasks with Ollama. A successful AI
task remains the end-to-end check of the worker and the result contract.
A connection may use http:// only for an origin that the platform's
private-origin policy approves for model calls with no credentials, such as a
local Ollama. Such a connection sets secretRef.apiKey to the reserved handle
no-credential, which is never resolved, leased, logged or sent.
To choose a connection for an AI task slot, list
bindable_connections.list?connector=weave-agentic-provider%401.0.0. It needs
connection.bind, not connection.manage, and returns only the revisions you
may bind, with their provider and endpoint origin but no configuration or
secret handles.
Apply the worker's model and endpoint policy¶
Mount an AI policy file owned by the operator. The worker reads it from
WEAVE_AGENTIC_POLICY_FILE and the AI gateway from WEAVE_LUMI_POLICY_FILE; both
read it again when it changes, so edits need no restart. A file that becomes
invalid stops every model call with LLM_POLICY until it is fixed.
Mount the same file on the API with WEAVE_AI_POLICY_FILE (an absolute path) so
that clients can list the approved endpoints and models, and so that a new
activation of a workflow with AI task (llm) steps is checked before it is
created: a step whose provider differs from its connection's provider answers
422 WV-ACTIVATION-AI-PROVIDER, and a model the policy does not approve for the
connection's exact endpoint answers 422 WV-ACTIVATION-AI-MODEL. While the
mounted file cannot be read, activations with AI task steps answer 503
WV-AI-POLICY; other activations are not affected. Without the setting,
activation does not check AI steps and the worker remains the only judge.
Activations created before a policy change keep running, and the worker still
refuses their calls with LLM_POLICY when the model is no longer approved.
{
"version": 2,
"endpoints": [
{
"id": "openai",
"label": "OpenAI",
"url": "https://api.openai.com/v1",
"providers": ["openai-chat", "openai-responses"],
"credential": "required",
"models": ["gpt-5-mini", "gpt-5"],
"contextTokens": 128000
}
]
}
| Field | Meaning |
|---|---|
id, label |
A short identifier (lowercase letters, digits and hyphens) and a display name; each endpoint's identifier and URL appears once |
url, providers |
The exact endpoint URL connections store, and the providers it serves |
credential |
required (the connection's secret handle is leased) or none (no credential is ever sent) |
models |
Exact model names, or served for any model the endpoint lists (only for an origin the private-origin policy approves) |
contextTokens |
The context window; a prompt that cannot fit fails with LLM_CONTEXT_LIMIT before any request |
maxOutputTokens |
The largest options.max_tokens a step may ask for; larger values fail with LLM_OPTIONS |
compat |
ollama for an Ollama endpoint, otherwise omitted |
structuredOutput |
How the endpoint returns structured results: tool (the default), native (the default for compat: ollama) or prompted. A text result (a string schema whose only keywords are type, minLength, maxLength, title and description) is always asked for as plain text: closed <think>…</think> reasoning blocks are removed wherever they appear, surrounding whitespace is trimmed, and an answer cut off at the output token limit fails with LLM_LIMIT. When an endpoint refuses a native response format, the worker asks once more with the format in the prompt; that refused request counts against the step's model calls |
caBundle |
An absolute CA file for a private HTTPS endpoint |
The model names above illustrate the format; use models available to your provider account. A workflow cannot set a provider URL, secret value, custom tool class, or arbitrary model settings. Every task must satisfy the deployment policy and its bound connection's destination list. Configure the worker's network policy to allow only those provider destinations and Weave.
The policy never grants network access. Plain HTTP and private addresses are
reachable only through an exact entry of the private-origin policy
(WEAVE_PRIVATE_ORIGINS_FILE) with purpose: model, and a plain HTTP endpoint
must use credential: none: Weave never sends a model credential over plain
HTTP, and public model endpoints are always reached over HTTPS. A version 1
policy ({"models": [{"provider", "model"}], "endpoints": [url]}) still approves
exactly the pairs it lists; the worker and the AI gateway log a warning to migrate it.
The provider clients disable environment proxies, redirects, and automatic SDK
retries, connect only to addresses the private-origin policy allows, check the
socket peer before sending, and send only model paths (never Ollama's pull or
delete routes). Model options are checked by the pinned Agentic ModelOptions
and provider settings resolver. Unsupported options fail before credential
lookup; they are not silently dropped.
Start the worker¶
Provide these explicit deployment settings:
| Setting | Value |
|---|---|
WEAVE_API_URL |
Weave API origin |
WEAVE_ENVIRONMENT_URL |
Scoped /api/v1/tenants/.../projects/.../environments/... path |
WEAVE_WORKER_RELEASE_ID |
Admitted worker release UUID |
WEAVE_WORKER_TOKEN_FILE |
Mounted worker access-token file; use this or OAuth configuration, never both. |
WEAVE_WORKER_OAUTH_CONFIG_FILE |
Mounted client-credentials configuration JSON; alternative to the access-token file. |
WEAVE_AGENTIC_POLICY_FILE |
Mounted policy JSON file |
WEAVE_AGENTIC_CAPACITY |
Concurrent tasks, AI tasks and agent turns together, 1 to 16; default 1, the right value for one local Ollama |
WEAVE_PRIVATE_ORIGINS_FILE |
Mounted private-origin policy; plain HTTP to the API or the token endpoint needs its platform-api and worker-auth entries |
Choose exactly one authentication mode:
- Access-token file: the operator refreshes
WEAVE_WORKER_TOKEN_FILE; each HTTP request reads the current token. - OAuth client credentials: set
WEAVE_WORKER_OAUTH_CONFIG_FILEto an operator-owned JSON file with the four fields below. The worker obtains and renews its own short-lived access token from the configured identity provider.
{
"token_endpoint": "https://login.microsoftonline.com/YOUR_TENANT_ID/oauth2/v2.0/token",
"client_id": "YOUR_WORKER_APPLICATION_ID",
"scope": "api://YOUR_WEAVE_API_APPLICATION_ID/.default",
"client_secret_file": "/run/secrets/worker-client-secret"
}
This illustrates Microsoft Entra ID's client-credentials configuration. Use your
actual tenant, registered worker application, API scope, and mounted secret file.
The worker identity must already be trusted and linked to a Weave application
principal with the required grants; acquiring a token does not create authority.
This machine credential authenticates to Weave, while the provider
connection's apiKey authenticates to the model provider.
OAuth configuration is fixed when the worker starts. The client secret is read
again on token acquisition, and a cached token is refreshed before its reported
expiry. Acquisition is bounded to ten seconds, ignores environment proxies,
does not follow redirects, and does not retry. Tokens are attached only to the
configured Weave API origin, which must use HTTPS unless an exact platform-api
private-origin entry lists it. A refused API request is not replayed after
refresh, which avoids silently repeating a state-changing operation.
The worker principal needs only its task/credential grants. The worker registers
one instance for both tasks, with the capacity WEAVE_AGENTIC_CAPACITY sets (one
by default), and drains on SIGTERM or SIGINT. Lease renewal failure cancels the running model
call. No database or administrator credentials are needed.
Or build the independent image from the repository root:
Run it with the environment settings and read-only mounted policy and authentication files. The image runs as UID 65532; make those files readable by that UID. It uses the separate locked Python 3.13 environment and does not change the server image.
Serve AI agent turns¶
The same worker runs the model turns of AI agent steps;
no other setting turns them on. Each turn is one weave-agentic.turn@1.0.0
task: the worker sends the transcript and the step's tools to the model in one
request, or two when a text answer must become the step's structured result, and
returns the model's tool calls as written, or its final answer. The worker never
runs a tool. The platform checks each call and runs the tools as their own
tasks, child runs, or human tasks, so the workers behind an agent's tools need
their own capacity. The worker protocol
describes a turn's input and output.
A turn passes the same checks as an AI task before any request: the AI policy,
the connection, the egress destination, the options, and a credential only when
the policy entry requires one. A turn that offers tools needs a model that can
call them; a model that can't fails the turn with LLM_NO_TOOL_SUPPORT.
Retries. The turn Action is idempotent and has three attempts within 600
seconds. Recovery retries a turn whose lease was lost or that failed with
LLM_UNREACHABLE, LLM_TIMEOUT, LLM_RATE_LIMITED, or LLM_CAPACITY, with
the same input. Each attempt can call the provider and incur charges. A turn
that fails for good goes to the agent's On error setting, or stops the run at an
incident; see
AI agent incidents.
Capacity. WEAVE_AGENTIC_CAPACITY counts AI tasks and turns together. One
agent sends one turn at a time, and only its tool calls run in parallel, so the
capacity you need is the number of AI tasks and agents you want answered at
once. Keep 1 for a local Ollama, which serves one request at a time. A turn's
600 seconds start when the agent issues it, so time spent waiting for a free
slot is time the model can't use, and a turn that nobody claims before then
fails with WV-TASK-DEADLINE.
Reasoning, limits, and results¶
Model reasoning effort (options.reasoning) is separate from the orchestration
pattern (reasoning.pattern). The patterns are none, react,
chain_of_thought, plan_and_execute, reflexion, tree_of_thoughts, and
goal_decomposition. They run without user-defined tools or persistent memory.
Each invocation constructs a new agent; workflow and assistant configurations
must be authorized separately.
options.max_tokens limits each model response. maxCalls bounds all model
calls across a reasoning pattern and its final structured answer. timeoutSeconds
bounds the entire task handler, including connection and credential lookups.
The worker additionally rejects provider-reported output usage above
maxCalls * options.max_tokens. Provider-reported token limits are checked after
responses; they are not an exact advance guarantee of billed input tokens.
reasoning.maxSteps bounds pattern iteration; a shared call budget also bounds
patterns that fan out. Tree of thoughts uses two candidate branches.
After reasoning, one final call synthesizes the declared result through a structured output schema. This call uses the same request and time budget. Without a reasoning pattern, there is only the structured answer call. Any internal provider failure prevents completion, even if a pattern returns a partial result. The result must pass Weave's bounded schema validator.
The only completion payload is:
{
"result": {"approved": true},
"usage": {"requests": 2, "inputTokens": 120, "outputTokens": 40},
"provider": "openai-chat",
"model": "gpt-4o"
}
Raw reasoning traces, provider response objects, credentials, and exception text
are not returned or logged. The worker disables framework/provider content logs
and reports safe failure codes such as LLM_MODEL_NOT_FOUND, LLM_UNREACHABLE,
LLM_LIMIT, LLM_TIMEOUT, and LLM_OUTPUT; the full list, with what to do, is in
Run AI tasks with Ollama. Responses API
storage is disabled.
Accepted results are durable workflow data. The profile's outputSchema is
part of the pinned result contract: a result containing an x-secret or
writeOnly value is rejected before its value or output hash enters history.
The run opens an incident with WV-SCHEMA-SECRET_VALUE. Manual reconciliation
uses the same profile contract; it cannot admit the rejected secret. Simulation
mocks also pass that contract before being stored, and history exports apply
the profile's classification defensively.
This guarantee applies to declared classifications. It does not detect undeclared sensitive text. Keep credentials in connection secret slots, and declare confidential result fields in the profile schema. Provider handling of prompts and responses still follows the operator's provider agreement.
Verify the worker¶
Tests execute real Agentic patterns with deterministic fake models, verify all five provider constructors, and exercise the real Weave SDK worker through mocked HTTP lease/context/credential/completion endpoints. These checks do not establish live model availability or provider account permissions. The platform integration tests additionally activate the canonical catalog, claim a real database-backed task, enforce the pinned credential grant, and verify completion, output guards, replay, and classified-result rejection.
A separate Azure preproduction check on alpha10 used real Microsoft Entra ID application tokens and an independently deployed Agentic worker to complete an Azure OpenAI workflow. Its accepted result replayed consistently. This verifies that configured deployment and model path; it does not certify other providers, models, environments, or interactive Entra sign-in for people.
Check readiness one layer at a time¶
| What you see | What to check next |
|---|---|
| The AI Action is missing from Studio | Publish the canonical Connector and Action in the connected catalog. |
| The profile or connection slot is invalid | Check the named llmProfiles entry, provider match, required options, and connection requirement. |
| A connection handle exists but credentials are unavailable | Ask the operator to check the exact environment-scoped secret grant and secret source; a new grant needs an API rollout. |
| Activation cannot bind a worker or connection | Check the admitted release, task capability, worker authority, and exact connection-revision grant. |
| The task waits without being claimed | Check that the independently deployed worker is running, authenticated, and has capacity for its admitted release. |
Readiness reports worker_missing, or ai_setup.publish answers WV-AI-WORKER-MISSING, although a worker runs AI tasks |
The admitted release predates AI agents: admit a worker release that serves weave-agentic.turn@1.0.0 as well as the generate task. |
| An AI agent's turns wait while AI tasks run | Raise WEAVE_AGENTIC_CAPACITY within what your model endpoint can serve; see Serve AI agent turns. |
| The call fails with a safe LLM error | Check the allowed model/endpoint, provider access, output contract, and configured budgets. A connection test calls the model through the AI gateway. |
Activation answers WV-ACTIVATION-AI-PROVIDER or WV-ACTIVATION-AI-MODEL |
Match the step's provider to the connection, or ask the operator to approve the model for that exact endpoint in the API's policy. |
| You are not sure which layer is missing | Read ai_readiness.read: eight ordered checks from the admitted worker release to the last AI test, each with a safe detail code and, when you may run it, the operation that fixes it. |
To pass results between AI steps in one workflow execution, follow Share context between AI steps. Context is explicit workflow data; it is not a persistent conversation shared by unrelated runs.
For assistance while editing, continue with Weave AI. Enabling Weave AI is a separate setup; it neither starts this worker nor changes any workflow profile.