J.O.S.H.U.A.
Joint Operational Systems for Heuristic User Automation
J.O.S.H.U.A. is an open-source, CLI-agnostic Operating System designed to serve as the foundational brain, memory, and infrastructure for autonomous AI coding agents. External LanceDB (RAG) memory, GitOps guardrails, encrypted Blackbox session continuity, and Parquet "Datajack" knowledge cartridges. v1.8.0 — Production-tested, trenches-first.
📦 Install from PyPI (MCP server + CLI)
The lightweight package ships the MCP retrieval server and the aim CLI code (no project data, virtualenvs, or databases):
pip install aim-joshua
# Run the MCP server on demand (stdio), no permanent install:
uvx --from aim-joshua aim-joshua-mcp
Console scripts: aim and aim-joshua-mcp. A pip-installed aim operates on a project that already contains joshua_os/.aim_core; for the full OS (installer, worktrees, shared engine), use the Quickstart installers below.
🚀 Quickstart & Installation
J.O.S.H.U.A. runs natively on Linux, WSL (Ubuntu), macOS, and Windows 10/11, requiring Python 3.10+, Git, and your preferred underlying LLM harness (Antigravity IDE/CLI, Grok CLI, OpenCode, Codex, Claude Code, Cursor, etc.).
- Local-Only Mode (Zero GitHub Setup): Works immediately out of the box after
git init— includes LanceDB RAG (search_lancedbMCP +./aim search),memory-wiki/,HANDOFF.md, encrypted Blackbox Vault, and local Git worktrees (./aim fix <id>→./aim promotemerges locally when nooriginremote is configured). - GitHub-Backed GitOps & Kanban Mode (Optional): Commands that create/query GitHub Issues, PRs, or Project boards (
./aim bug,./aim projects,./aim prune-remote --confirm, and remote pushes during./aim push/./aim promote) require a configured Gitoriginremote and an authenticated GitHub CLI (gh auth login, plusgh auth refresh -s project,read:projectfor Kanban boards).
⚠️ IMPORTANT (Target Directory Rule): All installers scaffold J.O.S.H.U.A. directly into your current working directory (
pwd) and register a CLI alias matching the folder name. Always create andcdinto your target project directory before running the installer.
| Option | Installer Script | Windows PowerShell | Best For | AGENTS.md Installed |
Upstream .git / tests/ |
|---|---|---|---|---|---|
| Option A (Default) | joshua_os/install.sh |
joshua_os/install.ps1 |
New or existing software projects | Full 10-section J.O.S.H.U.A. AGENTS.md (cp -n, never overwrites existing) |
Stripped (clean project root) |
| Option B (Co-Agent) | joshua_os/install-agent.sh [persona] |
joshua_os/install-agent.ps1 [persona] |
Specialist peer nodes under ~/aim-agents/<name> |
Specialist blueprint from aim-coagents if [persona] is passed; otherwise full 10-section AGENTS.md |
Stripped (isolated node) |
| Option C (Contributor) | joshua_os/install-core.sh |
joshua_os/install-core.ps1 |
Developing the J.O.S.H.U.A. OS engine itself | Upstream aim-joshua/AGENTS.md |
Preserved (tests/, memory-wiki/, .git) |
Option A: Clean Project Installation (Default — New or Existing Projects)
Installs the joshua_os/ engine, local ./aim / aim.ps1 / aim.cmd launchers, project-specific memory_lance/ database, multi-harness search_lancedb MCP server (auto-registered for Antigravity, Grok, Codex, OpenCode, and existing Cursor/Claude configs against the shared engine at ~/.aim/engine), and default AGENTS.md / TOOLS.md blueprints into your project directory without aim-joshua contributor history.
Linux / macOS / WSL (Bash / Zsh):
# 1. Create and enter your project directory (the folder name becomes your CLI alias)
mkdir -p ~/my-project && cd ~/my-project
# 2. Run the clean installer
curl -fsSL https://raw.githubusercontent.com/BrianV1981/aim-joshua/main/joshua_os/install.sh | bash
# 3. Reload shell (~/.bashrc on Linux/WSL or ~/.zshrc on macOS) and verify installation
source ~/.bashrc
./aim doctor
Windows 10/11 (PowerShell):
# 1. Create and enter your project directory
mkdir my-project; cd my-project
# 2. Run the native PowerShell installer
irm https://raw.githubusercontent.com/BrianV1981/aim-joshua/main/joshua_os/install.ps1 | iex
# 3. Verify installation
.\aim.ps1 doctor
Option B: Headless Co-Agent (Sovereign Node)
Deploys a stripped-down, headless Sovereign Co-Agent node (ideal for specialist peers under ~/aim-agents/<node-name> paired with a blueprint from aim-coagents). Pass an optional persona name (python-developer, aim-auditor, lead-analyst, etc.) to pull that specialist AGENTS.md blueprint automatically, or omit it to use the default 10-section J.O.S.H.U.A. AGENTS.md.
# Linux / macOS / WSL
mkdir -p ~/aim-agents/my-agent && cd ~/aim-agents/my-agent
curl -fsSL https://raw.githubusercontent.com/BrianV1981/aim-joshua/main/joshua_os/install-agent.sh | bash -s python-developer
source ~/.bashrc
./aim doctor
# Windows 10/11 (PowerShell)
mkdir C:\aim-agents\my-agent; cd C:\aim-agents\my-agent
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/BrianV1981/aim-joshua/main/joshua_os/install-agent.ps1))) python-developer
.\aim.ps1 doctor
Option C: Core Contributor Installation
Installs the universal engine while preserving the aim-joshua .git history, test suites (tests/), and memory-wiki/ for developing J.O.S.H.U.A. itself.
# Linux / macOS / WSL
mkdir -p ~/aim-joshua-dev && cd ~/aim-joshua-dev
curl -fsSL https://raw.githubusercontent.com/BrianV1981/aim-joshua/main/joshua_os/install-core.sh | bash
# Windows 10/11 (PowerShell)
mkdir aim-joshua-dev; cd aim-joshua-dev
irm https://raw.githubusercontent.com/BrianV1981/aim-joshua/main/joshua_os/install-core.ps1 | iex
Customizing J.O.S.H.U.A. for Your New Project
Once installed in your project directory:
- Personalize Identity & Rules (
AGENTS.md):- Automatic Turn-1 Prompt or Direct Edit: The default
AGENTS.mdincludes- **Operator Name:** [ASK OPERATOR FOR THEIR NAME AND FILL IT IN HERE USING FILE EDIT TOOLS], instructing your agent on Turn 1 to ask your name and updateAGENTS.mdsurgically in place. You can also editAGENTS.md(andTOOLS.md) directly to define your project's domain architecture, tech stack, and specific rules, or copy a specialist blueprint fromaim-coagents. - Interactive Onboarding Interview (
./aim init): Alternatively, run./aim init(on POSIX systems withtmux) to launch the interactive Onboarding Architect (joshua_os/BOOTSTRAP.md) in atmuxsession, or run.\aim.ps1 init --headlesson Windows and pastejoshua_os/BOOTSTRAP.mdinto your IDE/CLI chat to customizeAGENTS.md(## 1and## 11) while preserving all 10 core OS sections.
- Automatic Turn-1 Prompt or Direct Edit: The default
- Initialize Project Knowledge (
memory-wiki/& LanceDB): Add project documentation inmemory-wiki/(or any docs folder) and vectorize it into your project's isolated LanceDB database:./aim index # Windows PowerShell: .\aim.ps1 index # Or ingest a custom documentation directory: ./aim index --dir ./docs
- Keep the Engine Updated: At any time, pull the latest pinned J.O.S.H.U.A. release into your project without overwriting your custom
AGENTS.md,TOOLS.md,memory-wiki/, orCONFIG.json:./aim update # Windows PowerShell: .\aim.ps1 update (supports --ref <tag> or --source <dir>)
Shared MCP Engine (One Engine, Per-Project Memory)
search_lancedb runs from one versioned engine at ~/.aim/engine (override with AIM_ENGINE_ROOT), so there is a single copy to update instead of one per project. The database, however, is always per project: the server resolves <workspace>/joshua_os/memory_lance from the active workspace and fails closed when the project has no index — it never borrows another project's memory.
./aim engine status # path, version, venv health
./aim engine sync # install/refresh the shared engine and re-register harnesses
./aim update refreshes the shared engine automatically. For a deliberate, read-only cross-project lookup in an umbrella directory, set AIM_UMBRELLA_SCAN=1; for a one-off explicit database, set AIM_MEMORY_DB=/abs/path/to/joshua_os/memory_lance.
Universal Skill Injection (Required Once Per Supported Host CLI)
Because J.O.S.H.U.A. is CLI-agnostic, skills are decoupled from the OS engine. Clone aim-skill-library once and install the skill pack for agy, grok, opencode, or codex (Claude Code and Cursor use AGENTS.md + auto-registered search_lancedb MCP + ./aim CLI directly):
# Linux / macOS / WSL (Antigravity 2.0 global skills; legacy standalone agy 1.x CLI uses ~/.gemini/antigravity-cli/skills)
git clone https://github.com/BrianV1981/aim-skill-library.git ~/aim-skill-library
cd ~/aim-skill-library
./scripts/install.sh --vessel agy --dest ~/.gemini/config/skills --mode symlink
# Windows 10/11 (PowerShell — Antigravity 2.0 global skills; defaults to copy mode without requiring Developer Mode symlinks)
git clone https://github.com/BrianV1981/aim-skill-library.git "$HOME\aim-skill-library"
cd "$HOME\aim-skill-library"
.\scripts\install.ps1 -Vessel agy -Dest "$HOME\.gemini\config\skills"
🧭 Platform & Harness Capability Matrix
J.O.S.H.U.A. separates its cross-platform Universal Core from optional POSIX Swarm add-ons, with transparent per-harness integration tiers:
| Tier / Harness Group | Platforms & Harnesses | Included Capabilities |
|---|---|---|
| Tier 1A: Full Harness Pack | Windows 10/11, macOS, Linux, WSL · Antigravity (agy), Grok CLI (grok), OpenCode (opencode), Codex CLI (codex) |
AGENTS.md constitution, search_lancedb MCP auto-registration, aim-skill-library slash skills (/aim-memory-wiki, /aim-handoff, /aim-mail, etc.), dedicated session sealers (agy-blackbox, grok-blackbox, opencode-blackbox, codex-blackbox), FTS5 session notebook (./aim sessions), and GitOps worktrees. |
| Tier 1B: Universal MCP + CLI | Windows 10/11, macOS, Linux, WSL · Claude Code, Cursor, or any MCP/CLI agent | AGENTS.md constitution, automatic search_lancedb MCP registration (when ~/.claude.json or ~/.cursor exists), ./aim / .\aim.ps1 CLI retrieval & GitOps worktrees, and manual transcript sealing via ./aim vault seal --path <transcript>. |
| Tier 2: POSIX Swarm | Linux, WSL, macOS (tmux; bwrap on Linux) |
Detached tmux execution, A-Mail (amail / aim-mail) inter-agent messaging with a native tmux wake driver, /aim-handoff automated tmux baton pass, and Linux bwrap sandbox isolation (aim-bwrap-forge). |
🔥 Core Capabilities
- Universal OS Framework: Runs natively across Linux, macOS, WSL, and Windows 10/11 as the external memory and workflow exoskeleton for coding agents.
- Headless Deployment: Co-agents can be deployed into dedicated repositories via
install-agent.sh/install-agent.ps1. - Embedded Local Memory: Two-Tier Hybrid RAG (LanceDB vectors + Tantivy BM25 FTS + RRF reranking) with zero-copy Parquet ROM cartridge mounting (
./aim bake,./aim jack-in,./aim unplug). - GitOps Enforcement (with Memory-State Exemption): Application code and configuration changes run inside isolated
workspace/issue-<id>worktrees (./aim fix→ TDD →./aim promote), while living Agent Memory (memory-wiki/**andHANDOFF.md) commits and pushes directly toorigin/mainwith zero prompts. - Autonomous Memory Wiki & One-Command Handoffs:
/aim-memory-wikiruns as a fast mid-session "Save Game" checkpoint directly tomain, and/aim-handoffautomatically checksmemory-wiki/log.mdfor unlogged session deltas, surgically updatesHANDOFF.md(0–9template), and pushes both toorigin/main. - A-Mail Inter-Agent Communication:
amail/aim-mail(zero-dependencyaim-mailbox) is the single transport across Linux, WSL, macOS, and Windows, with mandatoryFROM/REPLY_TO,--operator-approveddispatch gates,max_hops=1reply bounds, and DND guards;aim-communicate/tmux_send.share deprecated. - Encrypted Blackbox Vault & Session Notebook: Fernet (
AES-128-CBC + HMAC-SHA256) at-rest encrypted session archival (archive/.raw_jsonl_blackbox/, keyed via OS keyring or0600~/.aim/blackbox.keyfor safe Git/cloud backup) paired with a local SQLite WAL/FTS5 project session notebook (./aim sessions,./aim search-sessions). - Anti-Drift Shield (Antigravity Hook): When registered in Antigravity,
cognitive_mantra.py(AfterToolviaaim_router.py) periodically reinforcesAGENTS.mdmandates during long tool-call chains.
📖 Documentation & Contributing
- Engine Architecture Manuals (
joshua_os/joshua_os_docs/): Canonical specifications for Hybrid RAG, GitOps worktrees, Blackbox Vault at-rest encryption, DataJack Parquet cartridges, and Handoff protocols. - Contributing Guide (
CONTRIBUTING.md): Setup (install-core.sh/install-core.ps1), worktree workflow, andpytestverification gates.
☕ Support the project: Buy Me a Coffee
🧬 The A.I.M. Ecosystem
J.O.S.H.U.A. (AIM-Joshua) is the foundational operating system in the larger A.I.M. (Actual Intelligent Memory) architecture.
To see how the sovereign OS, AI agents, MCP servers, and terminal multiplexers all connect, please visit the central ecosystem repository:
Metadata
Release files for aim-joshua 1.8.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 |
|---|---|---|---|---|
| aim_joshua-1.8.0.tar.gz | 163.5 kB | With provenance | Details for aim_joshua-1.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aim_joshua-1.8.0-py3-none-any.whl | Python 3 | none | any | Details for aim_joshua-1.8.0-py3-none-any.whl |
Total release size: 298.8 kB
Release files / aim_joshua-1.8.0.tar.gz
| Download URL | aim_joshua-1.8.0.tar.gz |
|---|---|
| Size | 163.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ba95947421d67b34596539d4d16314fb8823b61227e93c3bcc0c257a99da608
|
|
BLAKE2b-256 checksum How to use checksums |
9c9326e33240cc58e9b3da2446990469ce480e1b425ee676fa8d820debd04d15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / aim_joshua-1.8.0-py3-none-any.whl
| Download URL | aim_joshua-1.8.0-py3-none-any.whl |
|---|---|
| Size | 135.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b136f5121932f4112dd3d0092bb4e5929de21c0d36ecbfd49f14165186f1a8a4
|
|
BLAKE2b-256 checksum How to use checksums |
1a8caed80a10daf9e500091baa03de7f7111ead32966a93611e5f097197a960f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for aim-joshua 1.8.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for aim_joshua-1.8.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA 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.