# Example 2: Code Generation

Generate Pydantic models, ADK agents, and GraphQL types from your schema.

```python title="examples/bookstore/02_code_generation.py"
--8<-- "examples/bookstore/02_code_generation.py"
```

## Run It

```bash
PYTHONPATH=examples/bookstore uv run python examples/bookstore/02_code_generation.py
```
