karenina-manual

Replay pre-recorded LLM responses through karenina's full verification pipeline using ManualAdapter.

13|3|Updated Jun 27, 2025
One-click install
npx skills add https://github.com/biocypher/karenina --skill karenina-manual-biocypher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: karenina-manual
Source: https://github.com/biocypher/karenina/tree/main/skills/karenina-manual
Command: npx skills add https://github.com/biocypher/karenina --skill karenina-manual-biocypher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve? Evaluating pre-recorded or externally generated LLM responses normally requires either re-running live models (expensive, non-deterministic) or bypassing the evaluation pipeline entirely. This Skill lets you feed stored traces into karenina's complete verification pipeline—parsing, template verification, and rubric evaluation—without making live answering-model API calls. ## Core Features & Use Cases - Trace Replay via ManualAdapter: Register pre-recorded responses as strings, karenina port messages, or LangChain message lists, keyed by question text or MD5 hash. - Full Pipeline Execution: Only the answer-generation stage is intercepted; validation, autofails, abstention/sufficiency checks, parsing, verification, and rubric stages all run identically to live runs. - CLI and Python Support: Run via karenina verify --interface manual --manual-traces traces.json or programmatically with ManualTraces and ModelConfig(interface="manual"). - Use Case: Capture responses from a live benchmark run once, then iterate on answer templates or compare parsing judge models repeatedly at zero generation cost. ## Quick Start Ask the agent to run a karenina manual evaluation by registering your pre-recorded answers as ManualTraces for your benchmark questions and running verification with interface set to manual and a live parsing model configured.

Frequently Asked Questions about karenina-manual

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate pre-recorded LLM responses with karenina?

Register the responses with ManualTraces linked to your benchmark, then set interface="manual" on the answering ModelConfig and run benchmark.run_verification. The full pipeline runs normally; only answer generation reads from your trace store.

What is the difference between karenina manual interface and TaskEval?

The manual interface operates inside the benchmark pipeline using ManualAdapter, requiring questions and checkpoints. TaskEval operates outside the pipeline for free text without a benchmark, such as spot-checking production logs or human-written text.

What trace formats does ManualTraces accept?

ManualTraces accepts plain strings, karenina port message lists, and LangChain message lists. You can register traces by exact question text with map_to_id=True or directly by the 32-character MD5 hash of the question.

Does the karenina manual interface support MCP tools?

No. Setting mcp_urls_dict on a manual ModelConfig raises a ValueError. The manual adapter supports neither tools nor MCP because traces are precomputed and there is no tool loop or structured-output schema.

Why do my manual traces disappear after loading a saved preset?

The manual_traces field is excluded from ModelConfig serialization, so traces are not persisted with presets. You must re-register traces with ManualTraces after loading a saved configuration.