Skip to content

// Documentation

Docs

Full documentation is on the way. This page covers the basics.

Install

macOS and Linux:

install
$ curl -fsSL https://github.com/YashSarwaiya/antelog-releases/releases/latest/download/install.sh | sh

Windows (PowerShell):

install
$ irm https://github.com/YashSarwaiya/antelog-releases/releases/latest/download/install.ps1 | iex

The installer checks every download against its published SHA-256 checksum. All versions are on the releases page.

Connect your agent

Claude Code: the installer adds the Antelog plugin automatically. If Claude Code wasn’t installed yet when you ran it, add the plugin afterwards:

terminal
$ claude plugin install antelog@antelog

Cursor:

terminal
$ antelog setup cursor

Commands

Add your own rules

Put one rule per line in ~/.antelog/rules.txt. Write the command in plain words, or start the line with regex: for a pattern. Lines starting with # are comments.

# ~/.antelog/rules.txt
terraform destroy
kubectl delete namespace
regex: aws\s+s3\s+rm

Your rules can only add blocks; they never turn off the built-in ones. Your agent can’t edit this file. Changes apply the next time the Antelog service starts.

Tamper-evident record

Antelog writes every action to a record before it runs. Each entry stores the fingerprint of the one before it, so if an entry is changed or deleted, antelog verify shows where. Try it:

$ antelog verify — how it works

Verified · 4 entries
  1. ENTRY #1041

    git status

    ALLOWED
    prev
    0000000000
    hash
    50bd50af4d
  2. ENTRY #1042

    DROP TABLE customers;

    BLOCKED
    prev
    50bd50af4d
    hash
    7ef33c1688
  3. ENTRY #1043

    SELECT count(*) FROM customers;

    ALLOWED
    prev
    7ef33c1688
    hash
    61f0baada7
  4. ENTRY #1044

    npm test

    ALLOWED
    prev
    61f0baada7
    hash
    b0a3af3038

Each entry stores the fingerprint of the one before it. Change one, and the next link no longer matches.

Rules

Antelog stops these actions before they run. In Claude Code it asks you to allow or decline them; in Cursor, and when nobody is there to answer, they are blocked. If a check fails or times out, the action is always blocked.

Some rules can match harmless text (for example, searching a file for “drop table”). For those, the optional AI checker can take a second look and allow clearly safe actions. All other rules are final. The AI checker is off unless you put your own Anthropic API key in ~/.antelog/anthropic-api-key. When it is on, the commands it reviews (with secrets removed) are sent to Anthropic. Run antelog doctor to see whether it is on.