Developer Studio

Autonomous Coding Agent Studio & Pull Request Automation

The Autonomous Coding Agent Studio is the central developer desk for prompt-driven codebase refactoring, automated multi-file bug remediation, AST symbol targeting, syntax validation, and 1-click Pull Request creation.

Generic Autonomous Model Allocation
Developers no longer need to manually pick or guess internal tier levels. The autonomous router calculates AST graph complexity, file scope cardinality, and task intent to autonomously assign the optimal model from your live OpenRouter catalog.

1. End-to-End Autonomous Lifecycle

From prompt entry to an opened GitHub/GitLab Pull Request, the Agent Studio executes a seamless 6-step lifecycle:

Step Phase Action & Automation
1 Scope & AST Targeting Target isolated files, specific symbols (e.g. handle_webhook), or entire repository trees.
2 Autonomous Model Assignment Multi-factor routing allocates the optimal frontier or specialized model without user guesswork.
3 Execution & Live Telemetry Expanded terminal displays live elapsed stopwatch, agent beacon, model badge, and real-time logs.
4 Completion & Diff Inspection Celebratory banner reports duration and file counts; line-by-line syntax-highlighted diff displays changes.
5 Git Branch & Commit Applies diff to disk, checks out remedai/patch-<hex>, and commits changes locally.
6 Pull Request Generation Submits Pull Request with automated title and body; publishes event to the bus and renders PR tracking card.

2. Key Studio Capabilities

Live Telemetry Terminal

The Studio includes an enlarged, high-visibility telemetry terminal featuring:

In-Flight Execution Cancellation

Next to the Run Autonomous Remediation button, a prominent Stop Agent button is available during execution. Backed by a React AbortController hooked into the API client signal, aborting immediately halts HTTP requests, resets the system state, and logs a clean cancellation event.

Unified Diff Viewer

The code diff viewer provides full visual clarity before any code touches the repository:

3. Automated Git & Pull Request Generation

When you click Apply Patch & Open Pull Request, the API Gateway orchestrates Git operations:

bash — Automated Git Branch & Commit
# 1. Dedicated feature branch created automatically
git checkout -b remedai/patch-f601da

# 2. Files modified by autonomous patch staged
git add apps/api-gateway/app/main.py

# 3. Commit authored with task summary
git commit -m "Autonomous Fix: Add error logging to webhook handler [remedai/patch-f601da]"

# 4. Pull Request created & tracked in UI
# PR #3759 (OPEN) -> remedai/patch-f601da into main
Interactive Pull Request Card
Once opened, an interactive Pull Request Card appears in the desk with live status (OPEN), branch routing, commit SHA, a link to the external repository, and a 4-step progress tracker: Branch Created ➔ Patch Committed ➔ PR Submitted ➔ CI Checks Queued.