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.0b27.tar.gz (194.7 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.0b27-py3-none-any.whl (211.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: laida_cli-0.1.0b27.tar.gz
  • Upload date:
  • Size: 194.7 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.0b27.tar.gz
Algorithm Hash digest
SHA256 e34b7a52b869df5f16b170b0267ded335f7ae7252947a15c388ee2ed01c53019
MD5 03e29d0d59899bb82ae6632f5f5c2b08
BLAKE2b-256 b3c45c4adf350b7f8346174aabcc8d4c19efe2f3c09616904f89bdc07082d2b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: laida_cli-0.1.0b27-py3-none-any.whl
  • Upload date:
  • Size: 211.7 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.0b27-py3-none-any.whl
Algorithm Hash digest
SHA256 821447c22dbaecae912a46563dd6ae806e726ee9b508b0a65474dddfba14a82e
MD5 712f10364690091acccd992b34df1f80
BLAKE2b-256 411c8ed99950a542910d2f48daecf0389f10b278450d78187027faf4a2f177f9

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