> For the complete documentation index, see [llms.txt](https://docs.wormbrain.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wormbrain.info/explore-wormbrain/02-the-worm/the-connectome.md).

# the connectome

A connectome is a list of who talks to whom. For this worm it is complete enough to run as a closed system. Sensors on one end. Muscle on the other. Everything in between named.

## ![](https://1059824729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhKk8fm2HPrujdtw7SP3%2Fuploads%2F80xz2KbC60UC97rNeeuv%2Fconnectome.png?alt=media\&token=1ecfd6fc-6d24-4734-b8df-4987b09e8190)

## Two kinds of wire

* **Chemical synapses.** One cell dumps a signal. The next cell catches it. The effect can push the next cell up or down, depending on the chemical.
* **Gap junctions.** A direct electrical pore. Activity leaks both ways.

<figure><img src="https://1059824729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhKk8fm2HPrujdtw7SP3%2Fuploads%2F3asCMZs2Vt9HPlJCcUsa%2FMyNetwork.png?alt=media&amp;token=f443b59e-4ca3-4d15-950d-529943aa11b1" alt=""><figcaption></figcaption></figure>

The tables we load include both. Counts shift a little between papers because later groups re-traced old photos and found contacts the first pass missed. We pin one published reader and keep it pinned, so an October run is the same animal as a March run.

## Where the table comes from

1. **White et al., 1986:** first whole-animal wiring paper.
2. Later re-annotations filled gaps in the original photos.
3. **Cook et al., 2019:** whole-animal connectomes for both sexes, end organs included. We pin the hermaphrodite reader from that line.

WormBrain's generator turns those tables into a network a simulator can step. We do not retrace photos in a basement. How that generator is layered is on [The model](file:///3621209/04-lab/the-model.md).

## What "pinned" means

Connectome papers get corrections. If we floated to whatever table was newest, the worm would quietly change shape and nobody on FOMO would know why a habit died. Pinning means:

* one named release of the wiring
* one set of cell names
* a note in the [audit trail](file:///3621209/04-lab/audit.md) if we ever move the pin

Training does not move the pin. Training only changes how loudly some cells listen. See [How we trained it](file:///3621209/03-the-experiment/how-we-trained-it.md).

{% hint style="success" %}
The wiring table is the published animal. The generator, the clock, the nose, and the wallet are WormBrain. Pictures of the generated network live on [The model](file:///3621209/04-lab/the-model.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.wormbrain.info/explore-wormbrain/02-the-worm/the-connectome.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
