Writing & Contentđ¤claudeđuniversal
AgentV
Light-weight AI agent evaluation and optimization framework
Quick Start
Install this Skill
npx skills add EntityProcess/agentv# AgentV
**CLI-first AI agent evaluation. No server. No signup. No overhead.**
AgentV evaluates your agents locally with multi-objective scoring (correctness, latency, cost, safety) from YAML specifications. Deterministic code judges + customizable LLM judges, all version-controlled in Git.
## Installation
### All Agents Plugin Manager
**1. Add AgentV marketplace source:**
```bash
npx allagents plugin marketplace add EntityProcess/agentv
```
**2. Ask Claude to set up AgentV in your current repository**
Example prompt:
```text
Set up AgentV in this repo.
```
The `agentv-onboarding` skill bootstraps setup automatically:
- verifies `agentv` CLI availability
- installs the CLI if needed
- runs `agentv init`
- verifies setup artifacts
### CLI-Only Setup (Fallback)
If you are not using Claude plugins, use the CLI directly.
**1. Install:**
```bash
npm install -g agentv
```
**2. Initialize your workspace:**
```bash
agentv init
```
**3. Configure environment variables:**
- The init command creates a `.env.example` file in your project root
- Copy `.env.example` to `.env` and fill in your API keys, endpoints, and other configuration values
- Update the environment variable names in `.agentv/targets.yaml` to match those defined in your `.env` file
**4. Create an eval** (`./evals/example.yaml`):
```yaml
description: Math problem solving evaluation
execution:
target: default
tests:
- id: addition
criteria: Correctly calculates 15 + 27 = 42
input: What is 15 + 27?
expected_output: "42"
assert:
- name: math_check
type: code_judge
script: ./validators/check_math.py
```
**5. Run the eval:**
```bash
agentv eval ./evals/example.yaml
```
Results appear in `.agentv/results/eval_<timestamp>.jsonl` with scores, reasoning, and execution traces.
Learn more in the [examples/](examples/README.md) directory. For a detailed comparison with other frameworks, see [docs/COMPARISON.md](docs/COMPARISON.md).
## Why AgentV?
| Feature | AgentV | [LangWatch](https://github.com/langwatch/langwatch) | [LangSmith](https://github.com/langchain-ai/langsmith-sdk) | [LangFuse](https://github.com/langfuse/langfuse) |
|---------|--------|-----------|-----------|----------|
| **Setup** | `npm install agentv` | Cloud account + API key | Cloud account + API key | Cloud account + API key |
| **Server** | None (local) | Managed cloud | Managed cloud | Managed cloud |
| **Privacy** | All local | Cloud-hosted | Cloud-hosted | Cloud-hosted |
| **CLI-first** | â | â | Limited | Limited |
| **CI/CD ready** | â | Requires API calls | Requires API calls | Requires API calls |
| **Version control** | â (YAML in Git) | â | â | â |
| **Evaluators** | Code + LLM + Custom | LLM only | LLM + Code | LLM only |
**Best for:** Developers who want evaluation in their workflow, not a separate dashboard. Teams prioritizing privacy and reproducibility.
## Features
- **Multi-objective scoring**: Correctness, latency, cost, safety in one run
- **Multiple evaluator types**: Code validators, LLM judges, custom Python/TypeScript
- **Built-in targets**: VS Code Copilot, Codex CLI, Pi Coding Agent, Azure OpenAI, local CLI agents
- **Structured evaluation**: Rubric-based grading with weights and requirements
- **Batch evaluation**: Run hundreds of test cases in parallel
- **Export**: JSON, JSONL, YAML formats
- **Compare results**: Compute deltas between evaluation runs for A/B testing
## Development
Contributing to AgentV? Clone and set up the repository:
```bash
git clone https://github.com/EntityProcess/agentv.git
cd agentv
# Install Bun if you don't have it
curl -fsSL https://bun.sh/install | bash
# Install dependencies and build
bun install && bun run build
# Run tests
bun test
```
See [AGENTS.md](AGENTS.md) for development guidelines and design principles.
### Releasing
Stable release:
```bash
bun run release # patch bump
bun run release minor
bun run release major
bun run publish # publish to npm `latest`
```
Prerelease (`next`) channel:
```bash
bun run release:next # bump/increment `-next.N`
bun run release:next major # start new major prerelease line
bun run publish:next # publish to npm `next`
```
## Core Concepts
**Evaluation files** (`.yaml` or `.jsonl`) define test cases with expected outcomes. **Targets** specify which agent/provider to evaluate. **Judges** (code or LLM) score results. **Results** are written as JSONL/YAML for analysis and comparison.
### JSONL Format Support
For large-scale evaluations, AgentV supports JSONL (JSON Lines) format as an alternative to YAML:
```jsonl
{"id": "test-1", "criteria": "Calculates correctly", "input": "What is 2+2?"}
{"id": "test-2", "criteria": "Provides explanation", "input": "Explain variables"}
```
Optional sidecar YAML metadata file (`dataset.eval.yaml` alongside `dataset.jsonl`):
```yaml
description: Math evaluation dataset
dataset: math-tests
execution:
target: azure_base
assert:
- name: correctness
... (truncated)Repository
10stars
0forks
Details
Related Skills
More writing & content skills you might like
gpt-researcher
Writing & ContentGPT Researcher is an autonomous deep research agent that conducts web and local research, producing detailed reports with citations. Use this skill when helping developers understand, extend, debug, or integrate with GPT Researcher - including adding features, understanding the architecture, working with the API, customizing research workflows, adding new retrievers, integrating MCP data sources, or troubleshooting research pipelines.
â¨geminiđ¤claudeđŦgptđuniversal
27.4k
3.7k
View
xiaohu-wechat-format
Writing & ContentClaude Code å
Ŧäŧåˇä¸éŽæį+å叿čŊ | Markdown â 垎äŋĄå
ŧ厚 HTML â æ¨éčį¨ŋįŽą | 30 åĨä¸ģéĸ + å¯č§åįģåģ
đ¤claudeđuniversal
351
42
View
twitter-algorithm-optimizer
Writing & ContentAnalyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights. Rewrite and edit user tweets to improve engagement and visibility based on how the recommendation system ranks content.
â¨geminiđ¤claudeđŦgptâ¨ī¸cursor
77.0k
9.1k
View
yara-rule-authoring
Writing & ContentGuides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.
đuniversal
7.5k
643
View