Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

SDK Example: Config File

Demonstrates using defineConfig() from @agentv/core for typed project-level configuration.

What It Does

  1. Creates an agentv.config.ts with defineConfig()
  2. Configures execution defaults (workers, retries)
  3. Sets output format and cost limits

How to Run

# From repository root
cd examples/features/sdk-config-file
bun install

# Run the evaluation (picks up agentv.config.ts automatically)
agentv eval evals/dataset.eval.yaml

Key Patterns

  • defineConfig() — typed configuration with IDE autocomplete
  • Auto-discoveryagentv.config.ts found automatically at project root
  • Zod validation — config validated at load time with clear errors