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

@agentmark/agentmark-core

v3.3.4

Published

<h1 align="center">AgentMark</h1>

Readme


AgentMark makes it easy for developers to develop, test, and evaluate Agents.

AgentMark makes prompt engineering intuitive by combining familiar Markdown syntax with JSX components, allowing developers to focus on creating reliable Agents. AgentMark seamlessly integrates with your favorite SDK's using our adapters, and currently works in TypeScript and JavaScript, with Python support coming soon.

AgentMark comes with comprehensive tooling included—featuring full type safety, unified prompt configuration, syntax highlighting, loops and conditionals, custom SDK adapters, and support for text, object, image, and speech generation across multiple model providers, even when they don't support native structured output APIs.

Example Prompt

AgentMark MDX Example

AgentMark prompt file example for generating text

Features

| Feature | Description | |---------|-------------| | Multimodal Generation | Generate text, objects, images, and speech from a single prompt file, supporting a wide range of model capabilities. | | Tools and Agents | Extend prompts with custom tools and agentic workflows, enabling API calls, calculations, and multi-step reasoning. | | File Attachments | Attach images and files to prompts for tasks like image analysis, document processing, and more. | | Type Safety | Ensure reliable, type-checked inputs and outputs for prompts using JSON Schema and auto-generated TypeScript types. | | Conditionals, Loops, Props, Filter Functions | Add logic, dynamic data, and transformations to your prompts with powerful JSX-like syntax. | | CLI for running/testing | Run, test, and debug prompts directly from the command line or your editor for rapid iteration. |

Quick Start

Intialize AgentMark

Get started by first initializing your AgentMark app.

npx @agentmark/cli init

Run Prompts

We offer a few ways to run prompts with AgentMark.

  1. Use our AgentMark CLI:

Run .prompt.mdx files directly from the command line using our CLI. This is the quickest way to test and execute your prompts.

# Run a prompt with test props (default)
npx @agentmark/cli run-prompt your-prompt.prompt.mdx

# Run a prompt with a dataset
npx @agentmark/cli run-prompt your-prompt.prompt.mdx -i dataset
  1. Run AgentMark files with your favorite SDK

AgentMark doesn't support any models or calling any LLM providers. Instead, we format the input of your prompt through an adapter to match the input of the SDK you're using.

| Adapter | Description | |-----------|-------------| | Vercel (Recommended) | The Vercel AI SDK. | | Default | Turns prompts into raw JSON, adapt manually to your needs | | Custom | Allows a user to create their own AgentMark adapter to custom adapter format. | | Mastra (Coming Soon) | Coming soon, we'll support the Mastra SDK |

Want to add support for another adapter? Open an issue.

Language Support

We plan on providing support for AgentMark across a variety of languages.

| Language | Support Status | |----------|---------------| | TypeScript | ✅ Supported | | JavaScript | ✅ Supported | | Python | ⚠️ Coming Soon | | Others | Need something else? Open an issue |

Type Safety

AgentMark Studio supports type safety out of the box. Read more about it here.

Contributing

We welcome contributions! Please check out our contribution guidelines for more information.

Community

Join our community to collaborate, ask questions, and stay updated:

License

This project is licensed under the MIT License.