Credentials. The HTTPS token, SSH key, or OAuth grant you connect lets the workspace push to your remote repository.
Who it is forA developer who lets Codex CLI or Claude Code edit a Git repository and wants to review every change before it leaves the server.
The problemAgent edits land in the working tree, and it is easy to commit or push changes you have not read.
The outcomeYou review per-file diffs in the workspace, commit the ones you accept, and open a PR or MR from the same place.
What you need first
- A Linux server (x86_64 or arm64) with systemd and a local Docker Engine
- A Claude or Codex subscription, API key, or compatible relay account
- A browser on your laptop, desktop, or phone
- Optional: a Git repository and HTTPS token, SSH key, or GitHub or GitLab OAuth for pushing and opening PRs or MRs
Steps
- Create a workspace from your Git repository and select a Codex or Claude account.
- Describe the change in Chat and let the agent edit files.
- Open Changes and review the diff for each file.
- Configure a Git connection with an HTTPS token, SSH, or GitHub or GitLab OAuth.
- Commit the accepted changes, preview the push, then push and open the PR or MR.
Prompt for your agent
Using the agentbox repo at github.com/devilcoolyue/agentbox, run a workspace on <server-host> against the repository <repo-url>. Ask the agent to make the change <task>, then list every changed file and its diff summary before any commit. Verify that nothing is pushed until the diffs are approved.
Caveat. The README describes the diff and PR flow but does not say how the agent is prevented from editing files before you review them, so review the Changes panel before you commit.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for devilcoolyue/agentbox and "Review agent changes per file and open a PR"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer