Projects, modules, Studio and pipelines
Create projects, publish modules from Studio after a passing test, then deploy with vault secrets, a target environment and manual, webhook or cron triggers.
This page covers the full lifecycle of an automation in Argy Portal: project, catalog module, design in Studio, deployment, run follow-up and version evolution. It is written for platform engineers who publish modules and for the teams that deploy them.
Labels quoted here are those of the English interface. Whether an option is available depends on the plan, on your role (see Argy Portal: overview) and on the tenant's feature flags.
Prerequisites
- A role with access to the relevant sections: Projects and Pipelines to deploy, Modules and Studio to publish.
- An owning organization for every project and every module draft.
- To deploy a module that declares secrets: credentials stored in the vault (Settings, Access Keys & Security).
Projects
Create a project
Creating a project asks for the following fields.
| Field | Description |
|---|---|
| Name | Lowercase letters, digits and hyphens, 3 characters minimum. |
| Description | Free text. |
| Environment | Development, Staging or Production. |
| Source module and version | Module the project is created from. |
| Configuration | Configuration in JSON format. |
| Owning organization | Required, chosen explicitly. |
Project visibility takes three values: Private (the creator only), Organization (the owning organization) or Tenant (every user of the tenant). The statuses displayed are Healthy, Warning, Error, Deploying and Pending, with a compliance score. The list can be filtered by search, environment and project.
Access and roles
Access to projects follows the user's role or the permissions of their token (project:read, project:write, project:deploy), together with the project visibility. In the API, a call that targets an organization the user does not belong to is rejected with 403 FORBIDDEN (reasonCode: ORG_SELECTION_FORBIDDEN).
Project detail
A project page has seven tabs.
| Tab | Content |
|---|---|
| Overview | Information (description, source module, current version, environments, status, score) and statistics: deployments, total runs, success rate, average duration, running runs, breakdown by status, last activity. |
| Configuration | Environment variables and configuration editing. |
| Deployments | Three-step deployment creation: choose the module, fill in inputs, review and create. |
| Environments | Add environments (name, type, JSON configuration). |
| Security | Launch a security scan, latest scan, critical, high and medium vulnerabilities, applied policies. |
| Documentation | Editable project documentation (preview, quick start, configuration, endpoints, command snippets). |
| History | Project audit history. |
Modules
The catalog (Modules section) gathers official Argy modules and your tenant's internal modules. It can be filtered by search, by type (official or internal) and by status (draft, published, deprecated).
Actions on a module
| Action | Effect |
|---|---|
| Use module | Opens the module deployment in a project. |
| Edit in Studio / New version | Opens the module in Studio to modify it or create a version. |
| Deprecate | Marks the module as deprecated, with a required reason. |
| Unpublish | Returns the module to draft. |
| Change visibility | See below. |
| Deploy | Deploys directly: environment (Development, Staging, Production), version, inputs, then "Deploy now". |
Visibility distinguishes the owning organization from the organizations allowed to read the module. A context organization is requested if you are not a member of the owning organization.
Module detail
Six tabs: Overview, Studio (workflow preview, structure, number of actions and connections, use as a template), Versions (history, latest version, breaking changes), Policies (applied policies and compliance requirements), Documentation (inputs and outputs with type, required flag and description) and Approvals (approval requests, approve or reject). Possible badges are Stable, Deprecated, Experimental, Compliance approved and Draft.
Module assistant
The assistant (Ctrl+K shortcut) recommends modules from a need described in natural language. It offers starter suggestions (code review, CI/CD, security scan), shows a context limit and lets you start a new conversation.
Studio
Studio is the visual editor for workflows and modules. Full access (edit, test, publish) is reserved for Platform Engineers and Platform Admins; other roles only have read access, and the portal may show them the restriction message "Only Platform Engineers can access the Module Studio". If the feature is not included in the plan, an "Upgrade required" screen appears.
Workflow editor
- An action palette with search, a canvas with automatic layout, zoom, a mini-map, node properties, a timeline and validation.
- Action categories: Cloud & IaC, CI/CD, Security, Observability, Documentation, Notifications, Generic Actions, Flow Control, Reusable Modules, Governance and AI Agent.
- Validation rules: exactly one Start node and one End node, no cycle, End reachable from Start, consistent incoming and outgoing connections, required fields filled in.
- Drafts: new, save, load, delete, reset the canvas. The draft's organization is required.
Inputs, outputs and credentials
- Module inputs and outputs: form schema (type, description, format, default value, minimum, maximum), references to the output of a previous action, templates and Markdown specification.
- Credentials: a vault credential selector, creation of an Argy PAT, and the agent host environment variable in
env:NAMEformat. - Argy AI node: default agent or custom agent (lowercase name with hyphens, description, system prompt, allowed tools, model override). Model calls go through the LLM Gateway and its policies (see Argy AI in the portal and LLM Gateway API).
AI assistance in Studio
- AI assistant: describe the workflow in natural language to build it; a ready-made "GitLab Agentic Workflow" template is offered.
- AI workflow analysis: a quality score out of 100, ranked issues (critical, warning, info) and suggestions. The draft must be saved before the analysis.
Test before publishing
The Test button launches a simulation. You provide the environment, a project name, the inputs and, optionally, an Argy PAT for AI steps (only a vault reference is sent). The screen shows live logs (Live, Connecting, Error, Offline states), outputs as cards or raw JSON, artifacts, and an export option.
Publishing requires a successful test: Studio shows "Run a successful test before publishing" until that is the case.
Publish a version
Publishing asks for a semver version, a changelog, whether the change is breaking, the visibility (Private, Organization or Public) and the organizations concerned.
Deterministic modules (code bundles)
Studio can also publish a module as code that runs deterministically.
| Element | Description |
|---|---|
| Fields | Name, description, immutable semver version, runtime (node, bun or python), entrypoint in file#export format. |
| Schemas | Input, output and configuration schemas. |
| Capabilities | Declared explicitly. HTTPS egress is the default; HTTPS egress to internal resources requires an ONPREM agent of the same tenant. No direct sockets and no SSH. |
| Secrets | References of the form secret:// only, never a plaintext value. |
| Sources | Files entered in Studio (4 MiB and 255 files limit) or a ZIP archive import. |
| Python | In the first version, reserved for agents that advertise this capability; standard library and bundled pure-Python dependencies only, native extensions are rejected. |
Available actions: validate, package and upload, publish the version, deprecate, retire (with a reason). Version states are Draft, Compiled, Published, Deprecated and Retired. A published version is immutable.
The same lifecycle is available on the command line: argy modules init, run (local dry-run), validate, package, create, upload and publish cover bundle creation through publication, then argy deploy <module> deploys it. See Argy Code extensions for module development and the Argy Code CLI reference for each command's options. On the API side, these operations map to the /v1/studio/bundles and /v1/modules endpoints described in Platform API.
Deployments
A deployment ties a module version to a project and an environment. You create it from a project page (Deployments tab) or directly from a module.
Deployment options
| Option | Description |
|---|---|
| Pinned version | Module version to run. The portal shows its declarations: declared tools (read-only), secret references to bind (required or optional) and declared notification targets (e-mail, HTTPS webhook, Slack). |
| Module configuration | Non-secret parameters, validated against the version's schema. |
| Secret binding | Each secret is bound to a credential vault identifier, never to a raw value. An "n/total bound" counter shows progress, with a link to Settings, Access Keys & Security. |
| User PAT | Stored PAT used for the Argy tool. |
| Target environment | Native type (DEV, UAT or PRD) or project environment. Routing relies on the type, never on the name. Default: PRD. DEV and UAT runs wait for an agent of the matching type. |
| Trigger mode | Manual, webhook or scheduled (see below). |
Triggers
- Manual: the deployment runs on demand, with "Deploy now".
- Webhook: the call authenticates with a user PAT that has the
project:deploypermission, with no additional webhook secret (PAT creation and permissions: Settings and identity and Authentication and tokens). The portal shows a curl example and the input schema. Inputs sent with each call override the configuration, key by key. - Scheduled, UTC only: every N minutes, every N hours, daily, weekly (with the day of the week) or an advanced five-field cron expression. An occurrence is skipped, with no catch-up, if a non-terminal run already exists for that deployment.
Actions on a deployment
Deploy now, pause, resume, edit the trigger, delete (runs already in progress are not interrupted), retry synchronization if the scheduler is unavailable, view outputs and artifacts, see the latest run.
Pipelines and runs
The Pipelines & Automations section gathers all runs, with views by pipeline, by project, by module and by environment.
Statuses and filters
Statuses are: queued, running, waiting for approval, succeeded, failed, canceled. The list can be filtered by search, status, environment, project and module. Columns show the project or module, environment, status, who triggered it, start, duration and actions.
Run detail
The detail shows the agent, the pipeline steps, live logs, outputs (JSON, downloadable), artifacts, cost and the originating Studio simulation. Available actions are: view logs, cancel, retry. On the command line, argy runs list|logs|cancel offers the same operations (see the Argy Code CLI reference); automating this in a CI pipeline is covered in Automating with Argy Code.
- Waiting for an agent: a badge shows the target type, with the reason displayed (environment agent required, ONPREM agent required, host capabilities required) and the date the wait started.
- Results archive: downloadable until its expiry date, then purged. The "pending" and "unavailable" states are reported.
Secrets: principle
A deployment's secrets never travel in clear text through the portal. A module declares secret:// references; you bind them to vault credentials when deploying, and the agent resolves the reference at run time (see also Data protection). API listings only expose the required references, never the values. See Settings and identity to create credentials.
Versioning and lifecycle
- Semver versions: each publication creates a version; a published version is immutable. Breaking changes are flagged at publication time.
- Pinning: a deployment runs its pinned version, so a new publication does not silently change an existing deployment.
- Module lifecycle: draft, published, deprecated. Deprecating requires a reason; unpublishing returns the module to draft.
- Bundle lifecycle: Draft, Compiled, Published, Deprecated, Retired (with a reason).
- Approvals: governance policies can require an approval before a deployment or a module publication; see Governance and observability.
Use the API
The same operations are available through the platform API (https://api.argy.cloud), with a personal access token. Required permissions are listed in the table.
| Operation | Endpoint | Permission |
|---|---|---|
| List projects | GET /v1/projects | project:read |
| Deploy a project | POST /v1/projects/{projectId}/deploy (Idempotency-Key header) | project:deploy |
| List modules | GET /v1/modules | module:read |
| Publish a bundle version | PUT /v1/modules/{moduleId}/versions/{version}/publish | module:write |
| List runs | GET /v1/runs (parameters projectId, environmentId) | pipeline:read |
| Cancel or retry a run | POST /v1/runs/{runId}/cancel and POST /v1/runs/{runId}/retry | pipeline:write |
curl -s "https://api.argy.cloud/v1/runs?projectId=$PROJECT_ID" \
-H "Authorization: Bearer $ARGY_PAT"
See Platform API for details.
Common errors
| Message or code | Cause and fix |
|---|---|
| "Only Platform Engineers can access the Module Studio" | Your role does not have full Studio access (edit, test, publish). Ask an administrator for the Platform Engineer role. |
| "Run a successful test before publishing" | No successful simulation on the current draft. Run Test and fix the errors. |
| Deployment waiting for an agent | A DEV or UAT run waits for an agent of the matching type; an ONPREM run waits for an ONPREM agent of the same tenant. |
| Secrets not bound (n/total) | Bind every required secret to a vault credential before deploying. |
429 QUOTA_EXCEEDED | The monthly deployment quota is reached. |
400 BAD_REQUEST (reasonCode: IDEMPOTENCY_KEY_NOT_ALLOWED) | The idempotency key must be sent in the Idempotency-Key header, not in the body. |
403 FORBIDDEN (reasonCode: ORG_SELECTION_FORBIDDEN) | The requested organization is not among your memberships. |