Skip to main content

🌌 Akasa: Application Kernel & Volume Router

Akasa (Sanskrit for Ether / Substrate / Space) is a local-first, event-sourced Python micro-kernel.

Extracted from the inSetu Developer OS, Akasa acts as the foundational substrate for multi-tenant, offline-first Python applications. It is strictly domain-agnostic: it knows nothing about your application's business logic, acting purely as a high-performance routing and synchronization engine.

✨ Core Mechanics

  1. The Volume Router (VFS): An asynchronous, non-blocking Virtual File System. It abstracts physical disk I/O behind a strict Mount Table, allowing host applications to mount sandboxed repositories and virtual domains to unified URIs (e.g., vfs:// or ctx://).
  2. Stateless Multi-Tenancy: All databases, caches, and file resolutions are scoped to an active workspace_id, allowing a single daemon process to serve multiple isolated tenant environments safely.
  3. The Typed Event Bus: A synchronous/asynchronous HookRegistry enforcing strict authorization boundaries for inter-module communication.
  4. The Metronome (Worker Engine): A background SQLite-backed job ledger (jobs and immediate_jobs) providing distributed, dependency-driven task execution and UI telemetry without blocking the main event loop.
  5. SQLite WAL Connection Pooling: Thread-local, auto-evicting database connection pooling explicitly optimized for Write-Ahead Logging concurrency.

🏗️ Architecture Mandate

Akasa adheres to the Blind Substrate Mandate.

  • Zero Domain Logic: Akasa does not parse target repositories, compile RAG contexts, or understand Git diffs. It only provides the tools to store and route them.
  • Inversion of Control: All application-specific behavior is injected into Akasa by the host application via @hooks.on() subscriptions, Driver registrations, and Volume mounts.

🚀 Installation

Akasa is designed to be installed as a foundational dependency for your host application.

pip install akasa

Release files for akasa 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for akasa 0.1.1
File Size Uploaded
akasa-0.1.1.tar.gz 34.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for akasa 0.1.1
File Interpreter ABI Platform
akasa-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 71.9 kB

Release files / akasa-0.1.1.tar.gz

Download URL akasa-0.1.1.tar.gz
Size 34.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a648102ba9d5a5a02cc09ccdbbc2a21da78d374bb6e3ac41a2a821f6b5976c31
BLAKE2b-256 checksum
How to use checksums
d01394c5570d8a22be5acdbfde84ec617bfe3284d857ac2de2f2d6c94c442913
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / akasa-0.1.1-py3-none-any.whl

Download URL akasa-0.1.1-py3-none-any.whl
Size 37.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c73171c72f6a0c68b71c8b896959705ead065ab1848e02e3bb8644ba5230788
BLAKE2b-256 checksum
How to use checksums
5ce8cab2526ef3cc9c2acb68a0fdcd7243acd3f9434e1881787f5954f422cc71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page