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

@polymind-inc/agent-framework-foundry

v0.3.0

Published

Microsoft Foundry chat client and Hosted Agent hosting adapter for the Agent Framework.

Readme

@polymind-inc/agent-framework-foundry

Constituent package. The supported way to use the Agent Framework is the main @polymind-inc/agent-framework package, which re-exports everything here under @polymind-inc/agent-framework/foundry (and /foundry/hosting) and pins this package to its exact version. Installing this package directly works and resolves to the same modules, but examples and documentation import through the main package.

Microsoft Foundry provider for the Agent Framework: FoundryChatClient talks to a Foundry project (model deployments or server agents) with Microsoft Entra authentication, FoundryMemoryProvider gives an agent persistent memory backed by a Foundry Memory Store, and the @polymind-inc/agent-framework-foundry/hosting subpath publishes an Agent as a Foundry Hosted Agent — ResponsesHostServer over the Responses container protocol, InvocationsHostServer over the Invocations protocol — on the servers implemented by @polymind-inc/agent-framework-agentserver.

npm install @polymind-inc/agent-framework-core @polymind-inc/agent-framework-foundry

# Only needed to host an agent:
npm install @polymind-inc/agent-framework-agentserver

@polymind-inc/agent-framework-agentserver is an optional peer dependency: only the ./hosting subpath needs it, so consumers using just FoundryChatClient can leave it uninstalled.

The hosting subpath also carries FoundryToolbox, which reaches a toolbox registered in the project over MCP. A toolbox publishes two independent things and the class exposes both: getTools() for its tools, and asSkillsProvider() for the Agent Skills it serves. Both ride the same connection, so skills need no separate credential — and loadTools: false gives an agent the skills without exposing the tools.

Known limitations:

  • FoundryToolbox.asSkillsProvider() discovers skills inside the run rather than while the agent is being built, so a CONSENT_REQUIRED refusal raised by discovery fails the turn instead of becoming an oauth_consent_request item. Wiring the toolbox's tools as well — tools: await toolbox.getTools() in the hosted handler's agent factory — makes tools/list meet the same gate during construction, where the host does surface it.
  • Skills served by a toolbox (or any MCP server) carry no runnable scripts: there is no remote-execution protocol behind run_skill_script, so calling it on one answers Script not found.
  • FoundryMemoryProvider targets the preview memory-store API (Foundry-Features: MemoryStores=V1Preview) and implements the routes a context provider needs — search, update, update-result polling, scope deletion, and store creation. Memory items have their own CRUD routes, which are not covered.
  • FoundryResponseStore (the hosted default) keeps the response resource in the Foundry storage service and the background replay log beside the sandbox state — the storage service has no events API — so stream replay after a sandbox recycle fails closed rather than resuming.

Part of Agent Framework for TypeScript — an independent community implementation of the Microsoft Agent Framework programming model. Not an official Microsoft product, and not affiliated with or endorsed by Microsoft. MIT licensed.