Skip to main content

Command Overview

The Nova Act CLI provides seven core workflow management commands:
CommandDescription
createRegister a new workflow in configuration
deployBuild and deploy workflow to AWS AgentCore
runExecute deployed workflow with payload
listShow all configured workflows
showDisplay detailed workflow information
updateModify workflow configuration
deleteRemove workflow from configuration

create

Register a new workflow in the configuration with optional WorkflowDefinition.

Syntax

act workflow create --name <workflow-name> [OPTIONS]

Options

OptionRequiredDescription
--name, -nYesName of the workflow
--workflow-definition-arnNoOptional WorkflowDefinition ARN to associate
--regionNoRegion for WorkflowDefinition (defaults to config default_region)
--s3-bucket-nameNoCustom S3 bucket name for workflow exports
--skip-s3-creationNoSkip automatic S3 bucket creation

Examples

Create a workflow with default settings:
act workflow create --name my-workflow
Output:
✅ Created workflow 'my-workflow'
   Region: us-east-1
   WorkflowDefinition ARN: arn:aws:nova-act:us-east-1:123456789012:workflow-definition/my-workflow
   Console URL: https://console.aws.amazon.com/nova-act/...
   State saved to: ~/.act_cli/state/123456789012/us-east-1/workflows.json

Next Steps
  act workflow deploy --name my-workflow --source-dir <your-code-directory>

Notes

  • The command automatically creates a WorkflowDefinition with the provided name
  • Default S3 bucket follows pattern: nova-act-{account-id}-{region}
  • Workflow name must match the name in the WorkflowDefinition ARN if provided

deploy

Build and deploy a workflow to AWS AgentCore Runtime with containerization.

Syntax

act workflow deploy [--name <workflow-name>] [--source-dir <path>] [OPTIONS]

Options

OptionRequiredDescription
--name, -nNoName of the workflow (auto-generated if using --source-dir)
--source-dirNo*Path to source directory for quick-deploy
--entry-pointNoEntry point script file (e.g., my_script.py, defaults to main.py)
--regionNoAWS region for deployment
--execution-role-arnNoUse existing IAM role ARN for workflow execution
--ecr-repoNoCustom ECR repository URI
--no-buildNoSkip building before deploy
--skip-entrypoint-validationNoSkip entry point validation (advanced users)
--build-dirNoCustom local directory for build files
--overwrite-build-dirNoOverwrite existing build directory without prompting
--s3-bucket-nameNoCustom S3 bucket name for workflow exports
--skip-s3-creationNoSkip automatic S3 bucket creation
  • Either --name (for named workflows) or --source-dir (for quick-deploy) must be provided.

Examples

Deploy a directory without pre-creating a workflow:
act workflow deploy --source-dir /path/to/your/project
Output:
🚀 Deployment successful!

Deployment Details:
  Name:       workflow-20251130-120945
  Agent ARN:  arn:aws:bedrock-agentcore:us-east-1:123456789012:runtime/abc123
  Region:     us-east-1
  Workflow Console: https://console.aws.amazon.com/nova-act/...
  Agent Console:    https://console.aws.amazon.com/bedrock/agentcore/...

Next Steps:
  Run workflow:
    act workflow run --name workflow-20251130-120945 --payload "{}"
  Run with logs:
    act workflow run --name workflow-20251130-120945 --payload "{}" --tail-logs

Deployment Process

The deploy command performs these steps automatically:
1

Validate Entry Point

Checks that the entry point exists and contains a main(payload) function.
2

Build Docker Image

Creates a container image with your workflow code and dependencies.
3

Push to ECR

Authenticates with ECR and pushes the Docker image.
4

Create/Update IAM Role

Creates an execution role with necessary permissions (unless --execution-role-arn provided).
5

Create WorkflowDefinition

Registers the workflow with the Nova Act service.
6

Deploy to AgentCore

Creates or updates the AgentCore Runtime with the new image.

Notes

  • Default build location: ~/.act_cli/builds/{workflow-name}/
  • Build artifacts are persistent and not automatically cleaned up
  • Default builds always overwrite previous builds for the same workflow
  • Custom build directories require --overwrite-build-dir flag to overwrite

run

Execute a deployed workflow on AgentCore Runtime with a JSON payload.

Syntax

act workflow run --name <workflow-name> (--payload <json> | --payload-file <path>) [OPTIONS]

Options

OptionRequiredDescription
--name, -nYesName of the workflow
--payloadNo*JSON payload string
--payload-fileNo*Path to JSON payload file
--regionNoAWS region for deployment
--tail-logsNoStream logs in real-time (requires logs:StartLiveTail permission)
--timeoutNoRead timeout in seconds (default: 7200)
  • Either --payload or --payload-file must be provided.

Examples

Run with inline JSON payload:
act workflow run --name my-workflow --payload '{"input": "test data"}'
Output:
Workflow Details
Workflow: my-workflow
Agent ARN: arn:aws:bedrock-agentcore:us-east-1:123456789012:runtime/abc123
Region: us-east-1

Logging Information
Runtime logs: /aws/bedrock-agentcore/runtimes/abc123-default
OTEL logs: /aws/bedrock-agentcore/runtimes/abc123-default/runtime-logs

Tail logs with AWS CLI v2:
  aws logs tail /aws/bedrock-agentcore/runtimes/abc123-default --follow
  aws logs tail /aws/bedrock-agentcore/runtimes/abc123-default --since 1h

Execution Status
Starting workflow execution...
⚠ Initial startup may take a few moments
✅ Workflow execution completed successfully!
🔗 View in console: https://console.aws.amazon.com/nova-act/...

Log Sources

When using --tail-logs, the CLI streams from:
  • Application logs: stdout/stderr from your workflow
  • OpenTelemetry logs: Tracing and instrumentation data

Notes

  • Log streaming continues until workflow completes or you press Ctrl+C
  • Ctrl+C stops tailing but doesn’t terminate the workflow
  • Initial startup may take 30-60 seconds for cold starts

list

Show all configured workflows in the current region.

Syntax

act workflow list [OPTIONS]

Options

OptionRequiredDescription
--regionNoAWS region to query

Examples

Show workflows in default region:
act workflow list
Output:
Workflows in us-east-1

my-workflow (2024-11-30)
test-workflow (2024-11-29)
workflow-20251130-120945 (2024-11-30)

Use act workflow show -n <name> for detailed information.

Notes

  • State is isolated per region and AWS account
  • Use show command for detailed information about a specific workflow

show

Display detailed information about a specific workflow.

Syntax

act workflow show --name <workflow-name> [OPTIONS]

Options

OptionRequiredDescription
--name, -nYesName of the workflow to show
--regionNoAWS region to query

Examples

Display full workflow information:
act workflow show --name my-workflow
Output:
Workflow Details
Name: my-workflow
Directory: /path/to/source/code
Created: 2024-11-30 12:51:39
Workflow Definition ARN: arn:aws:nova-act:us-east-1:123456789012:workflow-definition/my-workflow
Console URL: https://console.aws.amazon.com/nova-act/...
AgentCore Deployment: arn:aws:bedrock-agentcore:us-east-1:123456789012:runtime/abc123
Container Image: 123456789012.dkr.ecr.us-east-1.amazonaws.com/nova-act-cli-default:my-workflow-20241130-125139

Notes

  • Shows directory path even if it no longer exists on disk
  • Provides direct links to AWS Console for WorkflowDefinition and AgentCore Runtime

update

Update an existing workflow’s WorkflowDefinition ARN.

Syntax

act workflow update --name <workflow-name> --workflow-definition-arn <arn> [OPTIONS]

Options

OptionRequiredDescription
--name, -nYesName of the workflow to update
--workflow-definition-arnYesNew WorkflowDefinition ARN to associate
--regionNoRegion for WorkflowDefinition (defaults to config default_region)

Examples

Associate a new WorkflowDefinition ARN:
act workflow update --name my-workflow \
  --workflow-definition-arn arn:aws:nova-act:us-east-1:123456789012:workflow-definition/my-workflow
Output:
Updated workflow 'my-workflow' WorkflowDefinition ARN in region 'us-east-1':
  Old: Not set
  New: arn:aws:nova-act:us-east-1:123456789012:workflow-definition/my-workflow
  Console URL: https://console.aws.amazon.com/nova-act/...

✅ Workflow 'my-workflow' updated successfully!
Use act workflow show --name my-workflow for full details.

Notes

  • Workflow name must match the name in the WorkflowDefinition ARN
  • The CLI validates ARN format automatically
  • To change source directory or entry point, use deploy command

delete

Remove a workflow from local configuration.

Syntax

act workflow delete --name <workflow-name> [OPTIONS]

Options

OptionRequiredDescription
--name, -nYesName of the workflow to delete
--regionNoAWS region (defaults to configured region)
--forceNoSkip confirmation prompt

Examples

Remove a workflow with confirmation:
act workflow delete --name my-workflow
Output:
Workflow to delete: my-workflow
Target region: us-east-1
Action: Remove from configuration
Are you sure you want to proceed? [y/N]: y
✅ Removed 'my-workflow' from configuration

Important Notes

AWS Resources Are NOT DeletedThe delete command only removes the workflow from local CLI configuration. It does NOT delete:
  • AgentCore Runtime
  • WorkflowDefinition
  • ECR images
  • IAM roles
  • S3 buckets
  • CloudWatch Logs
You must manually clean up these AWS resources if needed.

Global Options

These options apply to all workflow commands:
OptionDescription
--profile <name>Use specific AWS profile from ~/.aws/credentials
--helpShow command help

Using AWS Profiles

# Deploy with specific profile
act workflow --profile development deploy --name my-workflow --source-dir /path/to/code

# Run with specific profile
act workflow --profile production run --name my-workflow --payload '{}'
The --profile option must come before the subcommand (deploy, run, etc.).

Command Cheat Sheet

# Create and deploy named workflow
act workflow create --name my-workflow
act workflow deploy --name my-workflow --source-dir ./code
act workflow run --name my-workflow --payload '{}'

# Quick deploy without pre-creation
act workflow deploy --source-dir ./code
act workflow run --name workflow-20251130-120945 --payload '{}'

# Manage workflows
act workflow list
act workflow show --name my-workflow
act workflow update --name my-workflow --workflow-definition-arn <arn>
act workflow delete --name my-workflow

# Deploy with custom options
act workflow deploy --name my-workflow \
  --source-dir ./code \
  --entry-point app.py \
  --execution-role-arn <arn> \
  --region us-east-1

# Run with log streaming
act workflow run --name my-workflow \
  --payload-file payload.json \
  --tail-logs \
  --timeout 14400

Build docs developers (and LLMs) love