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

@intentface/latch-agent-builder

v0.12.0

Published

Latch agent builder — the meta-agent that designs, creates, and updates agents from a conversation. Host-agnostic core with an extension seam (evals, tool authoring) so hosts plug in what they support.

Readme

@intentface/latch-agent-builder

Agents defined as data, plus the meta-agent that writes that data. Ship a product where users create and edit their own agents in a chat, without deploying code.

What it does

  • AgentRecordSchema (@intentface/latch-agent-builder/record) — one zod schema for what an agent is: name, scope, instructions, model, connections, and capability flags under exec (sandbox, memory, authored tools, reasoning effort). The model that writes a record, the editor a user types into, and the validator that guards the save all speak this one shape. The subpath is zod-only and browser-safe, so a form can import it.
  • normalizeAgentRecord / parseAgentRecord — the canonical form: name normalization, trimming, deduped memory targets, dropped blanks. Cross-field rules live in the schema, so an org-scoped memory config on a user-scoped agent is rejected once, not in three places.
  • createAgentBuilder — the meta-agent. It reads the host's models, connections and chat history to make grounded proposals, then creates and updates agents through a host-supplied store. Mutations are gated with user-approval, so a user sees the exact spec before it persists.
  • AgentBuilderStore — the storage seam. @intentface/latch-drizzle ships an implementation; a host with its own tables can satisfy it directly.
  • AgentBuilderExtension — the feature seam. Evals, tool authoring, memory schemas and connection management plug in as extensions, so a host without the feature gets a builder that never mentions it.

Usage

import { createAgentBuilder } from "@intentface/latch-agent-builder";

const builder = createAgentBuilder<Principal>({
  model,
  // Lazy and per-principal, so the composition root has no import cycle.
  deps: async (principal) => ({ runtime, store, models, connections }),
  extensions: [evalsExtension, toolAuthoringExtension],
});

Register it like any other agent, and the records it writes resolve into live agents through the store.

Where it fits

Sits on @intentface/latch-core — the records it produces become agent factories the runtime can run. Pair it with @intentface/latch-drizzle for the store.