
learn-agent
A collection of notes on building coding agents, derived from the production development of the desktop agent Reina, with each mechanism simplified into a zero-dependency, single-file Node.js demo.
It seamlessly integrates two powerful AI coding tools (Claude Code and Codex) into Grok Build, enabling complex code generation and analysis without leaving the Grok interface, while providing safety defaults and clean background task management.
grok-delegate is a Grok Build plugin that hands work to local Claude Code or Codex while you stay in the Grok session.
The delegate runs as a normal background task: tools and progress stream into the task log, the result comes back when it finishes, and canceling the task stops the engine’s whole process group so nothing is left orphaned.
This repository is the Grok Build Extras marketplace. The installable plugin package is under plugins/delegate/.
▶ Full demo (MP4, ~49s) · also in-repo as assets/demo.mp4
Two slash commands — /delegate-claude and /delegate-codex — that hand a job to the matching local CLI without leaving Grok. Progress shows up in the background-task pane the same way any other long Grok job does: starting, thinking, tool, writing, completed. When the run finishes, the answer is in that task. When you cancel it, the companion stops the whole engine process group so nothing is left running in the background.
Both commands share the same actions:
| Action | Intent | Can write files? |
|---|---|---|
setup | Check that the CLI is installed, authenticated, and what models it knows about | No |
overview | Map the repo — purpose, layout, entry points | No |
review | Review the current git scope for concrete problems | No |
adversarial | Same as review, with a deliberately skeptical brief | No |
rescue | Implement a specific change | Yes, under the defaults below |
Put flags before --. Everything after -- is focus text for the delegate, never options. Models and effort levels are read from your installed CLIs at runtime, not hard-coded in the plugin.
/delegate-claude setup
/delegate-codex setup
/delegate-claude overview --model sonnet --effort low --trust-project --
/delegate-codex review --model gpt-5.6-sol --effort high -- focus on auth
/delegate-claude rescue --model opus --effort high -- fix the flaky pagination test
/delegate-codex rescue -- implemen
Grok Build plugin: hand work to local Claude Code or Codex as a background task
Similar projects matched by category, topics, and programming language.

A collection of notes on building coding agents, derived from the production development of the desktop agent Reina, with each mechanism simplified into a zero-dependency, single-file Node.js demo.
Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.
OpenClaude is an open-source CLI coding agent that runs on any platform and supports a wide range of LLM providers, offering the same tools and workflows as Claude Code.