VS Code Extension

AgentMark provides a VS Code extension that allows you to run prompts and evaluate results directly in your editor. This is the recommended way to develop and test your prompts locally.

Installation

You can install the extension from the VS Code marketplace: AgentMark VS Code Extension

Features

  • Run prompts directly from your editor
  • View prompt results in real-time
  • Test different model configurations
  • Debug prompt execution
  • Integrated with AgentMark’s type safety features

Usage

Once installed, you can:

  1. Open any AgentMark .prompt.mdx file
  2. Click the “Run” button in the top right corner of the file
  3. View the results in the integrated output panel

Configuration

The extension can be configured through VS Code settings:

{
  "agentmark.defaultModel": "gpt-4",
  "agentmark.apiKey": "your-api-key",
  "agentmark.enableTelemetry": true
}

Best Practices

  1. Use the extension during local development
  2. Test different model configurations
  3. Enable telemetry for debugging
  4. Use the integrated output panel to analyze results

Have Questions?

We’re here to help! Choose the best way to reach us: