mcpField
N
nova-act

nova-act

github.com/amazon-agi-labsAgent workflows21114 installsUpdated 21w ago
Repository

About nova-act

nova-act is a skill for using the Nova Act SDK to explore websites, build browser automations, and create tests. It guides the choice of authentication and routes tasks to browser CLI or Python workflows, with references for deployment and debugging.

Key features

  1. 01Browser exploration via CLI
  2. 02Python automation scripts
  3. 03QA and Gherkin test workflows
  4. 04Workflow deployment guidance
  5. 05Authentication setup guidance

Use cases

  1. 01Explore a website interactively
  2. 02Automate repeatable browser tests
  3. 03Convert manual tests into automated tests
  4. 04Reproduce bugs and capture evidence

MCP support

The skill includes guidance for using external tools with the @tool decorator and MCP servers.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/amazon-agi-labs/nova-act-agent-skills --skill nova-act

After installing, type/nova-actin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
agentcore_browser.md
authentication.md
browser_cli.md
bug_reproduction.md
data_extraction.md
deployment_cli.md
flow_discovery.md
gherkin_testing.md
hitl.md
mock_generation.md
parallel_sessions.md
playwright_interop.md
qa_tests.md
session_logs.md
tool_use.md
trajectory_analysis.md
visual_reporting.md
workflow_definitions.md
workflow_refinement.md

Details

From the project README

Onboarding

Official Documentation: Nova Act GitHub README is the source of truth.

Step 1: Authentication Setup

Nova Act supports two authentication methods. You MUST prompt the user for which method they want to use!

  • API Key (Quick Start) — Best for development/testing. Generate at https://nova.amazon.com/act?tab=dev_tools, then export NOVA_ACT_API_KEY="your_key". No decorator needed.
  • AWS Credentials + Workflow Definition (Production) — Best for IAM-based access, S3 export. Requires AWS creds + @workflow decorator. See references/workflow_definitions.md.

Full setup details: references/authentication.md

Step 2: Start Using Nova Act

Route to the right mode:

User wants to...Route to
Explore a website interactivelyreferences/browser_cli.md (Option A)
Build a coding agent with browserreferences/browser_cli.md (Option A)
Write a repeatable test scriptreferences/qa_tests.md (Option B)
Write a Python automation scriptreferences/qa_tests.md (Option B) + references/data_extraction.md
Convert manual tests to automatedreferences/gherkin_testing.md
Understand a codebase via its UIreferences/flow_discovery.md
Reproduce a bugreferences/bug_reproduction.md
Iterate on / refine automation promptsreferences/workflow_refinement.md
Generate mock sites from real site recordingsreferences/mock_generation.md
Deploy to productionreferences/deployment_cli.md

Option A: Browser CLI (recommended for exploration and agent tool-use)

pip install 'nova-act[cli]'
act browser execute "Go to https://example.com, find the pricing page, and extract plan names and prices" --session-id work
# If you need to observe current state:
act browser ask "What page am I on?" --session-id work
# If you need a zero-inference jump:
act browser goto https://example.com/specific-page --session-id work

Default to execute with a detailed plan. Use individual commands (goto, ask, etc.) for recovery, observation, or zero-inference actions. Pass NovaAct constructor or method args with --nova-arg: e.g. --nova-arg max_steps=5 --nova-arg headless=true. Run any command with --help for all available options.

IMPORTANT: Before running any browser command, ask the user whether they want headed (visible browser) or headless mode, unless they have already specified. Use --headed or --headless accordingly.

⚠️ CRITICAL: NEVER kill Chrome or Chromium processes (e.g., pkill chrome, kill -9 $(pgrep chrome), killall Google Chrome). Nova Act manages its own browser lifecycle. Killing browser processes externally will corrupt session state and break automation. If a browser appears stuck, use act browser sessions to check status, or start a new session.

💡 Localhost HTTPS Testing: When testing against a local HTTPS server (e.g., https://localhost:8443), Chrome will reject self-signed certificates by default. Add --launch-arg=--ignore-certificate-errors --ignore-https-errors to bypass this:

act browser goto https://localhost:8443 --session-id dev --launch-arg=--ignore-certificate-errors --ignore-https-errors

⚠️ Only use --ignore-certificate-errors for localhost development servers. For non-local URLs, valid certificates should be used unless you have a specific reason to bypass validation.

Full command reference: references/browser_cli.md

Option B: Python Script (recommended for repeatable automation)

from nova_act import NovaAct

with NovaAct(starting_page="https://example.com") as nova:
    nova.act("click the first link on the page")
    result = nova.act_get("What is the page title?")
    print(f"Page title: {result.response}")

Full testing guide: references/qa_tests.md

Step 3: Validate Installation

  • Python 3.10+: python --version
  • Nova Act SDK: pip install 'nova-act[cli]' / pip show nova-act
  • Google Chrome (Optional): playwright install chrome

Steering Files

Quickstart: When given a URL to explore or automate, start with references/browser_cli.md.

FileWhat It Covers
references/browser_cli.mdBrowser CLI — commands, sessions, config, page exploration. Default for interactive work and agent tool-use. You MUST read the ENTIRE file — it contains critical CLI best practices, command decision guides, and example transcripts that are essential for correct usage
references/qa_tests.mdScript writing — QA testing with pytest/unittest, act() vs act_get(), schemas, assertion patterns
references/deployment_cli.mdDeployment CLI — deploy workflows to AgentCore Runtime on AWS
references/authentication.mdAPI key vs IAM, session management
references/workflow_definitions.mdWorkflow definitions with AWS CLI
references/data_extraction.mdStructured extraction with Pydantic
references/hitl.mdHuman approval and UI takeover patterns
references/tool_use.mdExternal tools (@tool decorator, MCP servers)
references/agentcore_browser.mdRemote browser via AgentCore
references/playwright_interop.mdDirect Playwright page access, sensitive input, file downloads
references/session_logs.mdLogs, screenshots, and video recordings
references/trajectory_analysis.mdUnderstanding Nova Act trajectories
references/visual_reporting.mdVisual reporting — post-session markdown reports from steps.yaml, snapshots, and screenshots
references/gherkin_testing.mdGherkin testing — .feature file writing, qa-plan compilation, session export → Gherkin conversion
references/flow_discovery.mdFlow discovery — live app exploration → codebase mapping, developer onboarding docs
references/bug_reproduction.mdBug reproduction — reproduce → capture evidence → export → regression test
references/parallel_sessions.mdParallel sessions — run multiple browser sessions concurrently with subagents, chunking, session limits
references/workflow_refinement.mdWorkflow refinement — analyze chain-of-thought, identify failure patterns, revise and validate browser automation workflows
references/mock_generation.mdMock generation — generate static HTML mock sites from real site trajectories for fast, offline iteration

This skill uses the Nova Act SDK which is licensed under the Apache-2.0 license.

Comments

Markdown supported