Agent Workflow Operation
SkillAI & modelsUse when verifying that a bootstrapped NPA agent VM can create, validate, plan, provision for, or run npa.workflow YAMLs.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Agent Workflow Operation skill
What this skill tells your AI
The instructions your AI receives, as published by nebius/nebius-physical-ai in skills/workflows/agent-workflow-operate/SKILL.md and read by ahel’s review.
Operating Model
- The workflow operation contract is provider-neutral. The caller owns any
reasoning system it uses; NPA does not select or require a model for draft,
validation, planning, provisioning, submission, or observation. See
docs/workbench/agent-workflow-operations.mdfor the bounded command journey. - Dev/operator VM is the source of truth for NPA lifecycle, auth, SSH keys,
and agent records. Run
npa agent fresh-setup,bootstrap,status, andverify-livethere. - NPA agent VM is the autonomous workbench execution surface. After
bootstrap, it must have staged
~/.npa/config.yaml,~/.npa/credentials.yaml, Nebius CLI/profile or token material, and the NPA checkout needed to validate, plan, provision, and run workflow YAMLs. - Do not use the dev VM full pytest suite as the acceptance test for agent autonomy. The relevant check is whether the agent VM can operate workflows with its bootstrapped config.
Test Framework
Run the framework by SSHing from the dev VM into the active agent VM using the agent record SSH key. Do not print credential files or secret values.
-
On the dev VM, resolve the active agent:
npa/.venv/bin/npa agent status --project <project> --name <name> --json -
From the dev VM, SSH to the agent public IP with the recorded key and create a temporary
apiVersion: npa.workflow/v0.0.1YAML. Use a known catalogtoolRefsuch asworkbench.vlm_eval.runand include all config tokens required by the tool template, includingvlm_backend. -
On the agent VM or through the agent API, validate and plan:
npa/.venv/bin/npa workbench workflow validate-spec /tmp/spec.yaml --json npa/.venv/bin/npa workbench workflow plan-spec /tmp/spec.yaml --run-id agent-smoke --json npa/.venv/bin/npa workbench workflow run-spec /tmp/spec.yaml \ --run-id agent-smoke --plan-only --scheduler-plan --jsonEquivalent API checks:
GET /api/infra/k8s POST /api/infra/provision POST /api/workflows/validate POST /api/workflows/plan POST /api/workflows/submit -
Check K8s provisioning readiness from the agent VM:
npa/.venv/bin/npa provision-if-absent --project <project> --dry-run \ --output-format json -
If the operator explicitly requests live execution, let the agent use
POST /api/workflows/submitorPOST /api/infra/provisionso NPA provisions Kubernetes as needed through normal NPA commands. Do not manually create, delete, or mutate cloud resources outside NPA. -
Inspect or stop only through bounded NPA workflow operations. Prefer
status --json,logs --cached --max-output-chars 32768 --json, andartifacts --json; cancel the run before any separately authorized cluster teardown. Never expose backend commands or state paths to the calling agent.
Pass Criteria
- Agent VM SSH works from the dev VM with the recorded key.
- Agent VM has non-empty bootstrapped
~/.npa/config.yamland~/.npa/credentials.yaml; do not print contents. validate-specreturns JSON withstatus: valid.plan-specreturns at least one planned step with the expectedtool_ref.run-spec --plan-only --scheduler-planreturns scheduler output without requiring real workload execution.provision-if-absent --dry-run --output-format jsonresolves the project and reports intended or existing K8s/storage actions without credential errors.GET /api/infra/k8sreports configured and locally cached Kubernetes backends. If none are present, chat should say no infra is specified and offer options: deploy minimal infra with the agent, configure an existing backend, or submit with explicit project/cluster target.POST /api/workflows/submitvalidates YAML, provisions minimal Kubernetes when allowed and needed, and records a scheduler plan/run record.
Signals
- GitHub stars
- 28
- Forks
- 15
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
agent-workflow-operate- Source
- github.com/nebius/nebius-physical-ai