# Quickstart

Install Enola, see your code, and put it to work with your agent on a repository you know.

> Web page: https://enola.tech/docs/quickstart
> All pages: https://enola.tech/llms.txt

## Install or upgrade

macOS and Linux:

```shell
curl -fsSL https://raw.githubusercontent.com/enola-labs/enola/main/install.sh | sh
```

Already have it? Run `enola upgrade`. For Windows, pip or RubyGems, see [Install and upgrade](https://enola.tech/docs/install.md).

## Add the skills and hooks

Pick a repository you know well:

In your repository:

```shell
enola install --hooks
```

It previews every file and asks first. Your agent gets instructions, [skills](https://enola.tech/docs/skills.md) for whole tasks, and [hooks](https://enola.tech/docs/hooks.md) that check each session. Run it again after an upgrade too.

> **Using Codex?** It reads `AGENTS.md`, which Enola adds to but does not create. If you have none, run `touch AGENTS.md` before installing.

## See your code

In your repository:

```shell
enola --generate
enola dashboard --open
```

Open **Findings** for what Enola noticed, and **Architecture** to search any module and see what it connects to. Stop the [dashboard](https://enola.tech/docs/dashboard.md) with Ctrl-C. The snapshot is in `.enola/`; add that to `.gitignore`.

## Connect your agent

Register Enola's MCP server once:

Claude Code:

```shell
claude mcp add-json enola '{"command":"enola","alwaysLoad":true}'
```

Codex:

```shell
codex mcp add enola -- enola
```

[Other agents](https://enola.tech/docs/install.md) take one entry each, and opencode and Pi need nothing. Then **start a new agent session** in the repository. Hooks, skills and tools load at session start. In Codex, run `/hooks` once to approve the hooks; in Pi, trust the project.

The prompts below are written for Claude Code. In Codex, start a skill with `$` instead of `/`. [How to call a skill](https://enola.tech/docs/skills.md) has the rest.

## Check what your agent remembers

Ask your agent:

```
/enola-memory
```

Your agent's notes about code are tied to the functions they describe, and you get a list of names Enola cannot find. Those notes are the ones to look at: their code was probably renamed or deleted since. The content of your notes does not change.

To keep new notes tied to code, add a line to `AGENTS.md`, or `CLAUDE.md` for Claude Code:

AGENTS.md or CLAUDE.md:

```
Stamp notes about code with enola-memory.
```

No notes yet? Add the line and move on. [Memory](https://enola.tech/docs/skill-memory.md) explains the rest.

## Change something with your agent

Ask for a real change. It should move some structure, such as a call or a dependency:

Ask your agent:

```
Pick a function that several modules use. Tell me what depends on it,
then change its signature and update every caller.
```

The agent asks Enola what depends on the function before it edits. In another terminal, see what it did:

In your repository:

```shell
enola check --summary
```

The comparison is with the baseline the hook pinned when the session started. If the change added a cycle or broke a declared rule, the agent is told when it finishes, and asks you what to do.

In Cursor, Copilot and opencode, hooks pin nothing. Run `enola baseline pin` before the edit.

> **Without an agent**, take a repository that is behind its remote and see what a pull brings in: `enola baseline pin`, `git pull`, `enola check --summary`.

## Review it and plan the tests

Ask your agent:

```
/enola-review Review my changes.
```

You get a verdict and at most five places to look, each with its reason. Then:

Ask your agent:

```
/enola-test-plan What should be tested for this change?
```

You get the tests that reach the change, the entry points to exercise, and the changed code no test reaches. More on [review](https://enola.tech/docs/skill-review.md) and [test plans](https://enola.tech/docs/skill-test-plan.md).

## Write down the architecture you want

Ask your agent:

```
/enola-intent Set up architecture rules for this repository.
```

The agent proposes a layer order and rules, with what breaks them today and the questions only you can answer. Nothing is written until you accept it. From then on every check compares changes with your rules. [Architecture rules](https://enola.tech/docs/skill-intent.md) helps you review the proposal.

## Keep it running

- [Run it in CI](https://enola.tech/docs/ci.md): The same check on every pull request, for the whole team.
- [Add your other repositories](https://enola.tech/docs/multi-repo.md): Link a backend with the apps that call it.
- [See every workflow](https://enola.tech/docs/workflows.md): Where Enola fits from the first look to the merge.
