Skip to content
View AreteDriver's full-sized avatar
🎯
Focusing
🎯
Focusing

Highlights

  • Pro

Block or report AreteDriver

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
AreteDriver/README.md

The Human Stack

Engineering methodology for deploying AI systems with operational discipline.

A system that ships predictably beats one that demos brilliantly.

The Human StackAnimusAnimus CISubstack


What I Build

Flagship:Animus — AI operating environment. Local-first, multi-agent, evidence-graded maturity. 13,500+ public package tests plus internal coverage ratchets, six-layer architecture, autonomous improvement via Citizens (Architect, Conversation Designer, Knowledge Curator, Session Steward, Test Oracle).

Shipped tools:

  • ai-spendhtop for AI spend. Cross-provider cost aggregation (Anthropic, OpenAI, OpenRouter). pip install ai-spend
  • mcp-manager — MCP server lifecycle manager across Claude Code, Cursor, Windsurf. pip install arete-mcp
  • ai-skills — Production-ready skills for agent orchestration and Claude Code personas

Methodology:the-human-stack — Evidence-graded engineering reference (E0–E5), benchmark methodology, failure taxonomy

Infrastructure:

  • arete-evals — LLM eval suites with bootstrap A/B comparison and rubric-based scoring
  • agent-lint — Workflow YAML cost estimator + anti-pattern linter for agent orchestration
  • context-hygiene — Heuristic context-window analyzer with position-decay scoring

The Tools in Action

Arete Stack Demo Reel


The Ecosystem

How the pieces fit. Solid lines = active integration. Dashed lines = methodology guidance or historical extraction.

flowchart TB
subgraph Flagship["FLAGSHIP"]
Animus[Animus<br/>AI Operating Environment]
end
subgraph Ring1["CORE TOOLS — orbit Animus"]
direction LR
AISPEND[ai-spend<br/>Cost Observability]
MCPMGR[mcp-manager<br/>MCP Lifecycle]
EVALS[arete-evals<br/>Eval Pipeline]
LINT[agent-lint<br/>Workflow Governance]
HYGIENE[context-hygiene<br/>Context Quality]
SKILLS[ai-skills<br/>Agent Capabilities]
end
subgraph Ring2["METHODOLOGY — governs all"]
direction LR
THS[the-human-stack<br/>Evidence-graded reference]
NOTES[notes<br/>Cross-session memory]
CI[ci-templates<br/>Reusable CI]
end
subgraph Ring3["HISTORICAL — extracted into Animus"]
direction LR
MEMBOOT[memboot<br/>→ AST chunking]
ANCHOR[anchormd<br/>→ Pattern extraction]
end
AISPEND -->|"spend data"| Animus
MCPMGR -->|"server registry"| Animus
EVALS -->|"benchmark results"| Animus
LINT -->|"workflow checks"| Animus
Animus -->|"orchestrates"| SKILLS
THS -.->|"guides"| Animus
THS -.->|"guides"| AISPEND
THS -.->|"guides"| LINT
MEMBOOT -.->|"upstreamed"| Animus
ANCHOR -.->|"patterns archived"| NOTES
Loading

The Predictability Gap

Most AI projects ship as demos and die in production. The failure modes are boringly consistent: costs spiral because no one tracks token spend, pipelines break halfway through and restart from scratch wasting compute, and multi-agent systems bottleneck on a single supervisor that burns tokens just watching. These aren't capability problems — they're operational problems.

The Human Stack is my response: a living engineering methodology that treats AI systems as operational systems. Every claim is evidence-graded (E0–E5). Every architectural choice is append-only, dated, and cross-referenced in an ADL. Every tool carries adversarial tests before it ships. The methodology is public in the-human-stack.

The Arete Stack is its implementation — the tools I actually build and maintain. Each repo maps to a layer of the methodology: skills for session discipline, cost observability for spend anomalies, governance linting for workflow anti-patterns, orchestration for autonomous improvement, and the methodology reference itself. This profile is arranged as an onion — start at the outer layer and peel inward.

Before software I spent 17 years in manufacturing and logistics (IBM, Toyota Production System). That discipline shows up in every codebase: standard work, visual management, error-proofing, continuous improvement.

Substack · LinkedIn · jamesyng79@gmail.com


Selected Writing

Every post is grounded in a repo. Every repo is explained in a post.


Notable Projects

These are the repos I keep closest to release quality — evidence, tests, and documentation first.

ProjectSignalLanguageWhat It Is
animusFlagshipPythonPersonal AI operating environment — bitemporal memory, evidence-graded maturity, autonomous improvement
mcp-managerPyPIPythonMCP server lifecycle manager across Claude Code, Cursor, Windsurf — now with permission-prompt audit
ai-spendPyPIPythonCross-provider AI cost aggregation with provider retry, config encryption, and health checks
agent-lintPyPIPythonWorkflow YAML cost estimator + anti-pattern detection for agent orchestration
the-human-stackMethodologyMarkdownLiving engineering reference — evidence-graded chapters, benchmark methodology, failure taxonomy
ai-skillsReusable assetsPythonProduction-ready skills for Claude Code personas and orchestrated workflows
arete-evalsEval recordsPythonLLM eval suites and run records — eval engineering vs eval practice

Hobby projects (EVE Online lore, personal context servers) are kept private. What you see here is what I ship.


Start Here: The Arete Stack

The fastest way to understand the methodology is to use it. These repos are arranged as an onion — start at the outer layer and peel inward.

LayerRepoWhat It IsEntry Point
Skillsai-skillsProduction-ready skills for Claude Code, agent orchestration, and workflows./tools/install.sh --bundle arete-studio-ops
Evalarete-evalsLLM eval suites and run records — eval engineering vs eval practicepip install -e .
Costai-spendhtop for AI spend — cross-provider cost aggregationpip install ai-spend
Governanceagent-lintWorkflow YAML cost estimator + anti-pattern linterpip install agentlinter
OrchestrationanimusPersonal AI operating environment with local-first control, evidence-graded maturity, session persistence, autonomous improvementgit clone + docker compose up
Methodologythe-human-stackThe engineering reference itself — evidence-graded chapters, benchmark methodology, failure taxonomyRead VISION.md

The Proof: Animus

Animus is the primary reference implementation — a personal AI operating environment with local-first control and evidence-graded maturity tracking.

SubsystemWhat It DoesTests
KernelBitemporal memory core, checkpoint/resume, session persistence488 green
HeadQuality gates, fallback routing, natural-language interface96 green
CitizensArchitect (autonomous improvement proposals), Conversation Designer, Knowledge Curator71 green
ForgeEval pipeline, benchmark execution, rubric-based scoringIntegrated
Session ControllerToken-budgeted session lifecycle, graceful wrap, auto-restart22 green

Key design decisions (visible in the code):

  • Evidence Framework — Six-stage maturity model (Concept → Self-improving) with Coverage KPI. Makes "documented but unverified" into "inspectable evidence."
  • ADL-governed architecture — Every major decision is append-only, dated, and cross-referenced. No tribal knowledge.
  • Quality gates before merge — Deterministic scoring (tool/completeness/structure) with adversarial test harness. Features don't ship without gate passage.

Active Developer Tools

ToolWhat It DoesInstall
ai-spendhtop for AI spend — cross-provider cost aggregation with OpenRouter, Anthropic, OpenAIpip install ai-spend
mcp-managerMCP server manager across agentic IDEs (Claude Code, Cursor, Windsurf)pip install arete-mcp
agent-lintWorkflow YAML cost estimator + anti-pattern linterpip install agentlinter
context-hygieneHeuristic context-window analyzer — position-decay scoring + regex patternspip install context-hygiene
arete-evalsLLM eval suites with benchmark scoring, A/B comparison with bootstrap CIspip install -e .
ci-templatesReusable GitHub Actions workflows, lint configs, release automationCopy + adapt
RedOPSRed-team playbook for AI infrastructure — incident response, supply-chain auditRead + run
overwatchExperimental situational-awareness dashboard for authorized data feeds and local demospip install -e .

How I Work

  • Decision logs, not memory. Every architectural choice is an ADL entry — rationale, rejected options, tradeoffs, kill criteria.
  • Tests are deliverables. Not an afterthought. Adversarial tests prevent regression of quality-gate contracts.
  • Local-first where possible. RX 7900 XTX inference stack (Ollama, 4-model tiered) for zero-cost eval calibration.
  • Ship, measure, error-proof, repeat. Kaizen learned from scaling an ice-cream line 6× — applied to software.

How This Code Is Written

I develop primarily with Claude Code (Anthropic's CLI for Claude). Think of it as pair programming with a fast, literal pair — not autonomous AI.

What that means:

  • Every commit is human-reviewed. The claude contributor in git history is the application, not a person.
  • Every test is human-verified. Coverage numbers reflect assertions I wrote and ran.
  • Every architectural decision is logged in the ADL with rationale, rejected options, and tradeoffs.
  • AI accelerates implementation; humans own validation, integration, and shipping.

Why this matters: AI-assisted development is becoming standard. What differentiates engineering discipline from cargo-culting is the verification layer: adversarial tests, evidence-graded maturity, and append-only decision logs. The code works because I test it. The methodology holds because I revisit it.


Selected Work

Direct entry points for "what does the code actually look like":

  • Animus Kernel — bitemporal memory + adversarial tests — v2.3 scaffold: valid-time / transaction-time axes, quality-gate contracts enforced before any feature ships. Architect Citizen produces ImprovementProposals from codebase observation.
  • ai-spend — OpenRouter providerGET /api/v1/generations pagination with native_cost fallback to token-based estimates. Pattern: provider registry ABC with side-effect registration.
  • Animus Session Controller — Token-budgeted session lifecycle (96% utilization trigger), graceful finalization with model-generated summary, checkpoint + auto-restart. 22 focused tests, with head-core regression coverage.
  • Animus P5 Discovery — MCP scanner, OpenAPI ingestion, annotated script discovery, 4-dimension schema validator, hash deduplication. 41 focused tests, with P0-P5 regression coverage.

Background

17 years in manufacturing and logistics operations (IBM, Toyota Production System). Scaled an ice-cream production line from 740 pints/day to 4,800/hour using Kaizen. Now apply the same discipline to AI infrastructure: standard work, visual management, error-proofing, continuous improvement.

See it through. Do it better. Leave something real.

Pinned Loading

  1. animusanimusPublic

    Personal AI operating environment with evidence-graded maturity, local-first control, and autonomous improvement.

    Python 1

  2. arete-evalsarete-evalsPublic

    LLM eval suites and the run records they produced — the eval practice behind animus-forge

    Python 1

  3. the-human-stackthe-human-stackPublic

    A living engineering reference for deploying, operating, and evaluating AI systems.

  4. mcp-managermcp-managerPublic

    Manage MCP servers across agentic IDEs — with built-in permission-prompt security auditing (HackerOne Category 3 probes)

    Python 1

  5. agent-lintagent-lintPublic

    CLI tool for cost estimation and anti-pattern detection in agent workflow YAML configs

    Python 2

  6. ai-spendai-spendPublic

    Aggregate AI API costs across providers into a single CLI dashboard

    Python 1