Skip to main content

Aethel: AI Context & Memory CLI Management Utility

Project description

Aethel: AI Context & Knowledge Management System

Aethel is a lightweight, provider-agnostic context and prompt management boilerplate for AI agents in solo-developer projects. It separates human-authored rules (Markdown) from an AI-maintained Markdown knowledge layer — a curated index plus a tree of atomic topic files — with no server or external runtime dependency.


1. File Structure

  • AETHEL.md: Canonical human-written orchestrator — decision routing, RNA-Blueprint plan templates, and critical coding taboos.
  • AGENTS.md: Universal cross-agent entry point. Read natively by most coding agents; it redirects to AETHEL.md.
  • GEMINI.md / CLAUDE.md: Thin redirect stubs (for tools that look for those names) pointing at AGENTS.md / AETHEL.md.
  • CONTEXT.md: An llms.txt-style index — an H1, a one-line summary, then H2 sections of annotated inline links into the knowledge tree. Curated, not exhaustive; kept under 150 lines.
  • knowledge/: Atomic topic files (one layer / subsystem / bounded context each, name + description frontmatter). Detail lives here, not in the index. Design decisions are append-only ADRs under knowledge/decisions/NNNN-*.md.
  • aethel.toml (optional): Linter policy — required-header keywords, language rules, spec-sync, and [knowledge] index/orphan settings. Omit to use built-in defaults.

2. The Markdown Knowledge Architecture

Structured knowledge is plain Markdown — there is nothing to install or wire up:

  • The index (CONTEXT.md) maps the project. Each entry is one inline link to a topic file with a one-line note.
  • Each topic file under knowledge/ is a single unit-of-change and unit-of-retrieval.
  • Decisions are recorded as numbered ADRs under knowledge/decisions/.

The linter (aethel lintcheck_knowledge_index) keeps the index honest: a relative inline link that does not resolve on disk is an error; a knowledge/*.md file not reachable from the index is an orphan warning. External (http(s)/mailto) links and #anchors are ignored. Use inline links only — reference-style links and autolinks are intentionally not parsed. Severities are configurable in aethel.toml under [knowledge].

Earlier versions stored structured knowledge in a Memory MCP server / memory.json graph. That layer has been retired in favour of this provider-agnostic Markdown architecture; see knowledge/decisions/0001-retire-memory-graph.md.


3. CLI

aethel init [path]            # scaffold a workspace (AGENTS.md, AETHEL.md, CONTEXT.md, knowledge/, ...)
aethel init --recipe python   # also deploy a stack-specific linter recipe
aethel update [path]          # refresh the managed core block non-destructively
aethel eject [path]           # mark the managed core block as sanctioned divergence
aethel eject [path] --undo    # remove the eject stamp, restoring managed updates
aethel lint [path]            # validate plan/checklist + knowledge-index integrity + hygiene

aethel init also installs a Git pre-commit hook that runs the linter, including the spec-sync drift guard (code staged without a spec update is flagged — Route C). Escape hatch for an intentionally spec-irrelevant commit: AETHEL_SKIP_SYNC=1 git commit ....

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aethel_cli-1.1.1.tar.gz (65.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aethel_cli-1.1.1-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

Details for the file aethel_cli-1.1.1.tar.gz.

File metadata

  • Download URL: aethel_cli-1.1.1.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aethel_cli-1.1.1.tar.gz
Algorithm Hash digest
SHA256 172023b28a5bfc3f3b16b0e035e76795432755f923cc724e7dec960ebd0577be
MD5 fb57f01f4b09080d82f0bc361a0fdd18
BLAKE2b-256 7858452df51f9017cf4d64476fec32aee5da969535ff304bb4d01b9aaa570ba4

See more details on using hashes here.

Provenance

The following attestation bundles were made for aethel_cli-1.1.1.tar.gz:

Publisher: publish.yml on dimaj26/aethel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aethel_cli-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: aethel_cli-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aethel_cli-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5091020210e9dbafe7b49ea7e00080535521ec151dbc8e62b7fb68cd88e6fbf
MD5 df8487f86cf20a148dc0bc01a34c5e7b
BLAKE2b-256 58052868e6811161a59c85a147b55e82faf78a5818cde75ca05f0f0812836f35

See more details on using hashes here.

Provenance

The following attestation bundles were made for aethel_cli-1.1.1-py3-none-any.whl:

Publisher: publish.yml on dimaj26/aethel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page