GETTING STARTED

Installation

Install Zod and set up your development environment.

Prerequisites

Before installing Zod, ensure you have the following installed:

  • Node.js (v18 or higher)
  • npm, yarn, pnpm, or bun package manager

Installation

Install Zod using your preferred package manager:

npm install zod-framework

Or with other package managers:

yarn add zod-framework
pnpm add zod-framework
bun add zod-framework

Project Setup

After installation, initialize Zod in your project:

npx zod init

This will create the basic project structure:

my-zod-project/
├── zod.config.js
├── agents/
│   └── assistant.js
├── skills/
└── tools/

Configuration

Create a zod.config.js file in your project root:

export default {
  agents: {
    assistant: {
      model: 'gpt-4',
      skills: ['conversation', 'reasoning'],
      tools: ['filesystem', 'web-search'],
    },
  },
  harness: {
    maxAgents: 10,
    timeout: 30000,
  },
};

Verify Installation

Run the following command to verify your installation:

npx zod doctor

This will check your configuration and report any issues.

Next Steps

Copyright © 2026 Zod · GitHub