NomadPM: Definitive Architecture & Operating Protocol

A comprehensive overview of the NomadPM platform, its fully autonomous AI workforce, and the intended human workflow.

High-Level Description

The Nomad Project Management (NomadPM) platform is a fully autonomous, AI-native control plane designed to operate within a trusted, sandboxed development environment. Its core purpose is to serve as an ecosystem for translating high-level human intent into autonomous, auditable machine execution, with the ultimate goal of having the AI build and manage the entire company's infrastructure and applications.

Logical Layer: The "Architect-Engineer-Orchestrator" Model

The system's intelligence is built on a dual-AI, role-specialized model that strictly separates high-level reasoning from low-level execution.

Delamain (The 120B Architect)

The primary strategic AI and sole conversational partner. Its role is to engage in complex reasoning, decompose goals into tasks, delegate work to human specialists (like a DBA) when necessary, and autonomously write new Python tools into the AITOOLS TDK. It is the "mind" of the system.

Hal (The 20B Engineer)

A deterministic, non-conversational engine whose sole purpose is to translate a single, direct command (prefixed with !do) into a strict, schema-validated JSON plan for tool execution. It is the "hands" of the system.

The Orchestrator (agent_logic.py)

The Python "nervous system" that routes user requests to Delamain or Hal, executes Hal's plans, and passes the results back to Delamain for a final, intelligent summary.

The Autonomous Background Agent Workforce

The platform's long-term autonomy and maintenance are handled by a workforce of independent, background systemd services.

Agent Name Core Purpose
Executive Agent The primary "doer" of the system. It constantly monitors the job_queue for approved, high-level tasks created by Delamain and executes them step-by-step.
Prospector Agent A project management safety net. It finds "stalled" projects and automatically creates default scoping tasks to ensure no work is forgotten.
Consolidation Agent Manages the AI's long-term memory by reviewing logs and conversations to synthesize key insights and update the permanent knowledge stores.
Ingestion Agent Keeps the AI's knowledge base up-to-date with the state of the source code.

The Definitive Human Workflow

The platform has two distinct modes of interaction, designed for different types of work.

1. Architect Mode (Conversational Planning)

The primary workflow for all significant, auditable work. The user engages Delamain in a natural language conversation to define strategic goals. Delamain's role is to decompose these goals into formal Tasks in the Nomad workspace, which are then autonomously executed by the Executive Agent.

2. Engineer Mode (Direct Execution via !do)

A power-user tool for fast, tactical actions. By prefixing a command with !do, the user bypasses Delamain's strategic planning and sends the command directly to Hal for immediate, synchronous execution. The results are returned directly in the chat and are not part of a formal, audited task.

Design Rationale vs. Other Approaches

This "Dual-AI, Role-Specialized" model was chosen after extensive testing proved that a single-model approach is unreliable for a fully autonomous agent. Large "Architect" models have strong, built-in safety alignments that prevent them from reliably executing high-risk, low-level commands like SSH, even in a declared sandbox. Smaller "Engineer" models are better suited for deterministic, literal instruction-following. This architecture uses the right tool for the right job, allowing for both creative, high-level planning and fast, reliable, low-level execution.

← Back to Documentation Home