# Quick Start Guide

Get started with Agent Execution Market in 5 minutes.

## Installation

```bash
# Clone repository
git clone https://github.com/ZhenRobotics/agent-execution-market.git
cd agent-execution-market

# Install dependencies
npm install

# Build project
npm run build
```

## Start the Clearinghouse

```bash
# Terminal 1: Start server
npm start

# Server will run on http://localhost:3000
```

## Generate Keys

```bash
# Terminal 2: Generate keypair
npm run cli keygen

# Save the output and set environment variables
export AEM_PRIVATE_KEY="your-private-key"
export AEM_PUBLIC_KEY="your-public-key"
```

## Submit Your First Intent

```bash
# Submit a data fetch intent
npm run cli intent submit \
  --type "data-fetch" \
  --params '{"url": "https://api.github.com/users/github"}' \
  --max-fee 100
```

## Register as a Solver

```bash
# Register your solver
npm run cli solver register \
  --capabilities "data-fetch,computation" \
  --endpoint "http://localhost:4000/execute"
```

## Check Market Stats

```bash
npm run cli market stats
```

## Next Steps

- Read [Architecture Overview](ARCHITECTURE.md)
- Build your [First Solver](tutorials/FIRST_SOLVER.md)
- Explore [Intent Patterns](tutorials/ADVANCED_INTENTS.md)
- Integrate with [OpenClaw](integrations/OPENCLAW.md)
