5-Minute Quickstart

From zero to a working AI agent in under 5 minutes. This guide walks you through installation, creating an agent, and running your first conversation.

Prerequisites

Tip: If you want to run agents without an API key, install Ollama for free local models.

Step 1: Install Nestor

Run the interactive installer. It will detect your system, prompt for API keys, and configure your environment.

# Install globally
npx nestor-sh install

# Or with pnpm
pnpm dlx nestor install

The installer will:

  1. Create a .nestor/ configuration directory
  2. Ask which LLM providers you want to use
  3. Securely store your API keys
  4. Initialize the SQLite database
  5. Optionally pull the Docker sandbox image

Step 2: Create an Agent

Create your first agent with a name, LLM adapter, and model.

# Create a coding assistant with Claude
nestor agent create \
  --name coder \
  --adapter claude \
  --model claude-sonnet-4-6

# Or an OpenAI-based agent
nestor agent create \
  --name reviewer \
  --adapter openai \
  --model gpt-4o

# Or a local Ollama agent (free, no API key)
nestor agent create \
  --name local-helper \
  --adapter ollama \
  --model llama3.2

Tip: Run nestor agent list to see all your configured agents.

Step 3: Launch the Shell

Start an interactive conversation with your agent. The shell gives access to tools, memory, and your codebase.

# Use the default agent
nestor shell

# Or specify a specific agent
nestor shell --agent coder

# Enable dry-run mode (preview before execute)
nestor shell --dry-run

In the shell, try commands like:

Step 4: Launch the Studio

Start the web dashboard to monitor agents, edit workflows, and track costs visually.

# Start the Studio on port 3000
nestor start

# Custom port
nestor start --port 8080

Open http://localhost:3000 to access the Studio. From there you can:

Step 5: Write and Run Tests

Nestor includes a skill testing framework. Write tests in YAML to validate agent behavior.

# Create a test file
# .nestor/tests/my-agent.test.yaml
name: My Agent Tests
agent: coder
tests:
  - name: should suggest improvements
    prompt: "Review this code: function add(a,b){return a+b}"
    expect:
      output_contains:
        - "type"
      max_iterations: 5

# Run all tests
nestor test

# Run with verbose output
nestor test --verbose

Next Steps