Skip to content
Work IQ Dev Tools are in preview (v0.12.2). Commands and APIs may change before 1.0. See the installation guide.

Agent lifecycle

Every declarative agent moves through the same set of phases. Work IQ Dev Tools give you one command per phase, and the phases compose into a predictable pipeline you can run locally or in CI.

create ─▶ edit ─▶ validate ─▶ provision ─▶ package ─▶ publish ─▶ monitor
▲ │
└──────────────── iterate ─────────────────────┘

Scaffold a new project from a template.

Terminal window
wiqd agent create --name my-agent

You get a directory with the appPackage/ files described in Declarative agents, plus a m365agents.yml driver file for the lifecycle commands.

Open the project in your editor. Tweak the instructions, add knowledge sources, attach actions, or add conversation starters with the bundled VS Code extension. You can also script edits with wiqd agent add action and wiqd agent add skill.

Catch problems before deploying.

Terminal window
wiqd agent validate # fast static checks
wiqd agent validate --mode deep # full ATK validation

Static mode runs the Microsoft Validation Layer (MVL) engine offline — no network, no auth, sub-second. Deep mode adds the upstream ATK semantic checks. See Validation & MVL.

Deploy the agent to an environment. The first run creates the M365 app registration; subsequent runs update it.

Terminal window
wiqd agent provision --env local

Build the distributable .zip for sideloading or upload.

Terminal window
wiqd agent package

Push the package to the org catalog so other users can install it.

Terminal window
wiqd agent publish --env prod

Once the agent is live, query its usage and health, then loop back to step 2.

Terminal window
wiqd agent monitor # ask the Insights Agent
wiqd agent ask -q "..." # send a test prompt
wiqd agent eval # run quality evaluations

A few commands sit outside the linear pipeline but you’ll use them often:

  • wiqd agent show — glanceable summary of what’s in a project (local) or a deployed agent (remote).
  • wiqd agent env — manage environment definitions.
  • wiqd agent share — give other users access during development.
  • wiqd agent delete — tear down cloud resources.