
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@agentmark-ai/cli
Advanced tools
The command-line tool for developing, testing, and evaluating AI agents with AgentMark.
npm install -g @agentmark-ai/cli
Or use it directly with npx:
npx @agentmark-ai/cli dev
# Scaffold a new project
npm create agentmark@latest
# Start the dev server (API + trace UI + hot reload)
agentmark dev
# Run a prompt with its test props
agentmark run-prompt my-prompt.prompt.mdx
# Run an experiment against a dataset
agentmark run-experiment my-prompt.prompt.mdx
agentmark devStart the local development environment: API server, webhook server, and trace UI.
agentmark dev
agentmark dev --api-port 9418 --app-port 3000
agentmark dev --remote # Connect to AgentMark Cloud (login + trace forwarding)
agentmark dev --tunnel # Expose webhook server publicly
The dev server auto-detects your project language (TypeScript or Python), finds your virtual environment, and handles port conflicts automatically.
agentmark run-prompt <filepath>Execute a single prompt and display the result.
# Run with test props from the prompt's frontmatter
agentmark run-prompt customer-support.prompt.mdx
# Run with custom props
agentmark run-prompt customer-support.prompt.mdx --props '{"customer_question": "Where is my order?"}'
# Run with props from a file
agentmark run-prompt customer-support.prompt.mdx --props-file test-data.json
Output includes the LLM response, token usage, cost, and a link to the trace in the local UI.
agentmark run-experiment <filepath>Run a prompt against every item in its dataset, with optional evaluations.
# Run with evals (default)
agentmark run-experiment my-prompt.prompt.mdx
# Skip evals
agentmark run-experiment my-prompt.prompt.mdx --skip-eval
# Output as JSON instead of table
agentmark run-experiment my-prompt.prompt.mdx --format json
# Fail if pass rate is below 80%
agentmark run-experiment my-prompt.prompt.mdx --threshold 80
Output formats: table (default), csv, json, jsonl.
agentmark buildPre-compile .prompt.mdx files into JSON for production use with the file loader.
agentmark build
agentmark build --out dist/prompts
agentmark generate-typesGenerate TypeScript type definitions from your prompts for type-safe usage in code.
agentmark generate-types
agentmark generate-schemaGenerate a JSON Schema for .prompt.mdx frontmatter, enabling IDE validation and autocomplete.
agentmark generate-schema
agentmark generate-schema --out .agentmark
agentmark pull-modelsInteractively select and add LLM models from a provider to your agentmark.json.
agentmark pull-models
agentmark login / agentmark logoutAuthenticate with AgentMark Cloud.
agentmark login
agentmark logout
agentmark linkLink your project to an AgentMark Cloud app for trace forwarding.
agentmark link
agentmark link --app-id <uuid>
Full documentation at docs.agentmark.co.
FAQs
Agentmark's CLI
We found that @agentmark-ai/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.