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

create-foundry-ui-app

v0.5.0

Published

Scaffold a new Foundry UI app — AG-UI protocol + Microsoft Agent Framework + Azure Foundry, ready to run.

Readme

create-foundry-ui-app

Create a Foundry UI agent app: React chat UI, AG-UI protocol, Microsoft Agent Framework, and Microsoft Foundry.

Foundry UI is built by iLoveAgents.

Create An App

npx create-foundry-ui-app my-agent-app
cd my-agent-app
cp agent/.env.example agent/.env
az login
pnpm dev

Open http://localhost:8010.

Set these in agent/.env:

FOUNDRY_PROJECT_ENDPOINT=https://<account>.services.ai.azure.com/api/projects/<project>
FOUNDRY_MODEL=gpt-5.4

The generated app starts:

  • UI: http://localhost:8010
  • Agent service: http://localhost:8020
  • AG-UI endpoint: /api/agent

The first screen is the chat. The bundled agent can call hello_world and get_weather.

Theme The App

Generated apps default to Foundry UI for both the shell title and browser title. Change branding, logos, colors, radius, and fonts through the theme layers in src/main.tsx.

Two Ways To Use It

| Mode | Use when | Update story | | ---------------------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | Package-backed app | You want central Foundry UI fixes and a small local app surface. | Keep the generated app and update @iloveagents/foundry-* packages with your package manager. | | GitHub template / copy | You want to fully own and reshape the app. | Copy the generated app into your own template repo. You can customize everything, but you manually pull upstream ideas. |

The package-backed path updates shared UI, shell, theme resources, and AG-UI transport through npm packages. It does not overwrite local files like agent/app/tools.py, src/main.tsx, or your README.

Requirements

  • Node.js 22+
  • pnpm
  • uv
  • Azure CLI for local az login

Add Tools

Add Agent Framework tools in agent/app/tools.py and include them in AGENT_TOOLS.

AGENT_TOOLS = [hello_world, get_weather, my_new_tool]

The generated AGENTS.md explains the local project contract for coding agents. CLAUDE.md imports it for Claude Code.

Options

| Flag | Description | | ----------------- | -------------------------------------------- | | --preset <name> | Preset to scaffold from. Default: default. | | --no-install | Skip dependency install. | | --force | Scaffold into a non-empty directory. |

Presets

| Preset | What you get | | ------------ | --------------------------------------------------------------------------------------- | | default | Chat-first Foundry UI app with FastAPI Agent Framework service and hello/weather tools. | | foundry-iq | Default plus an Azure AI Search Foundry IQ knowledge base retrieval tool. |

Packages

The starter consumes the Foundry UI packages from npm:

  • @iloveagents/foundry-web-shell - browser shell and bootstrapShell
  • @iloveagents/foundry-web-ui - chat UI, AG-UI adapter, tool panels, theme resource
  • @iloveagents/foundry-web-primitives - shared UI primitives
  • @iloveagents/foundry-agent - AG-UI client transport

The packages publish built ESM JavaScript and .d.ts declarations. The generated Vite app is already configured to scan their Tailwind classes from the package dist folders.

Source: iLoveAgents/foundry-ui.

License

MIT