{"_id":"@agentmark/prompt-core","_rev":"5-1e5a79b1ccee76560ddcd0f6976a6963","name":"@agentmark/prompt-core","dist-tags":{"latest":"0.3.0"},"versions":{"0.0.1":{"name":"@agentmark/prompt-core","version":"0.0.1","license":"MIT","_id":"@agentmark/prompt-core@0.0.1","maintainers":[{"name":"rrandall","email":"ryan@agentmark.co"},{"name":"kashi11","email":"kashif.ali@carbonteq.com"}],"dist":{"shasum":"cafda9e0f38136c2df694b267a6d24ce096caf66","tarball":"https://registry.npmjs.org/@agentmark/prompt-core/-/prompt-core-0.0.1.tgz","fileCount":9,"integrity":"sha512-Va2i4FILgkAEAhETZyMN7Md/vXarCtP9GxTP3JBiwFezSefMpkwCEtYJAHDuunvLW/I9NMX82u88TIx2hVErcQ==","signatures":[{"sig":"MEYCIQCOLVNrYlIXSQZFtm6GrGN2msxQQc2iVI+M6cuNOYEDQAIhAOaxUdwMTBnN9B5uPU4cn/MLqjTIigjhdVXzQVuZzmdf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7168492},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"5fe2746cc0c1838cc792b4056a257c925f6e2a04","scripts":{"test":"vitest run","build":"tsup && npx cpy ../../README.md ../../assets ./","test:watch":"vitest"},"_npmUser":{"name":"rrandall","email":"ryan@agentmark.co"},"_npmVersion":"10.5.0","description":"<h1 align=\"center\">AgentMark</h1>","directories":{},"_nodeVersion":"21.7.3","dependencies":{"zod":"^3.23.8","@agentmark/templatedx":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^4.0.0","tsup":"^8.3.5","react":"^18.3.1","dotenv":"^16.5.0","vitest":"^3.0.8","cpy-cli":"^5.0.0","typescript":"^5.6.2","@types/node":"^22.8.1","@types/react":"^18"},"peerDependencies":{"ai":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/prompt-core_0.0.1_1761157360182_0.38297180024670374","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@agentmark/prompt-core","version":"0.1.0","license":"MIT","_id":"@agentmark/prompt-core@0.1.0","maintainers":[{"name":"rrandall","email":"ryan@agentmark.co"},{"name":"kashi11","email":"kashif.ali@carbonteq.com"}],"dist":{"shasum":"823a55e607e1084e9c2729ba0878b54f4845afbb","tarball":"https://registry.npmjs.org/@agentmark/prompt-core/-/prompt-core-0.1.0.tgz","fileCount":10,"integrity":"sha512-jFCOCSFsSkhWLzPE6zbvaPj3aWqa0ZBUyGGksMI9BFA7C37EvdnHNeY5+hEJ4zOxiZodPvSbYJT1dXy74EGsGA==","signatures":[{"sig":"MEYCIQDtClP5nCGcpwTS8zGV8fvz4aKOPITYyxRLDY7bmIv5MQIhAIfNehm5mFoT+g3vlHxDyFoS/plstJqf7d/3lwybCDCZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7434934},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"574a6c50497e2223ffa315ac5034c92e6e57e20f","scripts":{"test":"vitest run","build":"tsup && npx cpy ../../README.md ../../assets ./","test:watch":"vitest"},"_npmUser":{"name":"rrandall","email":"ryan@agentmark.co"},"_npmVersion":"10.5.0","description":"<h1 align=\"center\">AgentMark</h1>","directories":{},"_nodeVersion":"21.7.3","dependencies":{"zod":"^3.23.8","@agentmark/templatedx":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^4.0.0","tsup":"^8.3.5","react":"^18.3.1","dotenv":"^16.5.0","vitest":"^3.0.8","cpy-cli":"^5.0.0","typescript":"^5.6.2","@types/node":"^22.8.1","@types/react":"^18"},"peerDependencies":{"ai":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/prompt-core_0.1.0_1762289995572_0.9913151038365244","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agentmark/prompt-core","version":"0.1.1","license":"MIT","_id":"@agentmark/prompt-core@0.1.1","maintainers":[{"name":"rrandall","email":"ryan@agentmark.co"},{"name":"kashi11","email":"kashif.ali@carbonteq.com"}],"dist":{"shasum":"64b6cefc5fa3df6e046808e98c8e3715f4a5cce7","tarball":"https://registry.npmjs.org/@agentmark/prompt-core/-/prompt-core-0.1.1.tgz","fileCount":10,"integrity":"sha512-wA2s3MvdByObJPwf/zuSx0cFDfQAf5Gca45kOnCPx3XIKSSfqe3m3F6FXGC8U0T83hrOKMMQ9aI/XMwHLiAESw==","signatures":[{"sig":"MEUCIQDHqfug519ckAVElxk03VzT1BJxkWj4PzGOkXad3vaPIgIgJlPqh6txx0vM6a+W2sVVLEOOWYZV0/XwMnA/N+7XC6M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7435866},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"b4d0a8584a2789f0108aae54c265804e8079b7c5","scripts":{"test":"vitest run","build":"tsup && npx cpy ../../README.md ../../assets ./","test:watch":"vitest"},"_npmUser":{"name":"rrandall","email":"ryan@agentmark.co"},"_npmVersion":"10.5.0","description":"<h1 align=\"center\">AgentMark</h1>","directories":{},"_nodeVersion":"21.7.3","dependencies":{"zod":"^3.23.8","@agentmark/templatedx":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^4.0.0","tsup":"^8.3.5","react":"^18.3.1","dotenv":"^16.5.0","vitest":"^3.0.8","cpy-cli":"^5.0.0","typescript":"^5.6.2","@types/node":"^22.8.1","@types/react":"^18"},"_npmOperationalInternal":{"tmp":"tmp/prompt-core_0.1.1_1764040144848_0.33544737664827373","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@agentmark/prompt-core","version":"0.2.0","license":"MIT","_id":"@agentmark/prompt-core@0.2.0","maintainers":[{"name":"rrandall","email":"ryan@agentmark.co"},{"name":"kashi11","email":"kashif.ali@carbonteq.com"}],"dist":{"shasum":"2a98c5a9b55e84af3c406a0af612d49411217c21","tarball":"https://registry.npmjs.org/@agentmark/prompt-core/-/prompt-core-0.2.0.tgz","fileCount":10,"integrity":"sha512-BKG0D6caJqAurEl+C8piXDPx8I98H7SXYksXNXKdv2XQcjx7LM3psZ4Di0o2HC9+iMDjgP+wVSVvu1H8AdKjVA==","signatures":[{"sig":"MEQCIFk1YrEDpmQMATAn0h9n+OLUzV3Km3l0KgIl6egRcMK3AiAHUWy9h7BaVCI7QV7H2maUxASkr2fJyPqyk8OynmFgkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7444360},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"f144dece226c67b42cd3b8541a401a0ffcfe3703","scripts":{"lint":"eslint .","test":"vitest run","build":"tsup && npx cpy ../../README.md ../../assets ./","test:watch":"vitest"},"_npmUser":{"name":"rrandall","email":"ryan@agentmark.co"},"_npmVersion":"10.5.0","description":"<h1 align=\"center\">AgentMark</h1>","directories":{},"_nodeVersion":"21.7.3","dependencies":{"zod":"^3.23.8","@agentmark/templatedx":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","react":"^18.3.1","dotenv":"^16.5.0","vitest":"^3.0.8","cpy-cli":"^5.0.0","typescript":"^5.6.2","@types/node":"^22.8.1","@types/react":"^18"},"_npmOperationalInternal":{"tmp":"tmp/prompt-core_0.2.0_1764084235890_0.3386992845044987","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@agentmark/prompt-core","version":"0.3.0","license":"MIT","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./test-utils":{"import":{"types":"./dist/test-utils.d.ts","default":"./dist/test-utils.js"},"require":{"types":"./dist/test-utils.d.cts","default":"./dist/test-utils.cjs"}}},"scripts":{"test":"vitest run","test:watch":"vitest","build":"tsup && npx cpy ../../README.md ../../assets ./","lint":"eslint ."},"devDependencies":{"@agentmark/loader-file":"*","@types/node":"^22.8.1","@types/react":"^18","cpy-cli":"^5.0.0","dotenv":"^16.5.0","react":"^18.3.1","tsup":"^8.3.5","typescript":"^5.6.2","vitest":"^3.0.8"},"dependencies":{"@agentmark/templatedx":"^0.8.1","zod":"^3.23.8"},"_id":"@agentmark/prompt-core@0.3.0","gitHead":"e3da4db1291bf8e854898fa735c945d81d01e56f","description":"<h1 align=\"center\">AgentMark</h1>","_nodeVersion":"21.7.3","_npmVersion":"10.5.0","dist":{"integrity":"sha512-Zo5UT8WZM2JfGYL+f794aw1apqDeH9sDTvYkztcZNGgSBwfJa5APo1ICQxYS+egnAUPinINreqn3ARj9xPOcag==","shasum":"c29bd175b5d007ebccd96d17df09195936903818","tarball":"https://registry.npmjs.org/@agentmark/prompt-core/-/prompt-core-0.3.0.tgz","fileCount":16,"unpackedSize":14333192,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDiQyJOtlGJUBpPaeRmqGiCLmgGeZGnjEjMdvXe8Ghg4AIgJ7+kILcmtQzebk1wzw1qE4ogCJySxVgMx1s1z8ZMbwQ="}]},"_npmUser":{"name":"rrandall","email":"ryan@agentmark.co"},"directories":{},"maintainers":[{"name":"rrandall","email":"ryan@agentmark.co"},{"name":"kashi11","email":"kashif.ali@carbonteq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/prompt-core_0.3.0_1764513065306_0.42053362166964914"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-22T18:22:40.078Z","modified":"2025-11-30T14:31:05.793Z","0.0.1":"2025-10-22T18:22:40.398Z","0.1.0":"2025-11-04T20:59:55.832Z","0.1.1":"2025-11-25T03:09:05.056Z","0.2.0":"2025-11-25T15:23:56.129Z","0.3.0":"2025-11-30T14:31:05.581Z"},"license":"MIT","description":"<h1 align=\"center\">AgentMark</h1>","maintainers":[{"name":"rrandall","email":"ryan@agentmark.co"},{"name":"kashi11","email":"kashif.ali@carbonteq.com"}],"readme":"<h1 align=\"center\">AgentMark</h1>\n\n<p align=\"center\">\n  <a href=\"https://github.com/agentmark-ai\">\n    <picture>\n      <source media=\"(prefers-color-scheme: light)\" srcset=\"https://i.imgur.com/j7nNMip.png\">\n      <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://i.imgur.com/j7nNMip.png\">\n      <img src=\"https://i.imgur.com/j7nNMip.png\" alt=\"AgentMark Logo\" width=\"200\">\n    </picture>\n  </a>\n</p>\n\n<p align=\"center\">\n  <strong>Markdown for the AI Era. Develop, test, and evalaute your AI Agents.</strong>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.agentmark.co\">Homepage</a> |\n  <a href=\"https://discord.gg/P2NeMDtXar\">Discord</a> |\n  <a href=\"https://docs.agentmark.co/agentmark/\">Docs</a>\n</p>\n\n---\n\n**AgentMark makes it easy for developers to develop, test, and evaluate Agents**.\n\n![AgentMark MDX Example](/assets/agentmark.png)\n\n## Features\n\n| Feature | Description |\n|---------|-------------|\n| [Multimodal Generation](https://docs.agentmark.co/agentmark/generation_types/overview) | Generate text, objects, images, and speech from a single prompt file, supporting a wide range of model capabilities. |\n| [Datasets](https://docs.agentmark.co/agentmark/datasets/overview) | Create a collection of inputs and expected outputs to test your prompts and agents in readable JSONL format. |\n| [Evals](https://docs.agentmark.co/agentmark/testing/evals) | Assess the quality/output of your prompts with our eval support |\n| [CLI](https://docs.agentmark.co/agentmark/running_prompts/cli) | Run prompts and experiments directly from the command line or your editor for rapid iteration. |\n| [Tools and Agents](https://docs.agentmark.co/agentmark/prompt_basics/tools-and-agents) | Extend prompts with custom tools and agentic workflows. |\n| [JSON Output](https://docs.agentmark.co/agentmark/prompt_basics/tools-and-agents) | AgentMark supports structured Object/JSON output through JSON Schema definitions. |\n| [File Attachments](https://docs.agentmark.co/agentmark/prompt_basics/file-attachments) | Attach images and files to prompts for tasks like image analysis, document processing, and more. |\n| [Type Safety](https://docs.agentmark.co/agentmark/running_prompts/type-safety) | Ensure reliable, type-checked inputs and outputs for prompts using JSON Schema and auto-generated TypeScript types. |\n| [Reusable Components](https://docs.agentmark.co/agentmark/prompt_basics/reusable-components) | Import and reuse components across your prompts.|\n| [Conditionals](https://docs.agentmark.co/agentmark/prompt_basics/conditionals), [Loops](https://docs.agentmark.co/agentmark/prompt_basics/loops), [Props](https://docs.agentmark.co/agentmark/prompt_basics/props), [Filter Functions](https://docs.agentmark.co/agentmark/prompt_basics/filter_functions) | Add logic, dynamic data, and transformations to your prompts with powerful JSX-like syntax. |\n| [MCP Servers](https://docs.agentmark.co/agentmark/prompt_basics/mcp) | AgentMark supports calling Model Context Protocol (MCP) tools directly from your prompts. | \n\n## Quick Start\n\n### Intialize AgentMark\n\nGet started by first initializing your AgentMark app.\n\nInstall:\n`npm create agentmark@latest`\n\n### Run Prompts\n\nWe offer a few ways to run prompts with AgentMark.\n\n1. Use our AgentMark CLI:\n\nRun `.prompt.mdx` files directly from the command line using our CLI. This is the quickest way to test and execute your prompts.\n\n```bash\n# Run a prompt with test props (default)\nagentmark run-prompt your-prompt.prompt.mdx\n\n# Run a prompt with a dataset\nagentmark run-experiment your-prompt.prompt.mdx\n```\n\n2. Run AgentMark files with your favorite SDK\n\nAgentMark 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.\n\n| Adapter   | Description |\n|-----------|-------------|\n| [Vercel](https://docs.agentmark.co/agentmark/running_prompts/vercel) | The Vercel AI SDK. |\n| [Mastra](https://docs.agentmark.co/agentmark/running_prompts/mastra) | The Mastra SDK |\n| [LlamaIndex](https://docs.agentmark.co/agentmark/running_prompts/llamaindex) | The LLamaIndex SDK |\n| [Fallback](https://docs.agentmark.co/agentmark/running_prompts/fallback)   | Turns prompts into raw JSON, adapt manually to your needs |\n\nWant to add support for another adapter? Open an [issue](https://github.com/agentmark-ai/agentmark/issues).\n\n## Language Support\n\nWe plan on providing support for AgentMark across a variety of languages.\n\n| Language | Support Status |\n|----------|---------------|\n| TypeScript | ✅ Supported |\n| JavaScript | ✅ Supported |\n| Python | ⚠️ Coming Soon |\n| Others | Need something else? [Open an issue](https://github.com/agentmark-ai/agentmark/issues) |\n\n## Type Safety\n\nAgentMark Studio supports type safety out of the box. Read more about it [here](https://docs.agentmark.co/platform/further_reference/type-safety).\n\n## Contributing\n\nWe welcome contributions! Please check out our [contribution guidelines](https://github.com/agentmark-ai/agentmark/blob/main/CONTRIBUTING.md) for more information.\n\n## Cloud Platform\n\n[AgentMark Cloud](agentmark.co) extends this OSS project, and allows you to:\n\n1. Collaborate with teammates on prompts and datasets\n2. Run experiments\n3. Persist your telemetry data\n4. Annotate and evaluate your data\n5. Setup alerts for quality, latency, cost, and more\n6. View high-level metrics for your agents\n7. Setup two-way syncing with your Git repo\n\n## Community\n\nJoin our community to collaborate, ask questions, and stay updated:\n\n- [Discord](https://discord.gg/P2NeMDtXar)\n- [Issues](https://github.com/agentmark-ai/agentmark/issues)\n\n## License\n\nThis project is licensed under the [MIT License](https://github.com/agentmark-ai/agentmark/blob/main/LICENSE.md).","readmeFilename":"README.md"}