Google has launched Conductor, an open supply preview extension for Gemini CLI that turns AI code era right into a structured, context pushed workflow. Conductor shops product data, technical selections, and work plans as versioned Markdown contained in the repository, then drives Gemini brokers from these recordsdata as an alternative of advert hoc chat prompts.
From chat primarily based coding to context pushed growth
Most AI coding right this moment is session primarily based. You paste code right into a chat, describe the duty, and the context disappears when the session ends. Conductor treats that as a core drawback.
As a substitute of ephemeral prompts, Conductor maintains a persistent context listing contained in the repo. It captures product targets, constraints, tech stack, workflow guidelines, and elegance guides as Markdown. Gemini then reads these recordsdata on each run. This makes AI habits repeatable throughout machines, shells, and group members.
Conductor additionally enforces a easy lifecycle:
Context → Spec and Plan → Implement
The extension doesn’t bounce immediately from a pure language request to code edits. It first creates a monitor, writes a spec, generates a plan, and solely then executes.
Putting in Conductor into Gemini CLI
Conductor runs as a Gemini CLI extension. Set up is one command:
gemini extensions set up https://github.com/gemini-cli-extensions/conductor --auto-updateThe --auto-update flag is non-compulsory and retains the extension synchronized with the newest launch. After set up, Conductor instructions can be found inside Gemini CLI if you find yourself in a challenge listing.
Undertaking setup with /conductor:setup
The workflow begins with challenge stage setup:
This command runs an interactive session that builds the bottom context. Conductor asks in regards to the product, customers, necessities, tech stack, and growth practices. From these solutions it generates a conductor/ listing with a number of recordsdata, for instance:
conductor/product.mdconductor/product-guidelines.mdconductor/tech-stack.mdconductor/workflow.mdconductor/code_styleguides/conductor/tracks.md
These artifacts outline how the AI ought to motive in regards to the challenge. They describe the goal customers, excessive stage options, accepted applied sciences, testing expectations, and coding conventions. They reside in Git with the remainder of the supply code, so adjustments to context are reviewable and auditable.
Tracks: spec and plan as top notch artifacts
Conductor introduces tracks to symbolize items of labor equivalent to options or bug fixes. You create a monitor with:
or with a brief description:
/conductor:newTrack "Add darkish mode toggle to settings web page"For every new monitor, Conductor creates a listing below conductor/tracks/<track_id>/ containing:
spec.mdplan.mdmetadata.json
spec.md holds the detailed necessities and constraints for the monitor. plan.md comprises a stepwise execution plan damaged into phases, duties, and subtasks. metadata.json shops identifiers and standing info.
Conductor helps draft spec and plan utilizing the present context recordsdata. The developer then edits and approves them. The necessary level is that every one implementation should observe a plan that’s express and model managed.
Implementation with /conductor:implement
As soon as the plan is prepared, you hand management to the agent:
Conductor reads plan.md, selects the subsequent pending activity, and runs the configured workflow. Typical cycles embody:
- Examine related recordsdata and context.
- Suggest code adjustments.
- Run exams or checks based on
conductor/workflow.md. - Replace activity standing in
plan.mdand internationaltracks.md.
The extension additionally inserts checkpoints at part boundaries. At these factors Conductor pauses for human verification earlier than persevering with. This retains the agent from making use of giant, unreviewed refactors.
A number of operational instructions assist this move:
/conductor:standingexhibits monitor and activity progress./conductor:evaluatehelps validate accomplished work in opposition to product and elegance pointers./conductor:revertmakes use of Git to roll again a monitor, part, or activity.
Reverts are outlined by way of tracks, not uncooked commit hashes, which is simpler to motive about in a multi change workflow.
Brownfield initiatives and group workflows
Conductor is designed to work on brownfield codebases, not solely contemporary initiatives. Once you run /conductor:setup in an current repository, the context session turns into a solution to extract implicit data from the group into express Markdown. Over time, as extra tracks run, the context listing turns into a compact illustration of the system’s structure and constraints.
Staff stage habits is encoded in workflow.md, tech-stack.md, and elegance information recordsdata. Any engineer or AI agent that makes use of Conductor in that repo inherits the identical guidelines. That is helpful for imposing take a look at methods, linting expectations, or authorised frameworks throughout contributors.
As a result of context and plans are in Git, they are often code reviewed, mentioned, and adjusted with the identical course of as supply recordsdata.
Key Takeaways
- Conductor is a Gemini CLI extension for context-driven growth: It’s an open supply, Apache 2.0 licensed extension that runs inside Gemini CLI and drives AI brokers from repository-local Markdown context as an alternative of advert hoc prompts.
- Undertaking context is saved as versioned Markdown below
conductor/: Information likeproduct.md,tech-stack.md,workflow.md, and code fashion guides outline product targets, tech decisions, and workflow guidelines that the agent reads on every run. - Work is organized into tracks with
spec.mdandplan.md:/conductor:newTrackcreates a monitor listing containingspec.md,plan.md, andmetadata.json, making necessities and execution plans express, reviewable, and tied to Git. - Implementation is managed by way of
/conductor:implementand track-aware ops: The agent executes duties based onplan.md, updates progress intracks.md, and helps/conductor:standing,/conductor:evaluate, and/conductor:revertfor progress inspection and Git-backed rollback.
Take a look at the Repo and Technical particulars. Additionally, be at liberty to observe us on Twitter and don’t overlook to affix our 100k+ ML SubReddit and Subscribe to our Publication. Wait! are you on telegram? now you’ll be able to be a part of us on telegram as nicely.
