Metadata-Version: 2.4
Name: enola-cli
Version: 0.5.5
Summary: Architectural regression testing for AI-assisted development
Description-Content-Type: text/markdown
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Requires-Python: >=3.8
Project-URL: Homepage, https://github.com/enola-labs/enola
Project-URL: Source, https://github.com/enola-labs/enola
Project-URL: Documentation, https://github.com/enola-labs/enola/blob/main/docs/README.md
Project-URL: Changelog, https://github.com/enola-labs/enola/blob/main/CHANGELOG.md
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Go
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing

# enola

**A code graph and architecture check for your whole software system, with an MCP
server for coding agents.** Built from the code, on your machine.

Enola resolves every import, call, route and database table to what it really refers
to, links your services where one calls another, and checks the result: what a change
breaks, what nothing uses, where the architecture drifts. Your coding agent gets
answers instead of source to reason over.

- **Exact and local.** Parsed source and graph algorithms. No AI model, no embeddings,
  no upload, no account. The same commit produces the same graph, byte for byte.
- **More than thirty languages and formats**, detected automatically: Go, Java, Kotlin,
  Scala, TypeScript and JavaScript with Vue, Svelte, Ember and Angular, Python, Ruby,
  PHP, Swift, Dart, Rust, C and C++, Metal, .NET, Terraform, Kubernetes, Helm, OpenAPI,
  gRPC, GraphQL and more.
- **One graph across repositories.** A client's call is linked to the route that serves
  it, and a call Enola cannot resolve is reported as unresolved, not guessed.
- **A change is graded, not the backlog.** Pin a baseline, edit, and see what the change
  did: new dependency cycles, broken layers, coupling nobody asked for. Nothing that was
  already there is repeated, and only the rules you choose can fail a build.

## Install

```bash
pip install enola-cli
```

The command is `enola`. This package ships a prebuilt binary, so there is no
Python dependency at run time and nothing is importable from Python.

Got this package with Cognee? You already have all of enola. See
<https://github.com/enola-labs/enola/blob/main/docs/COGNEE.md>.

## Try it

```bash
enola --explain /path/to/your/repo
```

This needs no config file, baseline or MCP client, and writes nothing to disk. It prints
the architecture it measured (patterns, cycles, layer violations, hotspots and structural
outliers) and exits.

## Connect your coding agent

```bash
cd /path/to/your/repo
enola install
```

This registers the MCP server with the agents you use. Ask your agent "What breaks if I
change `X`?" or "What does nothing use?", and it answers from the graph.

## Grade a change

```bash
enola baseline pin .             # freeze the architecture
#   make a change
enola check --fail-on=cycles .   # exits 1 on a new cycle
```

The same check runs in CI.

## Documentation

- [Documentation and CLI reference](https://github.com/enola-labs/enola)
- [Supported languages](https://github.com/enola-labs/enola/blob/main/docs/LANGUAGES.md)
- [Benchmarks, with method and limits](https://github.com/enola-labs/enola/blob/main/docs/BENCHMARKS.md)
