Sundial AgentsThe Sundial Agents extension provides an alternative, more code-focused way of working with AI agents. This doesn't replace chats or spec-driven development. However, it does offer a supplementary workflow intended to help you achieve a flow state while still using LLMs to complete work. For spec-driven development and storing durable decisions and research in code, see the Sundial extension. In this workflow, you and multiple agents work on the same code branch at the same time. Those agents perform asynchronous work or research for you, with the results either in the code or embedded in the code as annotations. Agent tasks are small, self-contained, and fire-and-forget (come back later). Agents are prompted to understand that they are working on a changing codebase with you and other agents and to mitigate accordingly. How it worksEach Sundial agent has a memory, model, and reasoning effort that you control. As you work in code, you can type This brings up a form with the message text box in focus, so you can type the message to the agent and press Enter to submit (or Escape to cancel). This returns your cursor directly to its previous location in the source for a seamless, hands-on-keyboard experience. If you have the Vim plugin installed, it brings you back to Normal mode. Annotated source shows a marker to the left of the source line (kind of like a breakpoint). As your cursor moves between lines, the annotation window (in the lower-right sidebar) switches to that annotation. The agent will then work independently (and asynchronously), periodically sending status updates that you can see in the Sundial agent sidebar. Agents can also annotate other source locations as part of their work, and you can follow these links from your original code annotation. This helps tremendously with code-explanation tasks. When the agent finishes a task, they will post an official response on the annotation. Annotations are tagged to the most recent Git commit. As you navigate the source, you see all annotations alongside the agents' official responses, optionally filtered to the most recent commit. Alternatively, select the Annotations tab in the sidebar to see the entire list of annotations. Sundial Task Types
How it works behind the scenesEach source file has a companion annotation file in the As source changes, the annotations are continuously reanchored to maintain their logical anchor point. A companion CLI (installed via Experimental FeaturesDiff View CommandsAs you work, type
Temp Commit CommandsAs you work, use
VS Code task commandsSundial also contributes no-argument VS Code commands that open the same composer without inserting or deleting a
For example, Sundial Agents panelSundial Editor contributes the Sundial Agents panel to VS Code's right-hand Secondary Side Bar, beside other collaboration surfaces such as Codex and Claude Code. By default, five agents are initialized, but there is no limit to the number of agents you can have active. Each named agent has its own persistent queue. Submitted interactions move independently through waiting, working, and completed, so a busy agent can finish older work in order while other agents continue. A collapsed work card shows its latest status; expand its history to see ordered progress updates. These tend to be less verbose than a typical chat session. You can open the agent session in Codex using a link that opens it automatically in the terminal. Agent controls let you add more named agents, rename them, choose each agent's model and reasoning effort from the provider's current catalog, read current-session status history, open a provider conversation, interrupt current work, reset one provider session, or reset all managed sessions and runtime work together. Agent queues, session records, status histories, and source-annotation companions survive local VS Code restarts under AutosaveThe extension contributes defaults for VS Code's built-in delayed autosave: |