Skip to content

Design a mini-grid with the agent

The design flow runs the plant workflow for you. You describe the community. The agent works through eleven steps, saves each result to the project and asks only what it cannot know. You can pause it, steer it, change any input and ask about any figure.

Build compatibility

The design flow ships in Phasor 0.8.0. It needs a configured AI provider under Settings → Assistant. The screenshots show the development application; the figures are an example, not a verified plant.

A finished design flow: the agent's steps on the left, the review on the right

A finished design flow: the agent's steps on the left, the review on the right

Start a flow

  1. Open Projects → New plant design and choose Design with the agent. In an existing plant project, use Design with the agent on the plant overview.
  2. Write the brief. Name the community and its location, what the plant should use and what matters. For example: Solar mini-grid for Gbondoi, Bong County. About 400 homes, a clinic and a school. Keep diesel as backup only.
  3. Set what you already know: demand, reliability, sources and whether to design the network. Leave a choice on Let the agent choose when you have no evidence for it.
  4. Pick the model and select Start design.

Starting the flow grants the agent permission for this design: it searches places, buildings, weather and roads online, and saves its work to the project without a card for each action. The grant shows in the header. Revoke ends it; later fetches and saves then ask again.

Follow the steps

The rail on the left groups the steps in three phases.

PhaseSteps
Site & demandBrief, Site, Customers, Demand
EnergyWeather, Plant, Simulate, Optimize
DeliveryNetwork, Finance, Review

Each finished step shows its headline figure: connections, peak demand, plant ratings, share served, cost of energy, network length and capital. Select a step to open its result. Follow the agent returns to the step it is working on.

  • Steer. Type in the composer while the agent works. It reads your message before its next step.
  • Answer. When the agent needs a decision, a card appears on the rail. Your answer continues the flow.
  • Pause. Pause stops the agent after its current tool call. Resume carries on from the same step.
  • Retry. A blocked step says why it stopped. Fix the cause, or pick another model, then Retry.
  • Change a step. Change on a done step reopens it. Every later step that depends on it is marked stale and is redone.

The review closes the flow. It gives the verdict in one line, the headline figures and the assumptions the agent picked where the brief was silent. Read the assumptions before you use the result.

Change a finished design

Ask for the change in the composer: raise the tariff to 0.60 USD/kWh, make the battery 350 kWh, add two linemen. Your request is the approval while the grant stands. The agent changes the design in place and reruns only the steps the change touches. A tariff edit reruns Finance; a new battery size re-simulates the plant and reruns Finance. The review records each change in one line, with the figures that moved.

Edit the inputs yourself

Every step has a Results tab and an Inputs tab. Inputs lists what produced the result: the plant sizes and unit costs, the demand classes, the network limits, the tariffs, staffing and financing terms.

The Plant step's Inputs tab, with sizes, unit costs and fuel price

The Plant step's Inputs tab, with sizes, unit costs and fuel price

  1. Click a figure and type the new value. The field checks it against its limits and shows the old value struck through.
  2. Make as many edits as you need, across steps. The tray at the bottom lists them and the steps that will rerun.
  3. Select Save and rerun, or Discard.

On the Site step, select Edit to drag the site pin or the corners of the site boundary. On the Network step, you can move the plant's position. A map edit previews what it reruns before anything moves.

The app reruns the mechanical steps itself, without a model turn. A step that needs judgment, such as rebuilding a demand profile from appliances, goes back to the agent, which picks it up from there. A size you type stays fixed: the plant is re-simulated at that size, never re-optimized over it. A new boundary re-optimizes the plant unless you fixed the sizes.

Edits wait while the agent works. Pause it first.

Ask about a result

Select a figure or a section in any result, or Ask on a card, to attach it to your next message. Ask the agent to explain it, check it or improve it. The selection rides with the message as a chip, so the agent reads exactly what you pointed at.

Start a new conversation

The flow keeps its own conversation. New conversation in the Agent pane starts a fresh one; the design, its decisions and its change log stay, and the agent still reads them. Earlier lists the flow's past conversations and opens any of them again.

What leaves your computer

The numerical work runs locally. AI requests send the flow's state, your messages and the tool results to your configured provider. Place search, mapped buildings and roads come from OpenStreetMap services, and weather from NASA POWER. See AI assistant for provider setup and how approvals work.

The agent's design is a starting point that you check. Its assumptions, unit costs and demand basis are visible on each step, and every workbench opens on what it built.