> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runalph.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Notebooks

> Standard Jupyter notebooks with AI, search, and publishing built in

## What are Notebooks?

Notebooks are standard Jupyter `.ipynb` files — no lock-in. You can create, edit, and share them without any compute. To execute code, connect one to a [project](/concepts/projects).

## Creating a Notebook

1. Go to **Notebooks** in your organization
2. Click **New Notebook**
3. Set a title and visibility
4. Start writing

You can also import from GitHub or drag-and-drop `.ipynb` files.

## The Editor

Notebooks have two cell types: **code** and **markdown**. Switch modes with `Enter` (edit) and `Esc` (command).

| Shortcut           | Action                     |
| ------------------ | -------------------------- |
| `Shift + Enter`    | Run cell, move to next     |
| `Ctrl/Cmd + Enter` | Run cell in place          |
| `A` / `B`          | Insert cell above / below  |
| `X`                | Delete cell                |
| `M` / `Y`          | Convert to markdown / code |

## Execution

To run code, connect your notebook to a project's kernel:

1. Open the notebook
2. Select an **Organization** and **Project**
3. Run cells with `Shift + Enter`

The kernel provides a Python runtime. Install packages with `!pip install` and restart the kernel afterward.

## AI Assistance

AI is built into the editor. No extensions needed.

* **Prompt in cell:** `Ctrl/Cmd + K` to generate content for the current cell
* **Generate cells:** Press `F`/`G` for code or `S`/`D` for markdown (above/below)
* **Chat panel:** Ask questions about your code with context from your notebook

Works with Claude, GPT, and Gemini. See [AI](/concepts/ai) for details.

## Publishing & Sharing

Toggle a notebook to **Public** to make it searchable and shareable.

* **Direct link:** `https://runalph.ai/{org}/~/notebooks/{slug}`
* **Embed:** `<iframe src="https://runalph.ai/embed/{org}/{notebook-slug}" />` — see [Embed Notebooks](/guides/embed-notebooks) for full options
* **Export:** Download as `.ipynb`, HTML, PDF, Markdown, or Python script

## Semantic Search

Find notebooks and individual cells by meaning, not just keywords.

1. Go to **Notebooks** (global)
2. Search with natural language (e.g., *"sentiment analysis with transformers"*)
3. Filter by tags, author, or date

Search works at both notebook and cell level — find specific implementations across the entire platform.

## Forking

Fork any public notebook to get your own copy. Edit freely without affecting the original.
