Agentic Coding Flywheel Setup (ACFS)

repository·main·Indexed 23 days ago

https://github.com/dicklesworthstone/agentic_coding_flywheel_setup

A bootstrapping system that transforms a fresh Ubuntu VPS into an AI-powered development environment. ACFS installs over 30 tools, including language runtimes (Bun, Rust, Go, Python), AI coding agents (Claude Code, Codex CLI, Antigravity CLI), and cloud CLIs. It features a manifest-driven architecture using acfs.manifest.yaml to manage tool installation and verification, a TypeScript-based generator for installer scripts, and a security system using SHA256 checksums for upstream installers.

Tokens
167.5K
Snippets
434
Records
775
Agent score
81%

What's inside agentic-coding-flywheel-setup

  1. Overview of installed ACFS tools and agents

    main

    A standard ACFS installation provides a complete agentic engineering workstation including:

    CLI Tools & Runtimes:

    • Terminal: zsh, Oh My Zsh, Powerlevel10k
    • Utilities: lsd, bat, ripgrep, fzf, zoxide
    • Runtimes: Bun (JavaScript), uv (Python), Rust, and Go

    Coding Agents:

    • cc: Claude Code
    • cod: Codex CLI
    • agy: Antigravity CLI

    Coordination:

    • The Dicklesworthstone stack for agent coordination and memory (NTM).
  2. Overview of ACFS Core, Build, and Research tools

    main

    The ACFS ecosystem is organized into several functional categories. Use the following tool mapping to identify which tool handles specific developer workflows:

    Core Tools (Required)

    • br, bv: Local-first issue tracker with graph-aware dependencies (see beads_rust.md).
    • ms: Knowledge management with hybrid semantic search (see meta_skill.md).

    Build & Automation (Optional)

    • rch: Remote compilation helper for build offloading (see rch.md).
    • wa: Terminal automation and orchestration via WezTerm automata (see wezterm_automata.md).

    Research & Knowledge (Optional)

    • brenner: Research session manager with hypothesis tracking (see brenner_bot.md).
  3. What is WezTerm Automata (wa)?

    main

    WezTerm Automata (wa) is a terminal hypervisor designed to coordinate multiple AI coding agents running in WezTerm. It captures pane output in real-time (sub-50ms latency) and uses pattern matching to detect agent state transitions (e.g., rate limits, errors, or task completions).

    Core Capabilities:

    • Observation: Real-time terminal output capture.
    • Pattern Detection: Identifies state changes for agents like Claude Code, Codex CLI, and Gemini CLI.
    • Robot Mode: A machine-to-machine API for agent integration.
    • Search: Full-text search across all captured sessions.
    • Safety: A policy engine with capability gates, rate limiting, and audit trails.
  4. Overview of the ACFS Project Structure

    main

    The repository is organized into several key functional areas:

    • install.sh: The main entry point for the installer.
    • acfs.manifest.yaml: The canonical tool manifest defining the system state.
    • apps/web/: The Next.js website and setup wizard.
    • packages/: Core logic including the manifest parser/generator and onboard TUI.
    • acfs/: Files deployed to the user's home directory (~/.acfs/), including ZSH and Tmux configurations.
    • scripts/:
      • lib/: Internal installer libraries (logging, security, user management, etc.).
      • generated/: Scripts auto-generated from the manifest (e.g., install_agents.sh, install_stack.sh).
      • providers/: Step-by-step setup guides for Contabo, OVH, and Hetzner.
    • tests/: Integration tests for Ubuntu installations using Docker, QEMU, or real VM factories.
  5. What is included in the ACFS stack?

    main

    The Agentic Coding Flywheel Setup (ACFS) installs over 30 tools and configures a complete development environment. The stack includes:

    • Shell & Environment: Modern shell setup using zsh, oh-my-zsh, and powerlevel10k.
    • Language Runtimes: bun, uv/Python, Rust, and Go.
    • AI Coding Agents: Three primary agents: Claude Code, Codex CLI, and Antigravity CLI.
    • Agent Coordination Tools: NTM, MCP Agent Mail, and SLB.
    • Cloud CLIs: Vault, Wrangler, Supabase, and Vercel.
    • Developer Utilities: 20+ additional developer tools for orchestration, coordination, and safety.
  6. Manage beads with the br CLI

    main

    The br (beads_rust) CLI is a local-first issue tracker for AI-assisted workflows. It uses a JSONL persistence model stored in .beads/issues.jsonl for version control compatibility.

    Core Concepts

    • Beads: The fundamental unit of work/tasks.
    • Hierarchical Relationships: Beads can have parent-child relationships.
    • Dependency Tracking: Use link to define blocks or blocked-by relationships.
    • Status Lifecycle: openin_progressclosed.
    • Priority Scoring: P1 through P5.
    • Bead IDs: Follow the format bd-XXXX (where XXXX is a base-36 identifier).
  7. The ACFS Tool Stack and Synergy

    main

    The ACFS stack consists of 10 specialized tools designed to solve problems unique to multi-agent development (e.g., session chaos, file conflicts, and dangerous commands). The tools are designed to work in a synergistic pipeline:

    1. NTM: Manages named sessions to prevent chaos.
    2. Agent Mail: Handles communication and file reservations to prevent conflicts.
    3. DCG: Blocks destructive Git/FS commands via Claude Code hooks.
    4. UBS: Provides intelligent guardrails for operations.
    5. Beads Viewer: Visualizes task dependencies via a graph.
    6. CASS: Provides unified search across all agent histories.
    7. CM: Provides procedural memory for agents.
    8. CAAM: Manages identity/auth switching.
    9. SLB: Implements a 'two-person rule' for high-risk (nuclear) operations.
    10. RU: Synchronizes repositories and automates commits.

    Bundled Utilities:

    • giil: Downloads cloud images (iCloud, Dropbox, etc.) directly to the terminal for visual debugging.
    • csctf: Converts AI chat shares into searchable Markdown/HTML archives.
  8. What is Vibe Coding and when to use it

    main

    Vibe coding is a development philosophy focused on directing AI agents to handle implementation details (syntax, boilerplate) while the human focuses on intent, architecture, and quality. It follows a workflow of: Describe → Generate → Verify → Ship → Iterate.

    When to use Vibe Coding

    • Greenfield development
    • Prototyping
    • Experimentation
    • Learning

    When NOT to use Vibe Coding

    • Production systems with real users
    • Security-critical infrastructure
    • Systems involving credentials or secrets
    • Long-running servers (use safe mode instead)
    • Shared team environments (use coordination tools instead)
  9. What is FSFS (FrankenSearch)?

    main

    FSFS (FrankenSearch) is a hybrid search engine designed for code navigation. It bridges the gap between exact string matching (like grep) and conceptual understanding by combining:

    1. BM25 Lexical Matching: Fast, keyword-based retrieval.
    2. Semantic Vector Search: Finding conceptually related code based on meaning rather than just exact characters.

    This makes it particularly useful for AI agents navigating large, unfamiliar codebases where they need to locate implementations by describing functionality rather than providing exact function names.

  10. What is SRPS (System Resource Protection Script)

    main

    SRPS is a system management layer designed to keep workstations responsive during heavy AI agent workloads (e.g., running cargo build, npm install, or parallel process spawning). It prevents system unresponsiveness by automatically managing process priorities.

    It consists of two main components:

    1. ananicy-cpp: A daemon containing 1700+ rules that automatically deprioritizes resource-intensive processes.
    2. sysmoni: A Go-based TUI (Terminal User Interface) used for real-time monitoring of process priorities.
  11. What is DSR (Doodlestein Self-Releaser)?

    main

    DSR (Doodlestein Self-Releaser) is a CLI tool designed to build, tag, and publish releases locally. It serves as an 'escape hatch' for developers and agents when CI/CD pipelines (like GitHub Actions) are throttled, unavailable, or too slow.

    Key Capabilities:

    • Local builds and cross-compilation.
    • Checksum generation.
    • GitHub release creation directly from the terminal.
    • Bypassing CI/CD rate limits and queue times.