# Shipyard Documentation

<p align="center">
  <strong>The evaluation harness and execution engine for autonomous AI agents.</strong>
</p>

<p align="center">
  <span class="badge badge-amber">alpha 0.0.2</span>
  <span class="badge">Go 1.22+</span>
  <span class="badge badge-purple">ATIF v1.0</span>
  <span class="badge badge-green">Sandboxed</span>
</p>

---

Shipyard is a high-performance CLI tool and evaluation harness designed for running, sandboxing, and scoring autonomous AI coding and workflow agents.

## What You Can Do

<div class="card-grid">
  <div class="card">
    <h3>Run Any Agent</h3>
    <p>Benchmark CLI agents (Claude Code, Codex, Aider), direct LLM models (OpenAI, Anthropic, Gemini, DeepSeek, Ollama), or Python/TypeScript agents with a single command.</p>
  </div>
  <div class="card">
    <h3>Safe Sandboxing</h3>
    <p>Execute agent tasks safely inside Docker containers or local process sandboxes with automated cleanup and easy debugging options.</p>
  </div>
  <div class="card">
    <h3>Standardized Trajectories</h3>
    <p>Every run automatically outputs clean, replayable trajectories in the standard Agent Trajectory Interchange Format (ATIF) alongside metrics and rubric scores.</p>
  </div>
  <div class="card">
    <h3>Remote VPC Evaluation</h3>
    <p>Evaluate private proprietary agents running securely inside your VPC using outbound long-polling without exposing open inbound ports.</p>
  </div>
</div>

---

## Getting Started in 3 Steps

### 1. Scaffold an evaluation
```bash
shipyard init eval fix-memory-leak
```

### 2. Run the evaluation
```bash
shipyard run fix-memory-leak/
```

### 3. Test different models or agents with runtime flags
```bash
shipyard run fix-memory-leak/ --agent claude-code
shipyard run fix-memory-leak/ --provider openai --model gpt-4o
```

---

## User Guides & Reference

- **[Getting Started](/getting-started)**: Installation, prerequisites, and running your first benchmark.
- **[Configuration (`eval.toml`)](/configuration)**: Configuration guide for benchmarks and suites.
- **[Scaffolding](/scaffolding)**: How to initialize evaluations and evalsets.
- **[Agent Drivers & Plugins](/agents-and-plugins)**: Supported CLI tools, LLM APIs, and Python/TypeScript runtimes.
- **[Sandboxing & Environments](/environments)**: How Docker and local execution environments work.
- **[Trajectory & Artifacts (ATIF)](/rollouts-and-atif)**: Understanding output files, logs, metrics, and trajectories.
- **[Writing Rubrics](/eval-and-rubrics)**: Writing scoring scripts and pass thresholds.
- **[Remote VPC Workers](/remote-agent-protocol)**: Evaluating private agents behind firewalls.
- **[CI/CD & Pipelines](/ci-cd-pipelines)**: GitHub Actions, Argo Workflows, Jenkins, and GitLab CI automated gating.
- **[CLI Reference](/cli-reference)**: Complete guide to commands and command-line flags.
- **[Error Code Directory](/error-codes)**: Standard error codes and how to resolve them.
