Understand Operation Modes

On top of the standard Agentic AI Coding tool modes Ad-Hoc Mode and Plan Mode, ASE adds three distinct operation modes to provide even more flexibility and power.

Operation Modes

Advanced Operation Modes

Direct Mode: The more advanced variant of the Ad-Hoc Mode, where the agent directly modifies artifacts, but where the underlying ASE tenets are still applied and honored and optionally the prompt and its intent can be relentlessly "grilled" as in Task Mode. Additionally, the right approach can optionally be also selected explicitly, the results can be optionally verified, the operation can be looped until it converges, and the changes can be isolated in a Git worktree.

Task Mode: The more advanced variant of the Plan Mode, where the user initially crafts and then continuously refines a task plan. The task plan has a fixed format and is persisted and hence is available across agent sessions. The most prominent feature is that the task plan can be relentlessly "grilled" to ensure that the later implementation by the AI really meets the intentions of the user. Afterwards, the task plan can be drafted, implemented, and finally integrated, either step by step interactively or even fully autonomously.

Sync Mode: The separated reconciliation mode where the user aligns the code and documentation to the specification and architecture ("forward engineering") or even aligns the specification and architecture to the code and documentation ("reverse engineering"). Additionally, information from foreign sources can be imported into the artifacts, and the specification can be exported into ready-to-consume renderings like HTML or PDF.

Your Task Management

In the ASE Task Mode, every task plan is a persisted artifact which flows through the states of a task lifecycle model. Follow the tasks live on a task board and let autonomous agents drive them through the pipeline, while the engineers stay in charge of the decisions.

Task State Lifecycle Models

Lifecycles from Solo to Enterprise

The lifecycle of a task is modelled through its states, and ASE provides three pre-defined lifecycle models for this. The Solo model is based on a single activity phase and intended for the local use of a solo developer. The Team model is based on the two activity phases Planning and Implementation and intended for a small team of developers.

The Enterprise model is based on the four activity phases Planning, Implementation, Qualification, and Integration and intended for an enterprise where engineers and agents act in a gated development pipeline. Each phase has an activity state (like IMPLEMENTING), a resting state for its success (like IMPLEMENTED), and a resting state for its failure (like STALLED). In each phase, either an engineer acts and an agent prepares, or an agent acts and an engineer handles the escalations.

Shell
❯ase config set project.task.lifecycle enterprise
❯ase task list
❯ase task status foo PLANNED

Live Task Boards

Task Boards in Terminal and Browser

The task board shows all tasks of the project live and is identically rendered both in the terminal and in the browser. The lanes view shows the tasks Kanban-style in the lanes of the phases and states of the lifecycle model, where the tasks can be directly transitioned, edited, and created. The graph view shows the dependencies between the tasks and their grouping into epics.

The stats view gives insights into the project through the task state distribution, the throughput, the task progress, the AI and human usage tracking, the effort estimations, and the efficiency metrics. Additionally, the board passes prompt-driven edit, estimate, and research requests to the agents.

Shell
❯ase task board --web
❯ase task board
Web task board: lanes view
Terminal task board: lanes view
Web task board: graph view
Terminal task board: graph view
Web task board: stats view
Terminal task board: stats view

Autonomous Agents

Agents Driving the Enterprise Pipeline

For the Enterprise lifecycle model, autonomous agents drive the tasks headless from the planned to the integrated state, each one running in its own process. The implementer claims the PLANNED tasks and implements them into their change sets (IMPLEMENTED, else STALLED). The qualifier reviews the IMPLEMENTED tasks and either leaves the final decision to the engineer or decides by its verdict (QUALIFIED, else DECLINED). The integrator lands the change sets of the QUALIFIED tasks into their targets (INTEGRATED, else DEFERRED).

In the Planning phase, the researcher, rebooter, and condenser agents research, re-create, and condense the drafted task plans, the estimator estimates their effort, and the editor processes the edit requests of the task boards. A fleet supervises all agents, restarts every exited one, and passes their live presence to the task boards, where the agent-graph view shows the agents along the lifecycle model and the agent-logs view shows their operations.

Web task board: agent graph view
Terminal task board: agent graph view
Web task board: agent logs view
Terminal task board: agent logs view
Shell
❯ase agent fleet init
❯vi .ase/fleet.yaml
❯ase agent fleet start

Your Specification Workflows

ASE allows both agile and traditional specification. For this, it allows you to use both small-scale, free-form user-stories and/or large-scale, strictly structured specifications. Choose the specification "weapon" which fits best for you!

Free-Form User-Story

User-Story Task

The simple and agile approach to development is to iteratively work through many small user-stories, each specifying an individual feature. Every user-story is realized as a task in ASE.

Claude Code

Checked Specification

Specification Model

The complex and traditional approach to development is to model the solution with a strictly structured and legally binding specification. Such specifications are realized as SpecBook models in ASE.

Claude Code
❯/ase-spec-edit --grill […]
❯/ase-sync-reconcile --source SPEC --target CODE,DOCS

Your Coding Workflows

ASE is based on individual skills which can both be sequentially triggered and partially also automatically chained. This way typical practical workflows can be realized. The following shows typical coding workflows in the Agentic AI Coding tool Anthropic Claude Code CLI.

Which coding workflow to choose depends on the requirements, the desired pros and the acceptable cons. ASE does not mandate a particular coding workflow as the particular tasks of Software Engineers are too different. In practice, one needs nearly all coding workflows, each one at a certain time.

Ad-Hoc Prompt

Simple Prompting

The simplest approach is a straight and ad-hoc instruction, as provided by Anthropic Claude Code CLI already without ASE in its standard mode. The pro is its simplicity, the con is its weakness due to missing detail decisions. Use for simple ad-hoc tasks only.

Claude Code
❯Create "hello" CLI command which prints "Hello World" in red to the terminal

Direct Mode #1

Quick & Dirty I

The simple quick & dirty approach in ASE is the Direct Mode, which borrows underlying instructions from the ASE Task Mode, but works without the ceremony of the ASE Task Mode. The pro is its speed, the con is that it might require subsequent ad-hoc adjustment promptings, as the expressed intent is still not "grilled" and no "verification" of the result is done. Use for simple and clear ad-hoc tasks only.

Claude Code
❯/ase-code-edit Create "hello" CLI command which prints "Hello World" in red to the terminal

Direct Mode #2

Quick & Dirty II

The advanced quick & dirty approach in ASE is the Direct Mode where the right approach is selected and the expressed intent is "grilled" and the results are verified. The pro is its decent balance between higher speed and good result quality, the con is that it requires more interaction. Use for medium-complex tasks.

Claude Code
❯/ase-code-edit --approach --grill --verify Create "hello" CLI command which prints "Hello World" in red to the terminal

Plan Mode

Simple Planning

The advanced approach is to use the standard plan mode, as provided by Anthropic Claude Code CLI already without ASE. The pro is its convenience and possibility to interactively add detail decisions, the con is its weakness when it comes to multiple plans: these cannot easily co-exist and be edited in parallel. Use for medium-complex tasks under ad-hoc planning.

Claude Code
❯/plan
❯Create "hello" CLI command which prints "Hello World" in red to the terminal
❯(3) Change output color to blue
❯(3) Use NPM package "chalk" for coloring
❯(1) (Yes, and use auto mode)

Task Mode #1

Advanced Planning

The advanced approach is the ASE Task Mode. The pro is that its plans can easily co-exist and be edited in parallel, the con is its weakness because crafting / resolution / refactoring tenets are not internalized by the LLM and hence cannot guide the operation. Use for complex tasks under explicit planning.

Claude Code
❯/ase-task-edit Create "hello" CLI command which prints "Hello World" in red to the terminal
❯Change output color to blue
❯Use NPM package "chalk" for coloring
❯IMPLEMENT (dialog selection)
❯DELETE (dialog selection)

Task Mode #2

Professional Planning

The professional approach is the ASE Task Mode, based on various ASE task skills for grilling the plan and drafting its implementation. The pro is that the plan becomes more robust and the result more foreseeable, the con is its necessary extra steps. Use for complex tasks where extra "thinking before acting" is desired.

Claude Code
❯/ase-task-edit Create "hello" CLI command which prints "Hello World" in red to the terminal
❯Change output color to blue
❯Use NPM package "chalk" for coloring
❯GRILL (dialog selection)
❯DRAFT (dialog selection)
❯IMPLEMENT (dialog selection)
❯DELETE (dialog selection)

Sync Mode

Artifact Reconciliation

The artifact reconciliation approach updates the CODE and DOCS artifacts based on (changed) information in the SPEC artifacts. The pro is its precise grounding and batch operation, the con is its requirement for using a specification-driven development approach. Use for very complex projects where explicit specifications drive the development.

Claude Code
❯/ase-sync-reconcile --source SPEC --target CODE,DOCS
npm install -g @rse/ase && ase setup install