vectordotdev/vector

A high-performance observability data pipeline.

A 94/100

Vector is highly agent-ready: a detailed AGENTS.md, make/vdev test commands and strong CI; only README setup and hooks lag.

AGENTS.md gives an agent a clear loop: make check-clippy with FEATURES, make fmt, make test FEATURES=... SCOPE=..., and cargo vdev subcommands, plus pointers to docs/DEVELOPING.md. The toolchain is pinned via rust-toolchain.toml and Cargo.lock is committed, so builds are reproducible. Gaps: the README has no build-from-source or test section, and prerequisites like cargo-nextest (used by make test) and installing vdev are not spelled out in the visible excerpts. Pre-commit hooks exist only as an optional manual pre-push snippet.

Graded Nov 26, 2026 · rust

Your README badge

Agent ready: A
[![Agent ready: A](https://masonemery.com/ready/vectordotdev/vector/badge.svg)](https://masonemery.com/ready/vectordotdev/vector)

The badge shows your latest grade and updates when you re-check.

Fix these first

  1. Add a build-from-source section to the README

    The README only links to user install docs, so an agent that lands there gets no clone, build or test commands and must find AGENTS.md or docs/DEVELOPING.md.

    ## Developing Vector
    
    To build and test from source (see docs/DEVELOPING.md and AGENTS.md for details):
    
    ```bash
    cargo build
    make test FEATURES="sources-file" SCOPE="truncate"   # narrow test run
    make test                                          # full test suite
    make check-clippy                                  # lint
    make fmt                                           # format
    ```
    
    For running Vector with a config, use `cargo vdev run <config>`.
  2. List tool prerequisites at the top of AGENTS.md

    make test calls cargo nextest run and many targets need cargo vdev, so an agent on a fresh machine fails unless it knows to install these first.

    ## Prerequisites
    
    - Rust toolchain from rust-toolchain.toml (installed automatically by rustup)
    - cargo-nextest (used by `make test`)
    - vdev (`cargo vdev ...`); see docs/DEVELOPING.md for install steps
    - Laptop setup script: scripts/environment/prepare.sh (installs npm tools used by make targets)
  3. Commit a shared pre-commit hook config

    The pre-commit check fails, and the only hook is an optional manual .git/hooks snippet, so fmt and clippy slips reach CI instead of being caught locally.

    # .pre-commit-config.yaml
    repos:
      - repo: local
        hooks:
          - id: check-fmt
            name: make check-fmt
            entry: make check-fmt
            language: system
            pass_filenames: false
            types: [rust]
          - id: check-markdown
            name: make check-markdown
            entry: make check-markdown
            language: system
            pass_filenames: false
            types: [markdown]

Breakdown

Agent instructions

25/25
  • ✓ Agent instructions file 10/10
    Found AGENTS.md.
  • ✓ Instructions have substance 5/5
    8,619 characters of instructions.
  • ✓ Instructions say how to build and test 7/7
    Lists the commands to run, including tests.
  • ✓ Instructions are a sensible size 3/3
    Short enough to read in full every session.

Tests

20/20
  • ✓ One command runs the tests 10/10
    cargo test works out of the box.
  • ✓ Test files exist 10/10
    Found tests/.

Type & lint checks

15/15
  • ✓ Type checking 8/8
    Rust is checked by the compiler.
  • ✓ Linter or formatter 7/7
    Configured: .prettierrc.json, .rustfmt.toml, clippy.toml.

CI

15/15
  • ✓ CI is set up 5/5
    12 GitHub Actions workflows.
  • ✓ CI runs the tests 6/6
    A workflow runs the test suite.
  • ✓ CI runs type or lint checks 4/4
    A workflow runs type or lint checks.

Setup clarity

12/15
  • ◐ README explains setup 2/5
    README exists but has no clear install/run section with commands.
  • ✓ Dependencies are locked 4/4
    Found Cargo.lock.
  • ✓ Runtime version is pinned 3/3
    The expected language/tool version is declared.
  • ✓ Environment variables are documented 3/3
    No environment variables appear to be required.

Guardrails

7/10
  • ✓ Contribution guide 3/3
    Has a CONTRIBUTING guide.
  • ✕ Pre-commit hooks 0/3
    No pre-commit hooks (pre-commit, husky, lefthook).
  • ✓ No committed junk 4/4
    No build output, dependencies or secrets committed at the root.

Grade another repo →