Akashic
Akashic is a local-first CLI for Git-backed knowledge repositories. It helps teams keep structured Markdown documentation beside real source repositories, then browse that documentation through a local web UI.
Akashic does not analyze code by itself. It manages the knowledge repo, discovers attached source repos, builds generation prompts, and hands those prompts to an agent provider such as Codex or Claude.
Features
- Initialize a Git-backed knowledge repository.
- Attach one or more local Git source repositories.
- Generate structured docs for services, flows, system notes, ADRs, entities, and glossary entries.
- Preserve hand-written content through
<!-- HUMAN:START -->sections. - Serve docs through a local React/Vite site.
- Build a static read-only docs site.
- Validate setup with
doctorand inspect repo state withstatus.
Installation
Akashic is a Python package targeting Python 3.10+.
Install the released CLI:
uv tool install akashic-kb
# or
pipx install akashic-kb
The installed command is still akashic:
akashic --version
For local development:
uv sync
uv run akashic --version
If installing from a checkout:
pip install .
akashic --version
The documentation site commands also require Node.js and npm.
Quickstart
Create a knowledge repository:
mkdir knowledge
cd knowledge
akashic init
Attach source repositories:
akashic attach /path/to/source-repo
akashic attach /path/to/another-repo --name billing
akashic list
Generate docs:
akashic generate
Review changes, then commit them yourself:
git status
git add -A
git commit -m "Generate knowledge docs"
Browse docs locally:
akashic serve
Build a static site:
akashic build-site
Commands
| Command | Purpose |
|---|---|
akashic init [PATH] |
Initialize a knowledge repo. |
akashic root |
Print discovered knowledge repo root. |
akashic attach [PATH] [--name NAME] |
Register a source Git repo. |
akashic detach NAME |
Remove an attached source repo. |
akashic list |
List attached source repos. |
akashic generate |
Compose prompts and run configured provider. |
akashic serve |
Start local docs site. |
akashic build-site |
Build static docs site. |
akashic doctor |
Validate config, Git, repos, provider, and runtime. |
akashic status |
Show attached repos, generation state, and doc counts. |
Global options:
--version: print package version.--knowledge <dir>: use a specific knowledge repo instead of discovering one.
Configuration
Akashic stores shared repo configuration in .akashic/config.yaml and
machine-local absolute paths in .akashic/config.local.yaml. The local config
is gitignored so the knowledge repo can be shared across machines.
Workspace discovery order:
--knowledge <dir>AKASHIC_HOME- Parent directory walk from the current working directory
Documentation
Full docs live in docs/README.md:
docs/installation.mddocs/quickstart.mddocs/commands.mddocs/configuration.mddocs/generation.mddocs/site.mddocs/publishing.mddocs/troubleshooting.md
Development
Run tests:
uv run pytest
Run focused CLI commands from the checkout:
uv run akashic doctor --knowledge /path/to/knowledge
Frontend sources live under frontend/ and are packaged into the Python wheel.
Current status
The built-in fake provider writes files and is useful for exercising the full
pipeline. Real providers (codex, claude) are documented in
docs/generation.md, including current execution
behavior and limitations.
License
MIT. See LICENSE.
Metadata
Release files for akashic-kb 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| akashic_kb-0.1.3.tar.gz | 890.8 kB | Without provenance | Details for akashic_kb-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| akashic_kb-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for akashic_kb-0.1.3-py3-none-any.whl |
Total release size: 1.1 MB
Release files / akashic_kb-0.1.3.tar.gz
| Download URL | akashic_kb-0.1.3.tar.gz |
|---|---|
| Size | 890.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
104f8f01d7e4c5e9c6a52f76a536e6f6c4157e254bb420c3f3559b2c6ef41211
|
|
BLAKE2b-256 checksum How to use checksums |
9803d38bab1f2f80cf0df7946c0332823408c537495514de5cafac2530ec3e97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / akashic_kb-0.1.3-py3-none-any.whl
| Download URL | akashic_kb-0.1.3-py3-none-any.whl |
|---|---|
| Size | 165.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6bd77f8c5eb7a4393a36dd82bb5d4f362ce2f09e18aee324b0773e448fb8f6d
|
|
BLAKE2b-256 checksum How to use checksums |
a1dbc2165c5a924b4291ec289674fafa814020b7e21321ac55a1fdc07f755719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Security for akashic-kb 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.