Skip to main content

BrickAITools v3.0.0

AI Engineering & Creative Studio OS — unified CLI, native stdio MCP Control Plane, AST context & SQLite FTS5 episodic memory, deterministic Policy & Sandbox Guard, Config-Driven Web / Deck / Video Studios, and a zero-dependency Local Web UI Control Plane.

Quickstart

Requires Python 3.9+ with zero required third-party runtime dependencies.

1. Install

# Recommended isolated CLI install via pipx
pipx install git+https://github.com/BrickRunner/BrickAITools.git

# Or install from a local clone
git clone https://github.com/BrickRunner/BrickAITools.git
cd BrickAITools
pipx install .

# Or install editable for development & tests
pip install -e ".[dev]"

# Or install via Homebrew (see Formula/brickai.rb)
brew install --HEAD Formula/brickai.rb

2. Initialize a Host Project

Generate compact agent instructions (AGENTS.md, CLAUDE.md, GEMINI.md), auto-detected domain packs, and MCP server wiring (.mcp.json, .gemini/settings.json, .codex/config.toml, opencode.json, .brickai/config.json):

brickai init --host all --dry-run --target .
brickai init --host all --apply --target .

3. Launch the Local Web UI Control Plane

Inspect runtime health (doctor), browse the compiled Resource Catalog (manifests/resources.bundle.json), manage Spec-Gate task checkpoints, search local & global FTS5 memory, and copy Studio quick-commands:

brickai ui
# Custom bind / headless flags
brickai ui --host 127.0.0.1 --port 8765 --no-open
# Print self-contained Control Plane HTML and exit 0
brickai ui --dump-html

4. Start the Native MCP Server

Run the JSON-RPC 2.0 MCP server over stdio, confined to the target workspace root:

brickai mcp serve --root .

5. Run Environment Diagnostics

brickai doctor --json

Creative & Verification Studios

Web Studio (web-build, web-verify, web-extract)

Config-driven motion & 3D web site compiler (editorial-swiss, spatial-3d-dark, neo-brutalist-craft, minimal-luxury presets), design-token extractor, and Playwright + deterministic static fallback auditor with built-in Anti-AI-Slop checks:

brickai web-build --spec site.manifest.json --out-dir dist
brickai web-verify --path dist --json
brickai web-extract --source https://example.com --name brand-tokens --out-dir tokens

Presentation Deck Studio (deck)

Compile and verify deck.manifest.json across slidev, reveal, and marp engines with 1280x720 layout-alternation & word-budget checks, and export to pptx, pdf, or html:

brickai deck init --engine slidev --out-dir deck
brickai deck build --manifest deck/deck.manifest.json --out-dir deck/dist
brickai deck verify --manifest deck/deck.manifest.json
brickai deck export deck/dist --format pptx

Video Studio (video)

Compile, verify, render, and synthesize local TTS voiceovers (kokoro, piper, say, espeak-ng) for hyperframes, motion-canvas, and manim:

brickai video init --engine hyperframes --out-dir video
brickai video build --manifest video/video.manifest.json --out-dir video/dist
brickai video verify video/dist
brickai video render video/dist
brickai video voiceover video/video.manifest.json --provider auto

Core Engineering Engine

  • AST Symbol Map (brickai context map): Token-budgeted AST context map (--max-tokens 4000).
  • Episodic & Global Memory (brickai memory): SQLite FTS5 BM25 search with secret redaction and TTL pruning (record, query, prune).
  • Scaffolder & Surgical Patcher (brickai scaffold, brickai patch, brickai autofix): Template scaffolding, bounded SEARCH/REPLACE and AST codemod edits, and formatting.
  • Checkpoints & Spec-Gate (brickai checkpoint, brickai workflow run): Atomic .brickai/checkpoints/*.json persistence with spec_approved enforcement.
  • Content Ingestion (brickai ingest): SSRF-guarded URL & local document conversion into secret-redacted Markdown.
  • Security Audit (brickai audit): Built-in secret/AST scan plus optional gitleaks, semgrep, and osv-scanner integration.

Documentation & Policies

Verification

python3 -m brickai.core.manifest_compiler --check
python3 tests/validate.py --require-schema
python3 -m pytest -q

Metadata

Release files for brickai 4.0.0

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

Source distribution (sdist)

Source distribution for brickai 4.0.0
File Size Uploaded Provenance Actions
brickai-4.0.0.tar.gz 341.8 kB Without provenance Details for brickai-4.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 594.5 kB

Release files / brickai-4.0.0.tar.gz

Download URL brickai-4.0.0.tar.gz
Size 341.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7bfd6ef70e438d7faff04586a9bebe3c9d05c548b9237022f88cfd4fa1aa2b75
BLAKE2b-256 checksum
How to use checksums
7fcda28ce57f6e25918baf7537288e3c66fb477e08bfdb35ab79b987c8119b89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.19

Release files / brickai-4.0.0-py3-none-any.whl

Download URL brickai-4.0.0-py3-none-any.whl
Size 252.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ed5e85b57068badf697d779a614db6b46c2b38702dc53d9c5c299761929d445
BLAKE2b-256 checksum
How to use checksums
a1ef2f8f940d66f997eef0148091a7d61908bd816f1ab30b2d1509c8007d8932
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.19

Security for brickai 4.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.0.0 This release

2 release files No provenance

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