Skip to main content

Enterprise AI assistant with Microsoft ecosystem integration — safe, lightweight, multi-channel

Project description

WorkPilot

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

Most AI coding tools require you to send your code to a third-party cloud. WorkPilot runs entirely on your machine, inside your corporate network. Your source code, credentials, and conversations never leave your infrastructure — yet your team can still reach WorkPilot directly from Microsoft Teams.

CI Python 3.11+


Why WorkPilot for enterprise?

Most AI assistants are cloud-hosted SaaS — acceptable for personal use, not for organizations with data governance requirements. WorkPilot takes the opposite approach:

  • Your infra, your data. The assistant runs on your own machine or VM. Nothing is persisted outside your network.
  • Your identity provider. Authentication flows through Microsoft Entra ID (Azure AD). No separate accounts or API keys to manage.
  • Your compliance posture. Four security profiles (openstandardcontrolledrestricted) let security teams tune autonomy without touching code.
  • Your Microsoft stack. Native Teams bot, Outlook, Graph API, and Azure DevOps integration — WorkPilot lives where your org already works.

Install

Requirements: Python 3.11+

pip install (recommended)

pip install --upgrade workpilot
workpilot version              # verify installation
workpilot init                 # guided setup — creates workpilot.local.yaml
workpilot                      # smart start — init if needed, then launch server

One-click bootstrap

The bootstrap scripts automatically install Python 3.13 if needed, configure pip, install WorkPilot from PyPI, and verify the CLI is on your PATH.

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 PowerShell bootstrap script above.
macOS You may need python3 instead of python. Homebrew: brew install python@3.11
Linux Use your distro's package manager (e.g., sudo apt install python3.11 python3.11-venv) if Python 3.11+ isn't available.

Tip: Using a virtual environment is recommended for isolated installs:

python -m venv .venv && source .venv/bin/activate  # or .venv\Scripts\activate on Windows
pip install workpilot

Teams user? Add WorkPilot to Teams (Microsoft Preview) then run workpilot cloud to bring WorkPilot online.


What it does

Write & edit code Reads, writes, refactors, and debugs across your entire codebase
Run commands Shell, git, tests, build tools — sandboxed with deny-pattern controls
Browse & search Web search, HTTP requests, Playwright browser automation
Talk to Microsoft 365 Teams messages, Outlook email, Graph API, Azure DevOps
Schedule work Cron jobs, event triggers, recurring automated tasks

Three ways to use it

1. Terminal

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

2. Self-hosted web UI

workpilot serve     # http://localhost:3003

Chat UI, REST API, WebSocket, and OpenAI-compatible endpoint — all on your own server.

3. Microsoft Teams + Web Chat

workpilot cloud   # authenticate with Entra ID — Teams messages reach WorkPilot

A stateless Cloud Gateway relays messages between Teams and your machine. Nothing is stored in the cloud. If the assistant is offline, Teams users receive an instant notification with reconnection instructions.


Security architecture

WorkPilot implements defense-in-depth security at every layer:

Access control

  • Entra ID SSO — MSAL authentication for Teams and Web Chat; no passwords, no shared secrets
  • Security profiles — tune the autonomy level across your deployment without modifying code

Runtime protection

  • 3-phase tool hook pipeline — preflight classifiers reject suspicious actions before execution; postflight scanners redact credentials from tool output
  • Security Classifier — a fast secondary LLM reviews every tool call; results are cached for 5 minutes to minimize cost
  • Command sandbox — configurable deny patterns block destructive shell commands (rm -rf, curl | bash, etc.)
  • Path sandbox — workspace restriction and SSRF protection prevent access outside permitted directories

Observability & incident response

  • Audit log — append-only record of every tool call, message, and security event; auto-redacted before writing
  • Secret redaction — API keys, JWT tokens, AWS credentials, and high-entropy strings masked in real time
  • E-stop — global kill switch triggered manually or automatically on credential leak detection; halts all processing and returns 503 on the gateway

Built-in agents

Agent Purpose
default Full-capability orchestrator — user-facing
explorer Fast, read-only search — 10× cheaper, spawned automatically
security Internal Security Classifier — not user-facing

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


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]"        # editable install with all optional deps
pytest tests/ -v
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.6.4.tar.gz (419.4 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.6.4-py3-none-any.whl (486.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for workpilot-0.6.4.tar.gz
Algorithm Hash digest
SHA256 42ea54598fe4fab94631cfe6a71bbb5c740fffc177d2a29078a99fe6599f1b38
MD5 96d479979f05412d065e4a9258b5cc67
BLAKE2b-256 e61888129e5faf99155ef9b16bb92d566d4e44c595f7cd55e4d67252d7633a99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: workpilot-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 486.7 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.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f7db62a6b2ad15dffbed2e011dfc2f7d7e5a942466baee1484ede357dd3f4fa9
MD5 d8746c5063ca3a090129d312480c4cd8
BLAKE2b-256 265c483be671d919bb6fd0996c852c1413c522c30bc3c3d37eecf796865da43d

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