Skip to content

ReplicantX Browser Mode (Playwright) #16

@gusfraser

Description

@gusfraser

Add a new interaction_mode: browser to Level 2 (level: agent) scenarios.

In browser mode, a Replicant:

  1. Authenticates programmatically (Supabase admin magic-link → verify → app /auth/refresh to set httpOnly cookies)
  2. Opens the app URL in Playwright (headless by default; headed optional)
  3. Iterates up to max_turns:
  • Observes page state (DOM text + interactive controls)
  • Chooses an action (send chat, click card/button, fill field, wait, etc.)
  • Executes action
  • Evaluates progress (DOM and/or screenshot)
  1. Produces artifacts (trace, screenshots) + enriched report

Key principle: keep the existing Replicant configuration (facts/goal/system_prompt/goal_evaluation/false positives) and introduce only additive fields for browser automation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions