Skip to main content

AiosDeck

Less friction. More intelligence.

AiosDeck is an intelligent orchestration platform that transforms AI-assisted development from isolated conversations into collaborative software engineering.

Instead of talking to a single language model, you work with a coordinated team of specialized AI agents — each with one responsibility, governed by a kernel that manages context, memory, workflows, and security.

Just as an operating system coordinates CPU, memory, and processes, AiosDeck coordinates context, planning, implementation, review, and documentation.

The result is a development environment that remembers your projects, understands your architecture, and continuously assists your workflow.

Table of Contents

Core Idea

Traditional AI tools follow a single conversation loop. The model is the center of everything.

Developer
   │
   ▼
LLM
   │
   ▼
Answer

AiosDeck introduces an execution layer between you and the model. The language model is no longer the center of the system — it becomes an execution engine.

Developer
   │
   ▼
AiosDeck
   │
   ├── Planner       (decomposes intent)
   ├── Context       (enriches with project knowledge)
   ├── Memory        (remembers decisions and conventions)
   ├── Scheduler     (orchestrates task queue)
   ├── Agents        (execute with single responsibility)
   ├── Quality Gates (validate every output)
   └── Security      (enforces zero-trust policies)
   │
   ▼
Runtime (OpenCode via ai-jail)
   │
   ▼
LLMs (Ollama / GPT / Gemini / Claude)

Philosophy

AiosDeck is built around ten principles that guide every architectural decision.

Principle Meaning
Context before Intelligence Better context produces better answers. Inject project knowledge before every prompt.
Automation over Prompts Detect whenever possible. Never ask what can be discovered.
One Agent. One Responsibility. Every agent has exactly one job. Nothing more.
Events over Function Calls Communication happens through an event bus, never through direct coupling.
Humans Own the Architecture Humans define goals. Agents execute. Architecture decisions are human territory.
Local First. Cloud Optional. Everything runs locally by default. Cloud models are an option, never a requirement.
Memory Is Part of the System Memory is a first-class citizen, not a shortcut. The system remembers across sessions.
The Runtime Is Replaceable OpenCode is one runtime. Not the runtime. The adapter pattern keeps it swappable.
Security Is Architecture, Not a Feature Zero-trust, capabilities, and sandboxing from day one. Every agent is untrusted until explicitly authorized.
The ProjDesk Contract ProjDesk manages the development environment. AiosDeck manages the intelligence environment. If a feature doesn't help manage the developer's intelligence workspace, it doesn't belong in AiosDeck.

Every abstraction must solve an existing problem. Never an anticipated one.

The full philosophy is documented in philosophy.md.

Relationship with ProjDesk

ProjDesk prepares your development workspace. AiosDeck prepares your intelligence workspace. Together they create an autonomous development environment.

Developer
   │
   ▼
ProjDesk
   │
   ├── Docker
   ├── VS Code
   └── Workspace
   │
   ▼
AiosDeck
   │
   ├── Context
   ├── Agents
   └── OpenCode
   │
   ▼
LLMs

The contract between them is a project manifest (aios/project.yaml) — a single file that describes how the project should be understood, which Skills to load, which Quality Gates to run, and which agents to enable. ProjDesk can generate it. AiosDeck consumes it. It works with or without ProjDesk.

Roadmaps

AiosDeck maintains three roadmaps. Only one is active.

Vision Roadmap — Where We Are Going

The destination. No dates. No versions. Pure direction.

  • AI Operating System — A coordinated team of specialized AI agents, each with one responsibility
  • Marketplace — Community-contributed Agents, Skills, Workflows, and Plugins
  • Distributed Agents — Agents running across machines, coordinated by the Scheduler
  • Cloud Sync — Shared memory, shared policies, per-team agents (local-first, cloud-optional)
  • IDE Integration — In-editor agent panels, inline reviews, side-by-side context

Architecture Roadmap — What We Know Will Exist

All planned phases. Documented, specified, but not all implemented.

Phase Status Components
v0.1 Foundation Implemented CLI, Configuration, Context Engine, Runtime Adapter, OpenCode + ai-jail, Skills, Logger
v0.2 Developer Agent Implemented Single agent that handles everything
v0.3 Memory Implemented SQLite-backed persistence for conventions, decisions, architecture
v0.4 PromptBuilder Implemented Structured prompt assembly with context, memory, skills
v0.5 AgentExecutor + DX Implemented Execution guardrail, CLI redesign, autocomplete, ProjDesk integration
v0.6 Planner Implemented Task decomposition, prioritization, headless security hardening
v0.7 Reviewer Component (no CLI yet) Architecture critique, convention enforcement
v0.8 Scheduler (Kanban/Scrum) Implemented Persistent board, TDD gate, terminal DX (spinners, board rendering)
v0.9 Workflows + Plugins Specified Multi-agent pipelines, quality gates, extension points for Runtimes, Agents, Skills, Workflows
v1.0 AI OS Specified Full ProjDesk integration, status dashboard

The Reviewer component ships tested in v0.9 but is not yet exposed via aios commands or the Kernel — CLI integration is planned for a future release.

Implementation Roadmap — What We Are Building Now

The only roadmap that matters day to day. Everything else is blocked.

Component Version Task
CLI (aios) v0.6.1 Dashboard, doctor, plan, memory commands, help, autocomplete
Command Registry v0.6.1 Single source of truth for CLI + help + completion
Configuration v0.1 Detection > manifest > user config > env > defaults
Context Engine v0.1 Language detection, tool detection, Git/Docker/OpenCode status
Memory Engine v0.3 SQLite-backed CRUD for conventions, decisions, patterns, mistakes
Scheduler (Kanban) v0.8 KanbanEngine: persistent boards/cards/subtasks, TDD gate, board rendering
PromptBuilder v0.4 Structured prompt assembly (task, context, git, memory, skills)
AgentExecutor v0.5 Execution guardrail (Event Bus, metrics, logging) shared by all agents
Developer Agent v0.2 Builds prompt, delegates to AgentExecutor, interprets outcome
Runtime Adapter v0.6.1 OpenCode invocation via ai-jail, skill loading, headless tool permission enforcement
Event Bus v0.1 In-process pub/sub, topics, audit logging
Shell Completion v0.5 bash and zsh scripts delegating to aios __complete
ProjDesk Client v0.5 resolve(name) → Path, domain exceptions
Security (skeleton) v0.1 Policy loading, audit logging. Headless hardening in v0.6.1. Full enforcement in v0.7
Logger v0.1 Structured logging, session audit trail

Rule: Every abstraction must solve an existing problem. Never an anticipated one. If a component is not in this table, it has not earned its existence yet.

Agent Birth Timeline

v0.2  Developer    ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
v0.3  Memory       ░░░░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░░░
v0.4  PromptBuilder░░░░░░░░░░░░░░░████████░░░░░░░░░░░░░░░░░░
v0.5  AgentExecutor░░░░░░░░░░░░░░░░░░░░░░░████████░░░░░░░░░░
v0.6  Planner      ░░░░░░░░░░░░░░░░░░░░░░░░░░░░████████░░░░░
v0.7  Reviewer     ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░████████░░
v0.8  Scheduler    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██████░░
v0.9  Tester       ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░████
v0.9  Documentation░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
v0.9  Git          ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██
v0.9  Research     ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██

Architecture

                         User
                          │
                          ▼
                    AiosDeck CLI (aios)
                          │
                          ▼
                        Kernel
                          │
                  Event Dispatcher
                          │
             ┌────────────┼────────────┐
             ▼            ▼            ▼
         Scheduler     Memory      Context
                          │
                          ▼
                     Task Queue
                          │
                  Security Manager
             ┌────────────┼────────────┐
             │ Policy Engine           │
             │ Capability Manager      │
             │ Secret Manager          │
             │ Prompt Firewall         │
             │ Audit Logger            │
             │ Approval Gates          │
             └────────────┼────────────┘
                          │
                  Quality Pipeline
             ┌────────┬───┴───┬────────┬────────┐
             ▼        ▼       ▼        ▼        ▼
          Format    Lint   Tests  Security  AI Arch
                                              │
                                    Documentation Review
                          │
             ┌────────────┼─────────────┐
             ▼            ▼             ▼
          Planner      Coder      Reviewer
             │            │             │
             │    (loads Skills from    │
             │     OpenCode skill       │
             │     tool on-demand)      │
             │            │             │
              └────────────┼─────────────┘
                           ▼
                    AgentExecutor
                           │
                    Runtime Adapter
                           │
                  OpenCode (via ai-jail)
                           │
                Ollama / GPT / Gemini / Claude

Full architecture is documented in architecture.md.

How It Works

Project Detection

aios

AiosDeck detects everything automatically:

  • Project language (Python, JS/TS, Rust, Shell, Go, ...)
  • Dependency manager (uv, pip, npm, cargo, ...)
  • Linter (ruff, eslint, clippy, shellcheck, ...)
  • Formatter (black, prettier, cargo fmt, shfmt, ...)
  • Test runner (pytest, vitest, jest, bats, cargo test, ...)
  • Git repository status
  • Docker and Docker Compose presence
  • OpenCode configuration and available Skills
  • ai-jail sandbox configuration

All of this feeds into the Context Engine, which enriches every agent prompt with project-specific knowledge. No prompts. No configuration files. Just detection.

The Project Manifest

Every project can declare an aios/project.yaml that defines how the project should be understood:

name: my-project
language: python
runtime: opencode
sandbox: ai-jail

quality:
  lint: ruff
  format: black
  tests: pytest

skills:
  - project-dna
  - coding-style

workflows:
  - feature
  - fix
  - review

This manifest is the contract between ProjDesk and AiosDeck — and between any project and its AI agents.

Session Flow

aios
   │
   ├── Detects project characteristics
   ├── Loads project manifest
   ├── Restores memory from previous sessions
   ├── Assembles context (language, tools, conventions, architecture)
   ├── Loads active Skills (project-dna, coding-style)
   ├── Opens the project kanban board (scheduler engine)
   ├── Starts Runtime (OpenCode via ai-jail)
   └── Shows dashboard
──────────────────────────────
 ProjDesk
 Workspace Ready
──────────────────────────────
 Docker        Running
 Git           main
 Skills        12 loaded
 Memory        Loaded
 Scheduler     Ready
 Developer     Ready
 Planner       Ready
 Reviewer      Offline
 Tester        Offline
 Documentation Offline
 OpenCode      Connected
 Runtime       ai-jail
 Status        Healthy
──────────────────────────────
 Welcome back.

Security

Security is not a feature. It is architecture. From the first line of code.

Zero-Trust Model

Every agent is untrusted until explicitly authorized. Instead of giving agents full access, each receives only the capabilities required for its job.

agents:
  planner:
    filesystem: read
    internet: false
    git: false
    shell: false

  coder:
    filesystem: write
    shell: true
    git: false
    internet: false

  reviewer:
    filesystem: read
    shell: false
    internet: false

  researcher:
    internet: true
    filesystem: read

Security Components

  • Policy Engine — enforces capability-based access per agent
  • Capability Manager — assigns and revokes capabilities at runtime
  • Secret Manager — injects secrets into runtime, never into prompts
  • Prompt Firewall — removes secrets, blocks injection, limits size before reaching the model
  • Audit Logger — records every action with timestamps for debugging and trust
  • Approval Gates — requires human confirmation for destructive operations (push, delete, migrate)

Deep Defense

AiosDeck delegates sandbox enforcement to ai-jail (process isolation, filesystem masks, directory restrictions, secret masking, per-project policies). AiosDeck adds orchestration and authorization on top. Even if an agent has permission to execute code, it remains constrained by ai-jail policies. Defense in depth.

runtime:
  command: ai-jail opencode
  # OpenCode is NEVER invoked directly.
  # The runtime adapter always spawns it
  # inside the security sandbox.

Agent Ecosystem

Agents are specialized. One job each. Nothing more.

Agent Since Responsibilities Cannot
Developer v0.2 Write code, understand context (replaced by specialists in v0.9)
Memory v0.3 Store and retrieve knowledge Execute code, access internet
AgentExecutor v0.5 Guard execution (Event Bus, metrics, logging) Execute code (wraps agents, not a worker)
Planner v0.6 Decompose tasks, prioritize Write code, touch Git, modify files. Enforced by capabilities + OPENCODE_PERMISSION
Reviewer v0.7 Critique code, architecture, conventions Write new code
Scheduler v0.8 Manage kanban board, enforce TDD gate, render sprint progress Execute code
Tester v0.9 Run tests, verify behavior Write production code
Documentation v0.9 Update docs, ADRs, CHANGELOG Write application code
Git v0.9 Commits, branches, tags Write code (only agent with git permission)
Research v0.9 Search docs, APIs, dependencies Modify files

Each agent is documented in detail under agents/. Every agent has its own ADR (Architecture Decision Record) with In → Process → Out specification, events emitted, events consumed, and a timeline of when each capability is introduced.

Skills

Agents learn by loading Skills — small knowledge fragments that teach them how to work with specific technologies, patterns, or conventions. AiosDeck uses OpenCode's native Skill system rather than reinventing it.

Core Skills (v0.1)

Skill Description
project-dna Project identity, vision, architecture, patterns, review checklist, common mistakes
coding-style Code conventions, naming, organization, patterns to encourage and avoid

Future Skills

docker-lifecycle, git-workflow, architecture-principles, agent-design, review-checklist, documentation-style, bash-style, semantic-command-tree, modular-architecture, project-philosophy, event-bus, runtime-opencode, ai-jail.

Skills are born when they solve an existing problem — never before.

Decisions

Architecture Decision Records explain why each foundational choice was made — not just what was chosen. These preserve context for future maintainers.

ADR Decision
ADR-0001 OpenCode as primary runtime
ADR-0002 ai-jail as security sandbox
ADR-0003 Event-driven architecture with in-process bus
ADR-0004 Skills over monolithic agent prompts
ADR-0005 SQLite for memory persistence
ADR-0006 Kanban with Scrum for scheduler persistence

Getting Started

AiosDeck is in alpha. The following will become available as versions ship.

# Install (future)
git clone <repository-url> ~/.config/aiosdeck
~/.config/aiosdeck/install.sh

# Start a session (shows dashboard)
aios

# Manage project knowledge
aios memory list
aios memory add convention "Use snake_case"

# Plan and execute on a sprint board
aios plan "add OAuth2 login" --run

# Run diagnostics
aios doctor

# Show help
aios help

Requirements

  • Linux (primary platform)
  • Python 3.12+
  • OpenCode (runtime for agent execution)
  • ai-jail (security sandbox)
  • ProjDesk (workspace manager, optional but recommended)

License

MIT © Gabriel Pablo Garcia


Read next: VisionPhilosophyArchitectureDecisions

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiosdeck-0.9.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiosdeck-0.9.0-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

Details for the file aiosdeck-0.9.0.tar.gz.

File metadata

  • Download URL: aiosdeck-0.9.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for aiosdeck-0.9.0.tar.gz
Algorithm Hash digest
SHA256 1fa0ebad1829bd7a2e7ee0bda1b8174bc31800d31cc86ee696427520d44b6e62
MD5 3ff440f8438ddb282c31a1f0aa35f77f
BLAKE2b-256 fbb644fb37d98ca2eac7585a5c31338fd7155a3bdbfb058535dae68b95d4b86e

See more details on using hashes here.

File details

Details for the file aiosdeck-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: aiosdeck-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 54.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for aiosdeck-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 069a757381a6278d1075b9d84350724a0d121b3181acaf3150e08bc5c09dbfcb
MD5 a58efb0972c30f1e5071df67d57589db
BLAKE2b-256 7abab9dc3e18e33911cc35f5efab8fbfeb2569c505b6820dfe3abc56077ee2d2

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