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.

Quickstart

Quickstart: Create Your First Agent in 5 Minutes

Section titled “Quickstart: Create Your First Agent in 5 Minutes”

This guide walks you through creating, validating, provisioning, and sharing a declarative agent for Microsoft 365 Copilot.

Install wiqd and all dependencies with a single command:

Terminal window
iex "& { $(irm 'https://aka.ms/wiqd/install.ps1') }"

This installs Node.js (if needed), the wiqd CLI, ATK, and the VS Code extension.

Sign in to your Microsoft 365 account:

Terminal window
wiqd auth login --interactive

Verify your session:

Terminal window
wiqd auth status

Scaffold a new agent project from a template:

Terminal window
wiqd agent create --name my-first-agent

This creates a new directory my-first-agent/ with the agent manifest and supporting files.

Validate the agent manifests to catch errors before deployment:

Terminal window
wiqd agent validate --path my-first-agent

A clean validation returns exit code 0 with no errors.

Deploy the agent to your development environment:

Terminal window
wiqd agent provision --path my-first-agent

This packages and uploads your agent to Microsoft 365.

Share the agent with specific users:

Terminal window
wiqd agent share --scope users --email colleague@contoso.com --path my-first-agent

Or share across the entire tenant:

Terminal window
wiqd agent share --scope tenant --path my-first-agent

Instead of running each command yourself, you can drive the entire lifecycle through Copilot CLI in interactive mode. The --agent wiqd:wiqd flag routes your request to the wiqd orchestrator, which handles skill routing, lifecycle orchestration, and next-step suggestions end-to-end:

Terminal window
copilot -i "create a new declarative agent" --agent wiqd:wiqd
copilot -i "validate my agent" --agent wiqd:wiqd
copilot -i "deploy my agent locally" --agent wiqd:wiqd