Getting Started
Getting Started
Section titled “Getting Started”Get ArtemisKit CLI running in under 5 minutes.
Prerequisites
Section titled “Prerequisites”- Node.js 18+ or Bun 1.0+
- An API key for your LLM provider (OpenAI, Azure, Anthropic, etc.)
Step 1: Install
Section titled “Step 1: Install”npm install -g @artemiskit/cliOr with other package managers:
# Bunbun add -g @artemiskit/cli
# pnpmpnpm add -g @artemiskit/cli
# Yarnyarn global add @artemiskit/cliVerify installation:
artemiskit --version# or use the shorthandakit --versionStep 2: Set Up API Key
Section titled “Step 2: Set Up API Key”export OPENAI_API_KEY="sk-your-api-key"Or for other providers:
# Anthropicexport ANTHROPIC_API_KEY="sk-ant-..."
# Azure OpenAIexport AZURE_OPENAI_API_KEY="your-key"export AZURE_OPENAI_RESOURCE_NAME="your-resource"export AZURE_OPENAI_DEPLOYMENT_NAME="your-deployment"Step 3: Create Your First Scenario
Section titled “Step 3: Create Your First Scenario”Create a file called hello-world.yaml:
name: hello-worlddescription: My first ArtemisKit testprovider: openaimodel: gpt-5
cases: - id: basic-math prompt: "What is 2 + 2?" expected: type: contains values: - "4" mode: any
- id: greeting prompt: "Say hello in a friendly way" expected: type: contains values: - "hello" - "hi" - "hey" mode: anyStep 4: Run the Test
Section titled “Step 4: Run the Test”artemiskit run hello-world.yamlOr use the shorthand:
akit run hello-world.yamlYou’ll see output like:
Running scenario: hello-world ✓ basic-math (234ms) ✓ greeting (189ms)
Results: 2/2 passed (100%)Step 5: Save and View Results
Section titled “Step 5: Save and View Results”Generate an HTML report:
akit run hello-world.yaml --saveThis creates files in artemis-output/:
run_manifest.json— Complete run data- A timestamped report file
Step 6: Create a Config File (Optional)
Section titled “Step 6: Create a Config File (Optional)”For consistent settings across runs, create artemis.config.yaml:
provider: openaimodel: gpt-5
providers: openai: apiKey: ${OPENAI_API_KEY} timeout: 60000
output: format: json dir: ./artemis-outputNow you can run scenarios without specifying provider/model each time:
akit run hello-world.yamlNext Steps
Section titled “Next Steps”- Scenario Format — Learn the full scenario syntax
- Expectations — Explore all expectation types
- Commands — See all CLI options
- CI/CD Integration — Automate in your pipeline