# Introduction

Practical tutorials for developers building on Clore.ai's decentralized GPU marketplace.

## What's Inside

This cookbook contains **40+ practical tutorials** with real, working code examples. No fluff — just actionable recipes for:

* 🚀 **Getting Started** — Rent your first GPU in 5 minutes
* 🧠 **Machine Learning** — Train models, run distributed workloads
* ⚡ **Inference & Deployment** — Serve models at scale
* 📊 **Data Processing** — GPU-accelerated pipelines
* 🔧 **DevOps & Automation** — CI/CD, schedulers, monitoring
* 🎯 **Advanced Use Cases** — Bots, dashboards, multi-cloud

## Quick Start

```python
import requests

API_KEY = "YOUR_API_KEY"
headers = {"auth": API_KEY}

# Find available RTX 4090 servers
response = requests.get("https://api.clore.ai/v1/marketplace", headers=headers)
servers = response.json()["servers"]

available = [s for s in servers if "RTX 4090" in str(s.get("gpu_array", [])) and not s["rented"]]
print(f"Found {len(available)} available RTX 4090 servers")
```

## Why Clore.ai?

| Feature            | Clore.ai       | AWS/GCP      |
| ------------------ | -------------- | ------------ |
| RTX 4090 (hourly)  | \~$0.20-0.40   | N/A          |
| A100 80GB (hourly) | \~$1.50-2.50   | \~$4-6       |
| Minimum commitment | 1 minute       | 1 hour       |
| Spot pricing       | Yes (2.5% fee) | Yes (varies) |
| Setup time         | < 2 minutes    | 5-15 minutes |

## Prerequisites

* Clore.ai account with API key
* Python 3.10+ (most examples)
* Basic Docker knowledge
* SSH client

***

*Built with 🔥 by the Clore.ai team*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.clore.ai/dev/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
