Skip to main content

LAIDA v3 - Agent-executable software architecture methodology CLI

Project description

LAIDA CLI

PyPI version Python 3.11+ License: MIT

Layered Artificial Inteligence Design Architecture

A methodology-driven CLI that transforms project requirements into production-ready software through structured AI collaboration.

Key Features

  • Claude Code Native - Built specifically for Claude Code, leveraging its agentic capabilities for autonomous software development
  • Structured Methodology - 5 phases, 20 steps that guide from requirements to deployment
  • Mission Control TUI - Interactive dashboard with real-time streaming output
  • YAML-First Architecture - All artifacts are structured, traceable, and version-controllable
  • Scale-Adaptive - Automatically adjusts methodology depth based on project complexity

Installation

# With TUI (Recommended)
pip install "laida-cli[tui]"

# Basic installation
pip install laida-cli

Requirements

Quick Start

# Initialize project structure
laida init

# Launch Mission Control
laida tui

Then use keyboard shortcuts:

  • Press E to edit your project context (13-section questionnaire)
  • Press L to authenticate with Claude Code
  • Press R to run the next step

Mission Control TUI

╭─────────────────────────────────────╮
│  LAIDA Mission Control  β0.1.5     │
╰─────────────────────────────────────╯

An interactive terminal dashboard for orchestrating the LAIDA methodology:

Key Action Description
R Run Execute next phase/step with confirmation dialog
E Edit Open project_context.yaml in your editor
S Status Display project progress overview
L Login Authenticate with Claude Code
V Validate Check artifact integrity
Q Quit Exit Mission Control

Dashboard Components

  • Live Feed - Real-time streaming output from Claude Code execution
  • Progress Panel - Visual tracker showing completed/pending phases
  • File Tree - Browse generated artifacts in outputs/
  • Git Status - Current branch and working tree status
  • Telemetry - Session time, task duration, memory usage

Commands

Command Description
laida init Initialize project with methodology templates
laida tui Launch Mission Control dashboard
laida login Authenticate with Claude Code
laida status Show project progress
laida run <phase> <step> Execute a specific step
laida validate Validate generated artifacts

Methodology

LAIDA executes a structured 5-phase methodology:

Phase Name Deliverables
0 Strategic Foundation Project scale, tech stack (TDR), risks, QAS, bounded contexts, ADRs
1 Module Design RTM, module specifications, DDD aggregates
2 Physical Design File structure, Chain-of-Thought architecture
3 Contract Definition API contracts, dependency analysis
4 Implementation Production code, tests, CI/CD, documentation

Each phase contains 4 steps, totaling 20 sequential steps from requirements to deployment.

Project Structure

your-project/
├── .laida/                              # Methodology engine
│   ├── config.yaml                      # Phase/step definitions
│   ├── prompts/                         # Claude Code prompts per step
│   ├── templates/                       # Artifact schemas
│   │   └── project_context_template.yaml
│   ├── matrices/                        # Tech selection criteria
│   └── rules/                           # Scale calculation
├── inputs/
│   ├── project_context.yaml             # YOUR PROJECT DETAILS
│   └── project_context_template.yaml    # Reference template
└── outputs/
    └── phase{0-4}/                      # Generated artifacts

Project Context

The project_context.yaml is your project's DNA. It contains 13 sections that LAIDA uses to make intelligent decisions:

Section Purpose
Project Identity Name, type, description
Business Context Domain, criticality, deadlines
Scale Expectations Users, RPS, data volume, growth
Team Context Size, skills, availability
Technical Context Infrastructure, legacy systems, integrations
Security Auth, encryption, compliance (GDPR, HIPAA, etc.)
Observability Logging, metrics, tracing, alerting
Recovery RTO, RPO, backup strategy
Quality Standards Coverage, complexity limits, performance budgets
Architecture Preferences Paradigm, deployment model
Domain-Specific Custom fields for your industry
Known Concerns Documented risks and constraints
Success Criteria Measurable goals

How It Works

  1. You describe your project in project_context.yaml
  2. LAIDA calculates project scale (small/medium/large) and selects optimal tech stack
  3. Claude Code executes each step autonomously, generating structured YAML artifacts
  4. Artifacts chain together - each step references outputs from previous steps
  5. Phase 4 generates production Python code, tests, and CI/CD configuration

Development

git clone https://github.com/your-org/laida-cli
cd laida-cli
pip install -e ".[all]"

# Quality checks
pytest tests/ -v
ruff check src/
mypy src/laida_cli/

License

MIT


Built for Claude Code | Documentation | Issues

Project details


Download files

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

Source Distribution

laida_cli-0.1.0b8.tar.gz (183.2 kB view details)

Uploaded Source

Built Distribution

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

laida_cli-0.1.0b8-py3-none-any.whl (200.4 kB view details)

Uploaded Python 3

File details

Details for the file laida_cli-0.1.0b8.tar.gz.

File metadata

  • Download URL: laida_cli-0.1.0b8.tar.gz
  • Upload date:
  • Size: 183.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for laida_cli-0.1.0b8.tar.gz
Algorithm Hash digest
SHA256 bd10fdbd7973f3b8721945db7880b5ef03f7f0f0000ad06c8461042a9b5921d1
MD5 d281e105173789c971e2deefd2c604e5
BLAKE2b-256 3e06ee320b4b5fbadb4ade6e81805a063d22d6e9b99af37fbe5f1dcbf8eb163a

See more details on using hashes here.

File details

Details for the file laida_cli-0.1.0b8-py3-none-any.whl.

File metadata

  • Download URL: laida_cli-0.1.0b8-py3-none-any.whl
  • Upload date:
  • Size: 200.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for laida_cli-0.1.0b8-py3-none-any.whl
Algorithm Hash digest
SHA256 7f479530ad0f971cf9bf1769a84653f5d6e66b63ecdd75834cffe7b159439db4
MD5 6ffe5ceb8b931ad1134492692c46733e
BLAKE2b-256 b170696b7f4ed0d9656538f3ea0343baf8d36b7d6b84b268eef53ed1ee61755f

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