ActDim Along (v4.9.0)
- Python 3.10-3.13 on Linux and Windows.
ActDim Along is a provider-agnostic context and memory protocol for AI coding agents (ALONG-PROTOCOL v4.9.0) that provides persistent in-repo task tracking, an evergreen architecture wiki, and mechanical quality gates across Claude Code, Google Antigravity, OpenAI Codex, and OpenCode.
Quickstart & Installation
Install Along across all supported AI providers with a single command:
Windows (PowerShell)
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/actdim/along/main/install.ps1 | iex"
Linux / macOS (Bash)
curl -fsSL https://raw.githubusercontent.com/actdim/along/main/install.sh | bash
The installer bootstraps the repository into ~/.cache/actdim-along/repo (via shallow git clone or archive fallback) and configures skills across Claude Code, OpenAI Codex, Google Antigravity, and OpenCode.
Python Package Installation (Core vs. Extras)
Along is distributed on PyPI as actdim-along. Install Along Core with minimal dependencies or include modular extras:
# Core only: minimal runtime dependency (ruamel.yaml>=0.18; telemetry is built-in stdlib)
pip install actdim-along
# Web Dashboard: FastAPI, Uvicorn, Pydantic, and Rich
pip install actdim-along[dash]
# Full suite: install all optional extras
pip install actdim-along[all]
Manual / Local Checkout Installation
If you prefer to clone the repository manually or are developing Along:
git clone https://github.com/actdim/along.git
cd along
powershell -NoProfile -ExecutionPolicy Bypass -File install.ps1 -Target all # Windows
bash install.sh --target=all # Linux / macOS
An install records what it wrote in ~/.along/install-manifest.json: it never deletes a
directory it does not own, so rules you wrote yourself survive every re-install, and
install.ps1 -Uninstall / ./install.sh --uninstall removes exactly that record and
nothing else. See Setup, Installation & Workflows.
Why Along?
AI coding agents encounter several recurring failure modes across extended sessions:
- Context Loss: Agents forget past architectural choices, re-invent rejected patterns, and drop active tasks across sessions.
- Context Bloat: Ingesting entire files or directories into prompts consumes large token budgets per turn.
- Multi-Branch Concurrency: Parallel agents modify shared documentation, status boards, or lock files, causing git merge conflicts.
- Unanchored Modifications: Without explicit issue anchoring and pre-commit checks, agents can make unintended modifications that bypass test suites.
- Toolchain Inconsistencies: Differing build tools, test frameworks, and command flags can produce verbose context logs or invalid invocations.
- Workspace Pollution: Running parallel or autonomous agents directly in developer working directories can conflict with uncommitted working tree edits.
- Prompt Instruction Decay: Natural language guidelines in static prompts can lose effectiveness as context length grows.
Along addresses these challenges through a dual-tier structure: an evergreen architecture wiki (docs/) for system design consensus, and a machine-readable governance layer (.along/) for task tracking, decision records, and session history. Agents track issues in a dependency graph, search project knowledge via bounded snippet retrieval, and verify changes through declarative quality gates.
Core Value Proposition
| Pillar | How Along Delivers It |
|---|---|
| Zero-Vector In-Repo Intelligence | Fast TF-IDF multi-scope retrieval engine (along-kb-search) unifying docs, ADR constraints, active issues, and session logs into word-boundary aligned snippets (<= 150 words), avoiding full-file context ingestion and significantly reducing exploration prompt tokens without external vector DBs or daemon processes (see benchmarks). |
| Dual-Tier Memory Architecture | Clean architectural separation: Evergreen LLM-Wiki (docs/) with AST code symbol grounding and SHA-256 drift detection vs. Living Transactional Governance (.along/) with DAG issues, immutable session history, and atomic projections. |
| Persistent In-Repo Memory | Durable, git-tracked memory (.along/): DAG issues (spikes and risk-tagged blockers included), append-only ADR logs, milestones, and session records that travel with the codebase. |
| Autonomous Multi-Agent Teams | Sequential living-plan state machine (along-team): Supervisor -> Scout -> Architect -> Implementer -> Reviewer with session blackboards, retry limits, and single-agent degradation. |
| Runtime Worktree Workspace Isolation | Ephemeral Git worktree isolation (along worktree, /along-team --worktree) satisfying the 3-part Environment Readiness Contract: NTFS junctions / symlinks for dependencies (node_modules, .venv), .env configuration copying, real-time session blackboard sharing, and Windows file lock resilient teardown. |
| Runtime Mechanical Prose Enforcement | Active agent lifecycle interception (PreToolUse, Stop) turning markdown guidelines into hard runtime errors across Claude Code, Antigravity, and Codex, with machine-checked bi-directional traceability (along hook verify). |
Token-Efficient LLM-Wiki (docs/) |
Modular knowledge base with in-place source provenance, SHA-256 drift detection, deterministic llms.txt compilation, and targeted snippet search (along-kb-search) avoiding full-file context ingestion. |
| Stack-Agnostic Lifecycle & Polyglot Hooks | Unified agent execution contract (/along-build, /along-test, /along-dev, /along-version-bump, /along-dep-scan) with zero-config stack auto-detection and polyglot repository hooks (.along/scripts/ in Python, Bash, PowerShell, Batch). |
| Zero-Conflict Git Concurrency | Single Source of Truth (SSOT) atomic files vs compiled projections (ISSUES.md, INDEX.md), union merges (merge=union), and decentralized date-slug ADRs that avoid collisions in parallel branches. |
| Engineering Provenance & Dual-Track UI | Living plans, fix loops, and verification gates are permanently recorded in session logs while projecting interactive visual review cards in IDEs (Antigravity). |
| Strict Data Safety & Verification Gates | Hermetic engines (alongkit) with transactional byte-exact rollbacks, strict front-matter preservation (ruamel.yaml), and zero-unintended-deletions invariant. |
| Declarative Runtime Gates & Traceability | Mechanical agent lifecycle interception (PreToolUse, Stop) enforcing declarative runtime gates in default_gates.yaml (32 protocol invariants enforced across runtime hooks, git hooks, and CI), backed by machine-checked bi-directional traceability (along hook verify). In runtimes with Along hooks installed, violations trigger immediate tool-level interception; git and CI gates provide universal baseline enforcement everywhere. |
| Nearest Context Boundary | Monorepos, microservices, and Git submodules maintain isolated localized memory, preventing root workspace pollution. |
Dual-Tier Memory Architecture: Evergreen Wiki vs. Living Governance
Along divides repository intelligence into two specialized, complementary tiers to keep agent context scalable and predictable:
flowchart TD
subgraph Tier1["Tier 1: Evergreen Architecture Wiki (docs/)"]
WIKI["Curated Knowledge Base (docs/topic--*.md)"]
AST["AST Code Symbol Grounding (zero ghost symbols)"]
PROV["Source Provenance (SHA-256 drift gate)"]
LLMS["Deterministic llms.txt & llms-full.txt"]
end
subgraph Tier2["Tier 2: Living Governance Memory (.along/)"]
ISSUES["Machine-Parseable DAG Issues (open -> done)"]
ADRS["Decentralized ADRs & CONSTRAINTS.md"]
SESSIONS["Immutable Session Logs & Engineering Provenance"]
PROJ["Auto-Compiled Projections (ISSUES.md)"]
end
subgraph Retrieval["Zero-Vector In-Repo Retrieval Engine (along kb-search)"]
SEARCH["Fast TF-IDF Multi-Scope Search"]
SNIPPETS["Targeted Bounded Snippets (<= 150 Words)"]
SAVINGS["Bounded Snippets (<= 150 Words) vs Full-File Ingestion"]
end
WIKI --- SEARCH
ISSUES --- SEARCH
ADRS --- SEARCH
SESSIONS --- SEARCH
SEARCH --> SNIPPETS --> SAVINGS
- Tier 1: Evergreen Architecture Wiki (
docs/):- Purpose: Curated, cumulative knowledge base representing the current factual state of system design.
- Mechanisms: In-place source provenance (
sources: [{path, hash}]), AST code symbol verification to prevent hallucinated interfaces, and deterministic compilation intodocs/INDEX.mdandllms.txt. - Lifecycle: Evolves with the codebase. Never transactional; updated only when public contracts, workflows, or architecture change.
- Tier 2: Living Governance Memory (
.along/):- Purpose: Transactional project memory, active task execution state, and historical audit trails.
- Mechanisms: Machine-parseable DAG issues with lifecycle states, modular ADRs (
ADR-YYYY-MM-DD--<slug>.md), compiled constraints projection (CONSTRAINTS.md), and append-only session history. - Lifecycle: Transactional and stateful. Closed issues and session logs are permanent and immutable.
- Unified Retrieval Engine (
along kb-search):- Unifies both tiers in a single fast local query without vector embeddings, cloud dependencies, or background daemon processes.
- Returns word-boundary aligned snippets (< 150 tokens) directly to agent prompts, avoiding full-file context ingestion (measured in scripts/bench_kb_search.py).
Along Core vs. Modular Extras Architecture
Along enforces a strict minimal-core architecture:
- Along Core (
actdim-along): In-repo memory (.along/), entity lifecycle (ISSUES/,DECISIONS/,MILESTONES/), projections (ISSUES.md,CONSTRAINTS.md,docs/INDEX.md), bounded snippet retrieval (along kb-search), standard lifecycle contracts (build,test,dev,commit,wrap), mechanical safety gates, and stdlib telemetry (tracer, redactor, spool, OTLP/HTTP JSON exporter). Core runtime dependencies remain strictly minimal (ruamel.yaml>=0.18). - Modular Extras:
actdim-along[dash]: Web dashboard UI, Cytoscape DAG visualization, and OpenAPI analytics server.actdim-along[all]: Stable alias for optional extras ([dash]).- Optional protocol modules (
along-team, git worktree sandboxing,code-review-graphAST tools,along-dep-scan) operate on-demand with zero extra package dependencies.
- Protocol Versioning: Protocol specification version (
ALONG-PROTOCOL vX.Y.Z) changes strictly on format or schema updates. Tooling enhancements release as minors; breaking format changes are batched into rare majors with migration automation (along migrate).
Using Along in Your Projects? (Drop-In Blurb)
Add this badge and blurb to the README.md of any repository powered by Along:
### AI Development: Powered by [ActDim Along](https://github.com/actdim/along)
This repository follows the **ActDim Along Protocol** for AI agent context, persistent memory, and autonomous workflows:
- **Dual-Tier Memory**: Evergreen LLM-Wiki in `docs/` and living governance memory in `.along/` survive across all AI sessions.
- **Zero-Vector Unified Retrieval**: Fast local snippet search across architecture, decisions, and issues returning bounded snippets (< 150 tokens) without full-file ingestion or external database dependencies.
- **Runtime Worktree Isolation**: Autonomous agent tasks execute in isolated Git worktrees with automatic dependency linking, preserving clean developer checkouts.
- **Mechanical Quality Gates**: Protocol rules, clean typography, and issue bindings are mechanically enforced before tools execute in runtimes that load Along's hooks (Claude Code, Antigravity, Codex); elsewhere they are advisory. The portable baseline for every committer is the CI job `along gates check --ci` plus opt-in git hooks (`along hooks install --git`).
- **Standardized Lifecycle Contract**: Unified commands for build, test, dev, release, and dependency discovery via pluggable `.along/scripts/` hooks.
- **Provider-Agnostic**: Compatible out of the box with **Claude Code**, **Google Antigravity**, **OpenAI Codex**, and **OpenCode**.
Knowledge Base & Architecture Index
The repository's complete technical specification is maintained as a living LLM-Wiki in docs/:
| Topic | Description | Link |
|---|---|---|
| System Architecture | Provider flow, context boundaries, code intelligence, and bridge layers. | System Architecture & Flow |
| CLI Command Reference | Unified console command dictionary, subcommands, flags, and exit codes. | Along CLI Command Reference |
| Domain Model & Entities | Machine-parseable schemas for Issues, ADRs, Milestones, and Sessions. | Domain Model & Entity Ecosystem |
| Setup & Workflows | Installation matrix, repository onboarding, and session lifecycle. | Setup, Installation & Workflows |
| LLM-Wiki Architecture | Andrej Karpathy paradigm, source isolation, and token efficiency. | LLM-Wiki Architecture & Paradigm |
| Runtime Hooks & Gates | Agent lifecycle interception harness across Antigravity, Claude, and Codex, plus the runtime capability matrix: where gates are mechanical and where (Claude Cowork, Cursor, OpenCode) they are advisory. | Runtime Lifecycle Hooks & Mechanical Gates |
| Declarative Gates & Traceability | Extensible YAML gate engine and bi-directional machine-checked matrix. | Declarative Gate Engine & Traceability Matrix |
Automation Skills Reference (Grouped by Workflow Phase)
Along provides 21 singular automation skills structured across 6 core lifecycle phases:
1. Bootstrap & Repository Protocol Management
| Skill / Command | Purpose |
|---|---|
along-init (/along-init) |
Scaffold/refresh AGENTS.md + CLAUDE.md + .along/ in a folder via the deterministic along init engine; a root VISION.md moves into .along/. |
along-update (/along-update) |
One-liner update of repository context, protocol, and global skills from GitHub. |
along-version-bump (/along-version-bump) |
Multi-stack version bump and release orchestrator (Node, Python, Rust, .NET). |
2. Orchestration, Planning & Multi-Agent Teams
| Skill / Command | Purpose |
|---|---|
along-team (/along-team) |
Sequential multi-agent autonomous development engine and living plan. |
along start |
Atomically claim issue, initialize session blackboard, and provision worktree. |
along issue |
Create, update (fuzzy milestones, priority), show, and close issues. |
along milestone |
Synchronize bidirectional target issues, calculate progress %, and show status. |
along-issue-sync (/along-issue-sync) |
Reconcile active issue board projection (ISSUES.md) with atomic issue files. |
along-decision-sync (/along-decision-sync) |
Record ADRs into append-only .along/DECISIONS.md and compile active .along/CONSTRAINTS.md. |
3. Development & Lifecycle Execution Runners
| Skill / Command | Purpose |
|---|---|
along-build (/along-build) |
Project build lifecycle hook via .along/scripts/build.py or auto-detected runner. |
along-test (/along-test) |
Automated test suite with quiet flags via .along/scripts/test.py or runner. |
along-dev (/along-dev) |
Local development/debugging server via .along/scripts/dev.py or runner. |
4. Quality Gates, Code Graph & Commit Integrity
| Skill / Command | Purpose |
|---|---|
along-commit (/along-commit) |
Smart ASCII-clean Conventional Committer linked to active .along/ issue. |
along hook verify (along hook) |
Verify bi-directional traceability between prose badges and YAML gates, and print which layer (runtime, git, ci) enforces each gate. |
along gates check |
Commit-time gates outside agent runtimes: --hook pre-commit / --hook commit-msg (opt-in via along hooks install --git) or --ci over a commit range. |
along git setup |
Register merge drivers for projections and entity front-matter (along git sync after a merge). |
along-graph-check (/along-graph-check) |
Preflight health check and verification for code-review-graph AST engine. |
along-graph-sync (/along-graph-sync) |
Build or incrementally update code-review-graph AST code intelligence database. |
along-graph-impact (/along-graph-impact) |
Determine blast radius, affected flows, and candidate tests for changed symbols or files. |
along-graph-arch (/along-graph-arch) |
Architectural overview, community structure, coupling hotspots, and bridge nodes. |
along-dep-scan (/along-dep-scan) |
Scan declared dependencies for AI instructions into docs/topic--dependencies.md. |
along context-budget (along budget) |
Context budget measurement and regression gate (--check, --json). |
5. Knowledge Base & LLM-Wiki Intelligence
| Skill / Command | Purpose |
|---|---|
along-kb-sync (/along-kb-sync) |
Idempotent LLM-Wiki Knowledge Base compiler, AST symbol grounding, and link integrity gate in docs/. |
along-kb-search (/along-kb-search) |
Zero-vector local multi-scope snippet search across docs/, ADRs, issues, and session logs (< 150 tokens/match). |
6. Visual Analytics, History & Diagnostics
| Skill / Command | Purpose |
|---|---|
along-dash (/along-dash) |
Launch executive dashboard (Web UI, CLI, Cytoscape DAG, HTML export). |
along-history-sync (/along-history-sync) |
Reconstruct .along/ milestones, issues, and sessions from Git commits. |
along-feedback (/along-feedback) |
System self-diagnostics, incident logging, and feedback dispatch. |
along-wrap (/along-wrap) |
Unified end-of-stage wrap: verification checklist, session log, issues, history. |
License
MIT License. See LICENSE for details.
Metadata
Release files for actdim-along 4.9.0
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 |
|---|---|---|---|---|
| actdim_along-4.9.0.tar.gz | 1.4 MB | Without provenance | Details for actdim_along-4.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| actdim_along-4.9.0-py3-none-any.whl | Python 3 | none | any | Details for actdim_along-4.9.0-py3-none-any.whl |
Total release size: 2.1 MB
Release files / actdim_along-4.9.0.tar.gz
| Download URL | actdim_along-4.9.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2213a609c63d6fab09a9b39b04a06999d8e843aa19cec4dd4a5dba7feffc774
|
|
BLAKE2b-256 checksum How to use checksums |
4504db789264400ab03bfe297b5c91e07641ccae0d3652cd81ddcbee97320c40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / actdim_along-4.9.0-py3-none-any.whl
| Download URL | actdim_along-4.9.0-py3-none-any.whl |
|---|---|
| Size | 680.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dbce5c089d8def031baed8b73c67a9325ae1c9d43ed13829b8edc5b272c46bf
|
|
BLAKE2b-256 checksum How to use checksums |
542d4ab347ba88234810e9d33ed5c68ae4abfec006866ce896d893a4fb208c7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for actdim-along 4.9.0
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.