npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ab-to-atk

v0.1.0

Published

Convert a Microsoft 365 Agent Builder ZIP export into an editable Microsoft 365 Agents Toolkit declarative-agent project

Readme

Agent Builder package to Microsoft 365 Agents Toolkit project

ab-to-atk is a command-line tool that converts an Agent Builder agent package into a Microsoft 365 Agents Toolkit project. It reads the agent manifest from the package and generates a project with the same capabilities, but in a format that can be opened and edited in VS Code using the toolkit extension. Same agent, more possibilities.

Agent Builder is the fastest and easiest way to create an agent for Microsoft 365 Copilot. Using it's user-friendly interface, you can create an agent in minutes, just write your agent instructions and connect it to your Microsoft 365 data. Simple.

When you build an agent using Agent Builder, the user interface is building up an agent package behind the scenes. This package contains a file called the agent manifest. The manifest is a document that tells Microsoft 365 Copilot what capabilities your agent has. You never see this file, but it is the most important part of your agent. The manifest is what makes your agent work.

You can inspect this file by exporting your agent package by using the Download as ZIP function. Extract the contents of your ZIP and you'll find the declarativeAgent_0.json file. This is the agent manifest.

This is where things get interesting. The manifest is a JSON document that adheres to a specific schema. The schema provides a blueprint for functionality that be used by an agent. When you build an agent using Agent Builder, the capabilites your select are reflected in the manifest, however the user interface does not expose all the functionality that is available in the schema.

This is where Microsoft 365 Agents Toolkit comes in. The toolkit is a VS Code extension that allows you to build agents for Microsoft 365 Copilot. The toolkit exposes the full schema and allows you to build agents with more advanced functionality than what is available in Agent Builder. Such as (as of 31st July 2026):

  • Actions — connect your agent to REST APIs (via OpenAPI), Model Context Protocol (MCP) servers, or Office add-ins so it can do things, not just answer questions. Includes authentication, typed parameters, user confirmation prompts, Adaptive Card responses, and per-response model instructions.
  • Write-enabled capabilitiesEmailActions (triage, supervised send, inbox rules, auto-reply, folder management) and MeetingActions (schedule events, create time-finding polls, surface time insights).
  • Additional knowledge sourcesDataverse tables and ScenarioModels (task-specific models).
  • Connected agents (worker_agents) — delegate work to other declarative agents.
  • Editorial answers — predefined question/answer pairs matched by semantic similarity, for consistent responses to common questions.
  • A disclaimer shown to the user at the start of every conversation.
  • User overrides — toggle controls that let end users enable or disable specific capabilities per session.
  • Finer-grained knowledge scoping — such as restricting Email to specific folders or a shared mailbox, or refining Copilot connector results with Keyword Query Language (KQL) queries (additional_search_terms).

Usage

npx ab-to-atk -f "<path>"

[!IMPORTANT] Requires node ≥ 20

Options

Options:
  -f, --file-path <path>  Agent Builder .zip export (required)
  -o, --output <dir>      Output project directory (default: ./<agent-slug>/)
  -y, --yes               Skip confirmation
  -d, --debug             Print full error stack traces on failure
  --no-color              Disable colour (also honours NO_COLOR)
  --force                 Overwrite a non-empty output dir
  --no-telemetry          Opt out of anonymous telemetry
  -V, --version           Tool version + resolved template version
  -h, --help              Usage

License

MIT