# egraphs-good/egglog

> egglog is an engine that combines equality saturation and Datalog. It stores expressions in e-graphs and uses Datalog-style rules to derive new facts and equalities over them. The core is written in Rust, and a Python binding is also available.

Source: https://github.com/egraphs-good/egglog
Indexed: commit 9063586 on 2026-09-20 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Agent skill
- Language: Rust
- Stars: 883 at index time
- License: MIT
- Code health: 4.1/10, Needs_work
- Last commit: 2026-09-04
- Contributors: 60

## Install

From the README: https://github.com/egraphs-good/egglog

Claude Code:

Clone the egglog repository.
    git clone git@github.com:egraphs-good/egglog.git

Install the egglog command from the clone.
    cargo install --path=egglog

Start the REPL from the repository.
    cargo run --release

Copy the skill into your Claude Code skills folder.
    mkdir -p ~/.claude/skills && cp -r egglog/.claude/skills/tidy-diff-docs ~/.claude/skills/

Codex:

Clone the egglog repository.
    git clone git@github.com:egraphs-good/egglog.git

Install the egglog command from the clone.
    cargo install --path=egglog

Start the REPL from the repository.
    cargo run --release

Copy the skill into your Codex skills folder.
    mkdir -p ~/.agents/skills && cp -r egglog/.claude/skills/tidy-diff-docs ~/.agents/skills/

## How it works

You clone the repository and run cargo install --path=egglog to get the egglog command, or run cargo run --release to start the REPL. Passing a .egg file processes it, and the --to-dot and --to-svg options write a graph of the result beside that file. The repository includes the skill folder .claude/skills/tidy-diff-docs, and its SKILL.md holds the instructions for a coding agent that loads it.

- concurrency/src/lib.rs: entry point
- core-relations/src/lib.rs: entry point
- egglog-ast/src/lib.rs: entry point
- egglog-bridge/src/lib.rs: entry point
- egglog-reports/src/lib.rs: entry point
Modules: src, core-relations, tests, concurrency, union-find, egglog-bridge, egglog-ast, benches. 184 files, 53,893 lines, 6,360 symbols.

## Code health

- Score: 4.1/10 (Needs_work)
- Rank: #249 of 4,000+ indexed repos
- Hotspots: src/lib.rs, core-relations/src/free_join/execute.rs, src/scheduler.rs, src/extract.rs, src/typechecking.rs
- Lowest file: core-relations/src/free_join/execute.rs
- Dead code: 1 findings

## Maintenance

- Last commit 2026-09-04, first commit 2022-02-02, 2,665 commits
- 60 contributors, bus factor 2

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/egraphs-good/egglog/security

## More

- Page: https://repowise.dev/repo/egraphs-good/egglog
- Ask this codebase: https://repowise.dev/repo/egraphs-good/egglog/chat
- Docs: https://repowise.dev/repo/egraphs-good/egglog/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/egraphs-good/egglog
