How Execution Works

When you give Demi a task, a lot happens behind the scenes. Here's a look at how Demi breaks down your request, executes each step, and delivers the result.

Visualization of the Demi task pipeline from request through planning, tools, approval, to result

From Request to Result

Every task follows the same reliable process. Demi takes your request, figures out what needs to happen, does the work, and reports back. Here is how each stage works:

  1. 1

    Demi creates a plan

    As soon as you submit a task, Demi analyzes your request and builds a step-by-step plan. Each step maps to a specific action -- reading your calendar, searching the web, drafting an email, creating a spreadsheet, and so on. You can see the full plan in the progress view.

  2. 2

    Each step uses a tool

    Demi works through the plan one step at a time. Each step uses a "tool" -- a connection to one of your services. For example, a step might use the Calendar tool to read your meetings, then the Email tool to draft a message with that information. Tools include calendar, email, web search, spreadsheets, project management, and more.

  3. 3

    Sensitive actions need your approval

    If a step involves a sensitive action -- like sending an email or creating a calendar event -- Demi pauses and asks for your approval before proceeding. You see a preview of exactly what Demi is about to do, and you decide whether to approve, edit, or cancel. Read-only actions like checking your calendar or searching the web proceed automatically.

  4. 4

    Demi delivers the result

    Once all steps are complete, Demi packages the result and sends it to you. Depending on the task, this could be an email in your inbox, a spreadsheet attachment, a notification on your Watch, or a summary in the chat interface.

The Progress View

While Demi works, you can follow along in real time. The progress view shows every step in the plan along with its current status:

  • Pending -- the step has not started yet
  • Running -- Demi is actively working on this step right now
  • Completed -- the step finished successfully
  • Failed -- something went wrong (Demi will try to recover automatically)

You can view progress from both the Apple Watch and the iPhone app. The Watch gives you a quick glance at overall status, while the iPhone shows the full details of each step.

Confidence Score

After a task completes, Demi assigns a confidence score that reflects how well the task was executed. A higher score means Demi is more certain the result is accurate and complete. If the score is lower, it usually means some data was limited or a step did not return ideal results -- Demi will note what happened so you can decide if the output meets your needs.

Automatic Recovery

Things do not always go perfectly -- an API might be temporarily unavailable or a search might return no results. When a step fails, Demi does not just give up. It automatically retries the step or adjusts the plan to work around the issue. This process is called replanning, and it happens transparently. You will see the updated steps in your progress view, but you do not need to do anything.

Tip

You can watch Demi work in real time from both your Apple Watch and iPhone. Tap an active task to see the live progress view with each step updating as it completes. It is surprisingly satisfying to watch.