Agents

Create runtime workers, configure concurrency, and attach platforms with per-site settings.

An agent is a configured runtime worker that executes tasks in isolated browser sessions. Agents scale automatically based on workload and your concurrency settings.

Creating an agent

Open Agents in your workspace sidebar and click New agent.

Give the agent a name and optional description. After creation, configure:

Concurrency settings

SettingPurpose
Min workersMinimum number of execution pods kept warm
Max workersUpper limit on concurrent execution pods
Idle timeoutHow long an idle execution session stays alive before termination

Higher concurrency lets the agent process multiple executions in parallel. Set limits based on your target sites' rate limits and your infrastructure budget.

Attaching platforms

In the agent form, attach platforms the agent should access:

  1. Select a platform from your workspace.
  2. Configure the vault with credentials (username, password, API keys, TOTP seeds).
  3. Set optional max concurrent tasks for this platform on this agent.
  4. Enable captcha solving if the site uses CAPTCHAs (solve_captcha in DSL).

Each agent-platform binding is independent β€” two agents can use the same platform with different credentials.

Agent modes

Agents operate in different session modes:

ModeWhen used
ExecutionRunning queued task executions (default for automation)
AssistantInteractive AI chat at /agents/{id}/chat to help build workflows
MaintenancePlatform auth setup and diagnosis

Execution sessions are scaled by the platform's reconciler based on queued work and your min/max settings.

Running tasks on an agent

When you run a task β€” manually or via API β€” you specify which agent executes it. The agent:

  1. Claims the execution from the queue
  2. Spins up or reuses a browser session
  3. Runs the task's DSL script against attached platforms
  4. Streams live screenshots and records video
  5. Writes results and status back to the execution record

AI assistant

Each agent has a built-in AI assistant accessible from the agent detail page. Use it to:

  • Describe workflows conversationally and get DSL suggestions
  • Debug failing scripts with context about your platforms
  • Iterate on task logic without writing every line manually

The assistant runs in a dedicated assistant session with access to your agent's platform configuration.

Best practices

  • Create separate agents for different credential sets or environments (production vs. staging).
  • Set max_concurrent_tasks per platform to respect site rate limits.
  • Use idle timeout to balance session reuse (faster repeat runs) against resource cost.