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.0.tar.gz (66.4 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.0-py3-none-any.whl (55.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aethel_cli-1.1.0.tar.gz
  • Upload date:
  • Size: 66.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for aethel_cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8f674ef136891bfc0a05829e52648c08d16bb07619255ea2463c65980603af36
MD5 3fcae84a6e369482ef32d503c4f8d54d
BLAKE2b-256 80e804d70649d8b5dacd3511cf141c106b89a6987c772bd5048d4964cda6810f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aethel_cli-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 55.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for aethel_cli-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2816d4e066e7687f7ed4fdd3b3b923abd987aeeb23f08907e4fcff1fdce80ad
MD5 d45f7b22ecd33e014adf58f075f551c3
BLAKE2b-256 0c17b2df615af6472f967b45c47d9b6602183ebf13793a1eccb599812787fe94

See more details on using hashes here.

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