Skip to main content

Enterprise AI assistant — internal preview only

Project description

WorkPilot

WorkPilot

An autonomous AI assistant that codes, communicates, and ships across your entire Microsoft stack — proactively and securely.

CI Python 3.11+ Docs

Website · Documentation · Changelog · Add to Teams


WorkPilot runs entirely on your machine. Your source code, credentials, and conversations never leave your infrastructure — yet your team can reach it directly from Microsoft Teams, a browser, or the terminal.

Terminal Web Chat Teams

Why WorkPilot?

Principle Details
Your infra, your data Runs on your machine or VM — nothing persisted outside your network
Your identity provider Entra ID (Azure AD) SSO — no separate accounts or API keys to manage
Your compliance posture Four security profiles (openstandardcontrolledrestricted)
Your Microsoft stack Native Teams bot, Outlook, Graph API, Azure DevOps integration

Install

pip install workpilot
workpilot init          # guided setup
workpilot               # smart start — init if needed, then launch
One-click bootstrap (auto-installs Python 3.13 if needed)

Windows (PowerShell):

irm https://aka.ms/workpilot/install.ps1 | iex

macOS / Linux:

curl -fsSL https://aka.ms/workpilot/install.sh | bash
Platform notes
Platform Notes
Windows If workpilot isn't found after install, ensure %APPDATA%\Python\Python3x\Scripts is on your PATH, or use the bootstrap script.
macOS You may need python3 instead of python. Homebrew: brew install python@3.11
Linux sudo apt install python3.11 python3.11-venv if Python 3.11+ isn't available.

Tip: Using a virtual environment is recommended:

python -m venv .venv && source .venv/bin/activate
pip install workpilot

Three ways to use it

Terminal

workpilot chat               # interactive REPL
workpilot run "write tests"  # one-shot

Self-hosted web server

workpilot serve              # http://localhost:3003

Chat UI, REST API, WebSocket, and OpenAI-compatible /v1/chat/completions — all on your own server.

Microsoft Teams + Web Chat

workpilot cloud              # authenticate with Entra ID

A stateless Cloud Gateway relays messages between Teams and your machine over outbound WSS. Nothing is stored in the cloud.

Teams user? Add WorkPilot to Teams (Preview) then run workpilot s to bring it online.

What it does

Capability Details
Code Read, write, edit, refactor, and debug across your entire codebase
Shell Run commands, git, tests, build tools — sandboxed with deny-pattern controls
Browse Web search, HTTP requests, Playwright browser automation (36 actions)
Microsoft 365 Teams messages, Outlook email, calendar, Graph API, Azure DevOps
Delegate Spawn sub-agents; delegate to GitHub Copilot or Claude Code in background
Skills Markdown prompt overlays with auto-activation — 7 bundled, create your own
MCP Connect external tool servers — namespaced tools, progressive loading, auto-reconnect
Schedule Cron jobs, event triggers, heartbeat tasks, recurring automation

Built-in agents

Agent Model Purpose
default auto Full-capability orchestrator — user-facing, spawns sub-agents
explorer fast Read-only codebase search — 10× cheaper, spawned automatically
security fast Internal Security Classifier — evaluates tool calls (not user-facing)

5 templates (coder, reviewer, tester, researcher, communicator) can be enabled per-project in workpilot.yaml.

Security

WorkPilot implements defense-in-depth at every layer:

Layer Mechanisms
Access control Entra ID SSO · 4 security profiles · per-agent permissions · RBAC roles
Runtime protection 3-phase tool hook pipeline · Security Classifier (fast LLM) · command sandbox · path sandbox · SSRF protection
Incident response Append-only audit log · secret redaction · credential leak detection · E-stop (auto or manual)

Architecture

Terminal / Web UI / Teams
        │
   Message Bus (bounded queues + typed events)
        │
   Agent Loop ──── Tool Registry ──── Skills (auto-inject)
   │    │               │
   │    │          MCP Servers
   │    │
   │   LLM Provider (OpenAI SDK + circuit breaker + cost tracking)
   │
   Security Pipeline (preflight → execute → postflight)

See design/core-infra.md for the full architecture spec.

Development

git clone https://github.com/gim-home/WorkPilot.git
cd WorkPilot
pip install -e ".[dev]"        # editable install with dev dependencies
pip install -e ".[all]"        # all optional deps (browser, scheduler, etc.)
pytest tests/ -v               # 1500+ tests
python -m ruff check && python -m ruff format

All changes via pull request. Never push directly to main.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

workpilot-0.11.4.tar.gz (508.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

workpilot-0.11.4-py3-none-any.whl (581.4 kB view details)

Uploaded Python 3

File details

Details for the file workpilot-0.11.4.tar.gz.

File metadata

  • Download URL: workpilot-0.11.4.tar.gz
  • Upload date:
  • Size: 508.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for workpilot-0.11.4.tar.gz
Algorithm Hash digest
SHA256 bc5e35b440bb0b0b3fc90c4ee0095e08887e6429d38a13af72e68fede98e61dc
MD5 7c57857ead1fac73a802545c4fe4baa0
BLAKE2b-256 9b8dc7434c323b3aca7cf914abcacf6959acd13d889c20af2253f74171507ff9

See more details on using hashes here.

File details

Details for the file workpilot-0.11.4-py3-none-any.whl.

File metadata

  • Download URL: workpilot-0.11.4-py3-none-any.whl
  • Upload date:
  • Size: 581.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for workpilot-0.11.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d6c94b3a0137d77446067253f0da85e25a573c93e9319b1628fd6a25d7cbf09f
MD5 2c4c45b0689dd094a52eafaf7ad68140
BLAKE2b-256 a531add4ad32544dd829a0b1584682b536e8535f3d698d370e8f8e8506046891

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page