Skip to content

API Overview

The ArtemisKit Core library allows you to embed LLM evaluation directly in your code.

  • Test frameworks — Integrate with Jest, Vitest, or Mocha
  • Custom tooling — Build your own evaluation pipelines
  • Programmatic control — Fine-grained configuration
import { Evaluator, createProvider } from '@artemiskit/core';
const provider = createProvider('openai', {
apiKey: process.env.OPENAI_API_KEY,
model: 'gpt-5',
});
const evaluator = new Evaluator({ provider });
const result = await evaluator.runCase({
id: 'math-test',
prompt: 'What is 2+2?',
expected: {
type: 'contains',
values: ['4'],
mode: 'any',
},
});
console.log(result.passed); // true
import { createMatcher } from '@artemiskit/jest';
const evaluateLLM = createMatcher({
provider: 'openai',
model: 'gpt-5',
});
describe('Chatbot', () => {
it('answers math questions', async () => {
const response = await chatbot.ask('What is 2+2?');
await expect(response).toPassEvaluation({
type: 'contains',
values: ['4'],
mode: 'any',
});
});
});

Join the waitlist to be notified when the API is released.