Dev.to AI πŸ€– Ai πŸ‘ 2 πŸ“– 19 min read

Visual Agents That Improve Themselves: Design, Verification Loops and the Cost of Recursion

A visual agent is a model inside a and most "self-improvement" that actually ships today is the improving itself, gated by an evaluation suite you can afford to run. The Real Problem / Why Naive Approaches Fail

A visual agent is a model inside a and most "self-improvement" that actually ships today is the improving itself, gated by an evaluation suite you can afford to run.

The Real Problem / Why Naive Approaches Fail

Here is the failure pattern I see described most often when people first wire a vision-capable model to a browser. The agent takes a screenshot of a settings page, reasons correctly that it needs to click "Save", emits a click at pixel coordinates (812, 640) and the click lands on the "Cancel" button. That button sits 40 pixels to the left. The page closes. The agent takes another screenshot, sees the dashboard, decides the task succeeded and reports completion. Nothing was saved.

Three separate things broke in that sequence and none of them were "the model is not smart enough":

  1. Grounding failed. The model understood what to click but could not reliably map that intent to where. Raw coordinate prediction from a downscaled screenshot is fragile.
  2. Verification was absent. The agent never checked whether the world state matched its intent after acting.
  3. The success signal was self-reported. The same model that made the mistake judged the outcome.

The naive fix is to swap in a bigger model. Sometimes that helps a little. It rarely fixes the structural issue, because the structure is the problem. The survey Vision in the Era of Agents: Toward Recursive Self-Improvement frames this well: a visual agent is best understood as one or more models operating within an *agent *. The is everything around the model: how observations are captured and encoded, which tools exist, how actions are executed, how memory is stored and how outcomes are checked. When the is weak, model upgrades buy you less than you expect.

The second naive move is to bolt on "self-improvement" by letting the agent rewrite its own prompt after each failure. Without a held-out evaluation gate, this degrades quickly. The agent overfits its instructions to the last failure, regresses on tasks it used to pass and you have no record of when or why. Recursive self-improvement without measurement is just drift.

The rest of this article is about building the so that both problems are tractable: grounded actions with verification in the inner loop and a gated, auditable improvement process in the outer loop.

Architecture & Inner Mechanics

I find it useful to split a visual agent into two loops that run at very different timescales.

The inner loop executes a single task. It runs once per step, typically seconds apart. Perceive, ground, plan, act, verify.

The outer loop improves the system. It runs once per improvement cycle, typically hours or days apart. Collect trajectories, diagnose failures, propose changes, evaluate them against a fixed suite and promote only what wins.

flowchart TB
    subgraph Inner["Inner loop (per task, per step)"]
        A[Capture observation<br/>screenshot + DOM/a11y tree] --> B[Grounding layer<br/>Set-of-Mark overlay, element IDs]
        B --> C[Policy model<br/>reason + choose action]
        C --> D[Action executor<br/>click by element ID, type, scroll]
        D --> E[Verifier<br/>post-state check, separate prompt/model]
        E -->|state matches intent| F{Task done?}
        E -->|mismatch| G[Recovery: re-observe, retry with budget]
        G --> A
        F -->|no| A
        F -->|yes| H[Trajectory log<br/>frames, actions, verdicts]
    end

    subgraph Outer["Outer loop (per improvement cycle)"]
        H --> I[Failure miner<br/>cluster failed trajectories]
        I --> J[Proposer<br/>edit prompts, tools, grounding config]
        J --> K[Candidate harness version]
        K --> L[Held-out eval suite<br/>N tasks x k seeds]
        L --> M{Beats baseline<br/>with margin, no regressions?}
        M -->|yes| N[Promote + version tag]
        M -->|no| O[Archive with diagnostics]
        N --> P[(Harness registry)]
        P --> A
    end

Perception and grounding

The single most effective grounding technique for GUI and web agents is to stop asking the model for raw coordinates. Set-of-Mark prompting (Yang et al., 2023) overlays numbered labels on interactive regions and asks the model to choose a label. SeeAct (Zheng et al., 2024) showed that grounding, rather than reasoning, was the dominant bottleneck for vision-language models acting on the web. Both results point the same direction: let the do the geometry and let the model do the semantics.

In a browser you have a large advantage because the DOM and accessibility tree exist. You can enumerate clickable elements, compute their bounding boxes, draw numbered boxes on the screenshot and send the model both the annotated image and a compact text list of [id] role "name". The model replies with click(17). The executor resolves element 17 to a real locator. Coordinate error disappears from the failure distribution entirely.

On native desktops or games you often lack a structured tree. There you fall back to a detector or OCR pass to propose regions and accuracy drops. Benchmarks like OSWorld (Xie et al., 2024) exist partly because this setting is so much harder than the browser.

Planning and tool use

The policy model follows a ReAct-style pattern (Yao et al., 2022): a short reasoning trace, then one action. For visual tasks, the survey's taxonomy covers a broader set of tools than GUI actions: crop and zoom, run a detector, call an OCR engine, execute code that draws on the image. Visual programming approaches like VisProg and ViperGPT compose vision modules through generated code. Visual Sketchpad (Hu et al., 2024) lets the model draw auxiliary lines and marks as an intermediate reasoning step. The common thread is that the model gets to act on the image rather than only look at it.

My opinion here: give the agent fewer, sharper tools. A toolset of eight well-specified actions outperforms thirty loosely defined ones in every agent design I have reviewed, because tool selection itself is a failure surface.

Verification

This is the part most skip. After each action, the verifier receives the pre-action screenshot, the post-action screenshot, the stated intent and the action taken and answers one narrow question: did the state change match the intent? It uses a separate prompt and ideally a separate (cheaper) model call. It should not see the policy's reasoning, because that reasoning anchors it toward agreement.

The verifier also gates task completion. Self-reported "done" is a proposal and the verifier decides. Where possible, use programmatic checks instead (URL changed, toast text appeared, a form field holds the expected value). A DOM assertion costs nothing and never hallucinates.

Where recursion actually lives

The survey's title points at recursive self-improvement and it is worth being precise about what can improve:

Layer What changes Risk Practical today?
Prompts and instructions System prompt, few-shot examples, tool descriptions Overfitting to recent failures Yes
Tool library New composite tools, better tool specs Tool sprawl, untested code paths Yes, with code review
Grounding config Overlay density, element filters, zoom policy Silent regressions on unseen layouts Yes
Memory / skills Stored successful procedures (Voyager-style skill library) Stale skills after UI changes Yes, with expiry
Model weights Fine-tune on own successful trajectories (STaR-style) Reward hacking, distribution collapse Expensive, needs infra
The improvement process itself Proposer edits its own proposal logic Compounding errors, hard to audit Research territory

The Darwin GΓΆdel Machine work (Zhang et al., 2025) explores agents editing their own code with an archive of variants evaluated on benchmarks. The important design detail there is the archive and the empirical evaluation, not the self-editing. That is the lesson I would carry into any practical system: every self-modification is a candidate and candidates are cheap. Promotions are expensive and must be earned on held-out data.

Production Implementation

Below is a compact but complete for browser tasks. It uses Playwright for the environment and any OpenAI-compatible chat endpoint for the policy and verifier, so it works against hosted APIs or a local vision model served through vLLM or similar. Install with pip install playwright openai pillow pyyaml and run playwright install chromium.

Grounding: Set-of-Mark overlay from the DOM

# grounding.py
import base64
import io
from dataclasses import dataclass

from PIL import Image, ImageDraw, ImageFont
from playwright.sync_api import Page

INTERACTIVE_JS = """
() => {
  const sel = 'a, button, input, select, textarea, [role=button], [role=link], [role=checkbox], [role=tab], [onclick]';
  const out = [];
  document.querySelectorAll(sel).forEach((el) => {
    const r = el.getBoundingClientRect();
    const style = window.getComputedStyle(el);
    if (r.width < 4 || r.height < 4) return;
    if (style.visibility === 'hidden' || style.display === 'none') return;
    if (r.bottom < 0 || r.top > window.innerHeight) return;
    const name = (el.getAttribute('aria-label') || el.innerText || el.value || el.placeholder || '').trim().slice(0, 60);
    const tag = el.tagName.toLowerCase();
    const role = el.getAttribute('role') || tag;
    const uid = 'som-' + out.length;
    el.setAttribute('data-som-id', uid);
    out.push({uid, role, name, x: r.x, y: r.y, w: r.width, h: r.height});
  });
  return out;
}
"""


@dataclass
class Element:
    idx: int
    uid: str
    role: str
    name: str
    box: tuple[float, float, float, float]


def observe(page: Page, max_elements: int = 80) -> tuple[str, list[Element], str]:
    """Return (annotated screenshot as base64 PNG, element list, text legend)."""
    raw = page.evaluate(INTERACTIVE_JS)[:max_elements]
    elements = [
        Element(i, e["uid"], e["role"], e["name"], (e["x"], e["y"], e["w"], e["h"]))
        for i, e in enumerate(raw)
    ]
    png = page.screenshot(full_page=False)
    img = Image.open(io.BytesIO(png)).convert("RGB")
    draw = ImageDraw.Draw(img)
    try:
        font = ImageFont.truetype("DejaVuSans-Bold.ttf", 12)
    except OSError:
        font = ImageFont.load_default()

    for el in elements:
        x, y, w, h = el.box
        draw.rectangle([x, y, x + w, y + h], outline=(255, 0, 0), width=2)
        label = str(el.idx)
        draw.rectangle([x, y - 14, x + 8 * len(label) + 4, y], fill=(255, 0, 0))
        draw.text((x + 2, y - 14), label, fill=(255, 255, 255), font=font)

    buf = io.BytesIO()
    img.save(buf, format="PNG", optimize=True)
    legend = "\n".join(f"[{e.idx}] {e.role} \"{e.name}\"" for e in elements)
    return base64.b64encode(buf.getvalue()).decode(), elements, legend

The data-som-id attribute matters. It lets the executor resolve the model's choice back to the exact DOM node, which survives minor layout shifts between observation and action.

Policy, executor and verifier

# agent.py
import json
import logging
import os
import re
import time
from dataclasses import dataclass, field

from openai import OpenAI, APIError, APITimeoutError
from playwright.sync_api import Page, TimeoutError as PWTimeout

from grounding import Element, observe

log = logging.getLogger("visual_agent")
client = OpenAI(base_url=os.getenv("LLM_BASE_URL"), api_key=os.getenv("LLM_API_KEY", "none"))

ACTION_RE = re.compile(r"ACTION:\s*(\{.*\})", re.DOTALL)


@dataclass
class StepRecord:
    step: int
    intent: str
    action: dict
    verdict: str
    latency_ms: float


@dataclass
class Trajectory:
    task: str
    harness_version: str
    steps: list[StepRecord] = field(default_factory=list)
    success: bool = False
    failure_reason: str = ""


def chat(model: str, messages: list, max_tokens: int = 400, retries: int = 3) -> str:
    for attempt in range(retries):
        try:
            resp = client.chat.completions.create(
                model=model, messages=messages, max_tokens=max_tokens, temperature=0.2, timeout=60
            )
            return resp.choices[0].message.content or ""
        except (APIError, APITimeoutError) as exc:
            wait = 2 ** attempt
            log.warning("LLM call failed (%s), retrying in %ss", exc, wait)
            time.sleep(wait)
    raise RuntimeError("LLM call failed after retries")


def image_part(b64: str) -> dict:
    return {"type": "image_url", "image_url": {"url": f"data:image/png;base64,{b64}"}}


def execute(page: Page, action: dict, elements: list[Element]) -> None:
    kind = action.get("type")
    if kind in ("click", "type"):
        idx = int(action["element"])
        if idx < 0 or idx >= len(elements):
            raise ValueError(f"element {idx} out of range")
        loc = page.locator(f'[data-som-id="{elements[idx].uid}"]')
        if kind == "click":
            loc.click(timeout=5000)
        else:
            loc.fill(str(action.get("text", "")), timeout=5000)
    elif kind == "scroll":
        page.mouse.wheel(0, 600 if action.get("direction", "down") == "down" else -600)
    elif kind == "goto":
        page.goto(action["url"], timeout=15000)
    elif kind == "done":
        return
    else:
        raise ValueError(f"unknown action type: {kind}")
    try:
        page.wait_for_load_state("networkidle", timeout=3000)
    except PWTimeout:
        pass  # many SPAs never go idle; settle time below covers it
    page.wait_for_timeout(300)


def verify(cfg: dict, intent: str, action: dict, before_b64: str, after_b64: str) -> str:
    prompt = (
        f"Intended effect: {intent}\nAction taken: {json.dumps(action)}\n"
        "Image 1 is before, image 2 is after. Did the visible state change match the intended effect? "
        "Answer with exactly one word: MATCH, MISMATCH or UNCLEAR."
    )
    out = chat(cfg["verifier_model"], [{"role": "user", "content": [
        {"type": "text", "text": prompt}, image_part(before_b64), image_part(after_b64)]}], max_tokens=5)
    word = out.strip().upper().split()[0] if out.strip() else "UNCLEAR"
    return word if word in {"MATCH", "MISMATCH", "UNCLEAR"} else "UNCLEAR"


def run_task(page: Page, task: str, cfg: dict, success_check) -> Trajectory:
    traj = Trajectory(task=task, harness_version=cfg["version"])
    history: list[str] = []
    consecutive_mismatch = 0

    for step in range(cfg["max_steps"]):
        b64, elements, legend = observe(page, cfg["max_elements"])
        user_text = (
            f"Task: {task}\nRecent steps:\n" + "\n".join(history[-cfg["history_window"]:]) +
            f"\n\nInteractive elements:\n{legend}\n\n"
            "Reply with one line 'INTENT: <expected visible effect>' then "
            "'ACTION: {json}' where type is click|type|scroll|goto|done."
        )
        t0 = time.perf_counter()
        reply = chat(cfg["policy_model"], [
            {"role": "system", "content": cfg["system_prompt"]},
            {"role": "user", "content": [{"type": "text", "text": user_text}, image_part(b64)]},
        ])
        match = ACTION_RE.search(reply)
        intent = reply.split("INTENT:", 1)[-1].split("ACTION:", 1)[0].strip()[:200]
        if not match:
            history.append(f"{step}: unparseable reply, re-asking")
            continue
        try:
            action = json.loads(match.group(1))
        except json.JSONDecodeError:
            history.append(f"{step}: invalid JSON action")
            continue

        if action.get("type") == "done":
            traj.success = bool(success_check(page))  # programmatic check overrides self-report
            traj.failure_reason = "" if traj.success else "claimed_done_but_check_failed"
            traj.steps.append(StepRecord(step, intent, action, "DONE", (time.perf_counter() - t0) * 1000))
            return traj

        try:
            execute(page, action, elements)
        except (ValueError, PWTimeout, KeyError) as exc:
            history.append(f"{step}: action failed: {exc}")
            traj.steps.append(StepRecord(step, intent, action, f"ERROR:{exc}", (time.perf_counter() - t0) * 1000))
            continue

        after_b64, _, _ = observe(page, cfg["max_elements"])
        verdict = verify(cfg, intent, action, b64, after_b64)
        latency = (time.perf_counter() - t0) * 1000
        traj.steps.append(StepRecord(step, intent, action, verdict, latency))
        history.append(f"{step}: {json.dumps(action)} -> {verdict}")

        consecutive_mismatch = consecutive_mismatch + 1 if verdict == "MISMATCH" else 0
        if consecutive_mismatch >= cfg["max_consecutive_mismatch"]:
            traj.failure_reason = "stuck_mismatch_loop"
            return traj

    traj.failure_reason = traj.failure_reason or "step_budget_exhausted"
    return traj

Two design choices deserve explanation. First, the policy must state its intended visible effect before acting. That gives the verifier something concrete to check and gives the failure miner a labeled signal later. Second, done never ends a task on the model's word alone. The caller supplies success_check, a function that inspects the page programmatically.

The outer loop: gated improvement

# improve.py
import copy
import json
import statistics
from pathlib import Path

import yaml

from agent import chat

REGISTRY = Path("harness_registry")


def mine_failures(trajectories: list[dict], limit: int = 15) -> str:
    failed = [t for t in trajectories if not t["success"]]
    lines = []
    for t in failed[:limit]:
        bad = [s for s in t["steps"] if s["verdict"] in ("MISMATCH", "UNCLEAR") or s["verdict"].startswith("ERROR")]
        lines.append(f"TASK: {t['task']}\nREASON: {t['failure_reason']}\nBAD STEPS: {json.dumps(bad[:4])}")
    return "\n\n".join(lines)


def propose(cfg: dict, failure_report: str) -> dict:
    prompt = (
        "You maintain the system prompt of a browser agent. Below are failure reports.\n"
        "Propose ONE minimal edit to the system prompt that addresses a recurring pattern. "
        "Do not add task-specific instructions. Return JSON {\"rationale\": str, \"system_prompt\": str}.\n\n"
        f"CURRENT PROMPT:\n{cfg['system_prompt']}\n\nFAILURES:\n{failure_report}"
    )
    raw = chat(cfg["proposer_model"], [{"role": "user", "content": prompt}], max_tokens=1500)
    start, end = raw.find("{"), raw.rfind("}")
    edit = json.loads(raw[start:end + 1])
    cand = copy.deepcopy(cfg)
    cand["system_prompt"] = edit["system_prompt"]
    cand["version"] = f"{cfg['version']}+1"
    cand["parent"] = cfg["version"]
    cand["rationale"] = edit["rationale"]
    return cand


def gate(baseline: dict[str, list[bool]], candidate: dict[str, list[bool]], margin: float = 0.03,
         max_regressions: int = 1) -> tuple[bool, dict]:
    """Per-task success lists across k seeds. Promote only on mean gain AND bounded regressions."""
    b_rate = statistics.mean(sum(v) / len(v) for v in baseline.values())
    c_rate = statistics.mean(sum(v) / len(v) for v in candidate.values())
    regressions = [t for t in baseline
                   if sum(baseline[t]) / len(baseline[t]) >= 0.67 and sum(candidate[t]) / len(candidate[t]) < 0.34]
    ok = (c_rate - b_rate) >= margin and len(regressions) <= max_regressions
    return ok, {"baseline": b_rate, "candidate": c_rate, "regressions": regressions}


def promote(cand: dict, report: dict) -> None:
    REGISTRY.mkdir(exist_ok=True)
    (REGISTRY / f"{cand['version']}.yaml").write_text(yaml.safe_dump({**cand, "eval": report}))

The gate is deliberately conservative. A candidate must beat the baseline by a margin and it may not break more than one task the baseline reliably solved. The proposer sees only training-split failures. The gate runs only on the held-out split. Mixing those two sets is the fastest way to fool yourself.

Production Gotchas, Edge Cases & Failure Modes

Verifier collusion. If the policy and verifier are the same model with similar prompts, they share blind spots. A common pattern is the verifier approving an action because the after-screenshot "looks like a success page" even though the success page belongs to a different flow. Mitigations: use a different model family for verification when you can, never pass the policy's reasoning to the verifier and prefer programmatic checks for anything checkable.

Screenshot token bloat. Teams often include every prior screenshot in the context "for memory". Context costs grow linearly per step and quadratically per episode. Keep one current frame plus a text history. If you need visual memory, store a cropped region, not the full frame.

Overlay clutter. On dense pages (data tables, admin consoles), 200 numbered boxes make the image unreadable. Cap elements, filter by viewport and let the agent request scroll or a zoomed crop. The max_elements parameter exists for this reason.

Retry storms. The chat helper retries with exponential backoff and the inner loop also re-asks on parse failures. Stack these with a task-level retry in your runner and a single flaky endpoint turns into dozens of calls per step. Put a hard per-episode call budget in the runner, not just a step budget.

Self-improvement overfitting. The proposer tends to add instructions like "If you see the Acme login page, click the blue button." That fixes one training task and adds noise everywhere else. The prompt explicitly forbids task-specific instructions, but you should also diff every candidate and reject edits that mention site names or element labels.

Eval suite rot. Live websites change. A task that passed last week may fail today for reasons unrelated to your. Pin your eval environment: self-hosted apps in Docker (WebArena and VisualWebArena ship this way for exactly this reason) or recorded HAR replays.

Reward hacking at the weight level. If you move to fine-tuning on your own successful trajectories, any weakness in success_check becomes a training signal. The model learns to satisfy the check, not the task. Audit your checks before you ever train on them.

When NOT to use this approach

Do not build a visual agent when a stable API exists. If the target system exposes a REST endpoint, calling it is faster, cheaper and deterministic. Vision is for surfaces that only exist visually.

Do not use autonomous visual agents for irreversible actions (payments, deletions, sending email to customers) without a human confirmation step. The verifier catches mismatches after acting. It cannot undo them.

Do not attempt the outer improvement loop until you have at least a few dozen held-out tasks with programmatic success checks. With ten tasks, a 3% margin is noise and you will promote random variants.

Do not let the system modify its own evaluation suite or gating logic. That is the one component that must stay outside the recursion.

Benchmark Comparison & Cost Tradeoffs

I want to be explicit: the numbers below are estimates derived from stated assumptions, not measurements from a specific deployment. Image token counts and prices vary by provider and change frequently, so plug in your own.

Assumptions: a 1280x800 screenshot costs about 1,500 input tokens after provider tiling. The system prompt plus element legend is about 1,500 tokens. Text history is about 2,000 tokens. The policy outputs about 300 tokens per step. Episodes average 20 steps. Pricing placeholder: $3 per million input tokens and $15 per million output tokens for the policy model. The verifier is a cheaper model at roughly one tenth of that.

Configuration Input tokens / step Policy cost / episode Verifier cost / episode Total / episode
Last 3 screenshots in context, no verifier ~8,000 ~$0.57 $0 ~$0.57
Current screenshot only, no verifier ~5,000 ~$0.39 $0 ~$0.39
Current screenshot + verifier (2 images) ~5,000 ~$0.39 ~$0.02 ~$0.41

The verifier is close to free relative to the policy. That changes the conversation. The real cost driver is context policy (how many frames you carry), not whether you verify.

The outer loop is where costs surprise people:

Outer-loop parameter Value Cost
Held-out suite size 100 tasks
Seeds per task 3
Episodes per candidate eval 300 ~$123 at $0.41/episode
Candidates per cycle 5 ~$615 per improvement cycle
Baseline re-run per cycle (drift control) 300 episodes ~$123
Total per cycle ~$740

For a small team, that is a meaningful monthly line item if you run cycles weekly. Practical levers, in rough order of impact: run candidates first on a 30-task screening subset and only fully evaluate the top one or two, serve the policy from a local open-weights vision model during screening and cache baseline results when the environment is pinned.

Latency follows a simple per-step budget: capture and overlay (a few hundred milliseconds), policy call (typically the dominant term, often several seconds for a vision model), action execution plus settle wait (the code above enforces up to 3.3 seconds) and the verifier call. Measure each term separately using the latency_ms field and per-phase timers. Report p95, not mean, because settle waits on slow pages create a long tail that the mean hides.

Pragmatic Checklist for Monday Morning

  • Replace any raw coordinate actions with element-indexed actions backed by a Set-of-Mark overlay. Grounding failures should drop out of your failure taxonomy first.
  • Require the policy to emit an INTENT line before each action. Log it. It is the cheapest debugging signal you will ever add.
  • Add a verifier call after every state-changing action, using a different prompt and no access to the policy's reasoning.
  • Write a programmatic success_check for every task in your eval set. If you cannot write one, the task does not belong in the gating suite.
  • Split tasks into a training pool (visible to the proposer) and a held-out pool (visible only to the gate). Never move tasks between them casually.
  • Pin your environment with Docker-hosted apps or recorded sessions before you trust any before/after comparison.
  • Cap context to the current frame plus text history. Add frames back only when a measured failure cluster requires it.
  • Add a per-episode LLM call budget in the runner, separate from the step budget.
  • Version every config in a registry with its parent, rationale and eval report. Treat promotions like deploys.
  • Keep the eval suite, the gate logic and the success checks outside the set of things the system is allowed to modify.

References & Further Reading

  • Vision in the Era of Agents: Toward Recursive Self-Improvement (survey on visual agents as models within agent ).
  • Yao et al., "ReAct: Synergizing Reasoning and Acting in Language Models," arXiv:2210.03629.
  • Yang et al., "Set-of-Mark Prompting Extraordinary Visual Grounding in GPT-4V," arXiv:2310.11441.
  • Zheng et al., "GPT-4V(ision) is a Generalist Web Agent, if Grounded" (SeeAct), arXiv:2401.01614.
  • Zhou et al., "WebArena: A Realistic Web Environment for Building Autonomous Agents," arXiv:2307.13854.
  • Koh et al., "VisualWebArena: Evaluating Multimodal Agents on Realistic Visual Web Tasks," arXiv:2401.13649.
  • Xie et al., "OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments," arXiv:2404.07972.
  • Gupta and Kembhavi, "Visual Programming: Compositional Visual Reasoning Without Training" (VisProg), arXiv:2211.11559.
  • SurΓ­s et al., "ViperGPT: Visual Inference via Python Execution for Reasoning," arXiv:2303.08128.
  • Hu et al., "Visual Sketchpad: Sketching as a Visual Chain of Thought for Multimodal Language Models," arXiv:2406.09403.
  • Shinn et al., "Reflexion: Language Agents with Verbal Reinforcement Learning," arXiv:2303.11366.
  • Madaan et al., "Self-Refine: Iterative Refinement with Self-Feedback," arXiv:2303.17651.
  • Wang et al., "Voyager: An Open-Ended Embodied Agent with Large Language Models," arXiv:2305.16291.
  • Zelikman et al., "STaR: Bootstrapping Reasoning With Reasoning," arXiv:2203.14465.
  • Zhang et al., "Darwin GΓΆdel Machine: Open-Ended Evolution of Self-Improving Agents," arXiv:2505.22954.
  • Playwright Python documentation: https://playwright.dev/python/
πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.