Arbitration agent and task runners working together locally to complete a goal.
Rust
1
892 commits
updated Feb 16, 2026
BEFORE TRUSTING ANY STATUS CLAIMS OR ACHIEVEMENT REPORTS
All system status claims must be verified against our rigorous standards. AI coding agents frequently produce overly optimistic reports about system readiness when only stubs, placeholders, or mock implementations exist.
Required Reading: docs/architecture/coreml-first-decision.md
This document provides guidelines to avoid unverified claims and maintain realistic progress assessment.
Key Principle: Never trust claims of "production-ready", "fully functional", or "complete" without independent verification.
Agent Agency V3 is an AI orchestration platform that implements constitutional governance for autonomous agent operations. The system leverages CoreML-optimized Mistral models with Apple Neural Engine acceleration for high-performance local inference, using a council of specialized AI judges to provide real-time oversight, ensuring ethical compliance, technical quality, and system coherence through evidence-based decision making.
SYSTEM STATUS: Operational - Core Orchestration Functional
The V3 system provides a functional AI orchestration platform with constitutional governance, council-based oversight, and autonomous task execution. Core capabilities are operational with ongoing integration polish and feature enhancements.
Current Capabilities:
Architecture: 17-crate modular architecture with clear separation of concerns. System implements contracts-first design with zero circular dependencies.
This mono-repo contains multiple iterations examining different approaches to AI agent systems:
iterations/v2/: TypeScript implementation investigating multi-component agent orchestration with external service integrationiterations/v3/: Rust implementation with constitutional council governance, multiple execution modes, and monitoring capabilitiesiterations/poc/: Reference implementation examining multi-tenant memory systems and federated learning conceptsiterations/main/: Reserved for stable research artifactsagent-agency/
├── iterations/
│ ├── v2/ # TypeScript multi-component agent orchestration
│ ├── v3/ # Rust-based advanced AI capabilities
│ ├── poc/ # Multi-tenant memory systems reference
│ ├── main/ # Reserved for stable research artifacts
│ └── arbiter-poc/ # Arbiter-specific research experiments
├── docs/ # Research documentation and findings
├── scripts/ # Shared build and utility scripts
├── apps/ # MCP tools and utilities
├── package.json # Mono-repo dependency management
└── tsconfig.json # Base TypeScript configuration
Agent Agency V3 provides an AI orchestration platform with core features implemented:
Implemented - Hardware-accelerated inference with safety guarantees:
Implemented - Self-improving agents with durable persistence:
Implemented - Monitoring with comprehensive insights:
Implemented - Multi-modal verification with compliance standards:
Implemented - Circuit breakers, monitoring, and automated recovery:
Implemented - Multi-level caching with intelligent invalidation:
Implemented - iOS telemetry without unsafe FFI:
Core Framework Implemented - Four specialized AI judges provide oversight framework:
Implemented - Full orchestration with core features operational:
Fully Implemented - Comprehensive Model Context Protocol (MCP) server with 13 specialized tools:
caws_policy_validator, waiver_auditor, budget_verifier - Governance and compliancedebate_orchestrator, consensus_builder, evidence_synthesizer - Arbitration and decision-makingclaim_extractor, fact_verifier, source_validator - Verification and validationaudit_logger, provenance_tracker, compliance_reporter - Audit trails and compliancecode_analyzer, test_executor, performance_validator - Code quality and testinglogic_validator, inference_engine - Logical reasoning and probabilistic inferenceprogress_tracker, resource_allocator - Project management and resource optimizationAll tools leverage existing systems (claim extraction, council arbitration, provenance service, quality gates, reflexive learning) and are available via standardized MCP protocol for external AI model integration.
The V3 iteration provides an AI orchestration platform with core features implemented:
ModelRef(u64) identifiers safely cross async boundariescrossbeam::channelThe V2 iteration investigates multi-component agent orchestration, examining:
The POC iteration explores foundational concepts for agent memory and learning:
This framework investigates approaches to multimodal AI systems and constitutional governance in several areas:
The V3 system is designed for environments requiring quality assurance with local execution:
While powerful for its target use cases, V3 has specific constraints:
| Aspect | V3 System | Cloud API (GPT-4) | Traditional IDE Tools |
|---|---|---|---|
| Privacy | Excellent | Poor | Good |
| Safety | Thread-safe CoreML | Variable | Good |
| Cost | Low | High (scale) | Low |
| Quality | Self-improving | High baseline | Variable |
| Speed | Good (local) | Excellent | Fast |
| Complexity | High | Low | Low |
| Maintenance | High | Low | Low |
| Scalability | Limited | High | High |
The framework investigates several approaches to constitutional AI governance:
Research into coordination mechanisms beyond traditional hierarchies:
Different technical approaches to constitutional governance:
The framework explores several architectural patterns for implementing constitutional governance:
Research into different approaches to agent coordination:
The project employs progressive research through multiple implementation iterations:
For V3 (Constitutional AI System):
# Clone the repository
git clone <repository-url>
cd agent-agency
# Install Node.js dependencies (for CAWS and dashboard)
npm install
# Install CAWS Git hooks for provenance tracking
cd iterations/v3
./scripts/install-git-hooks.sh
cd iterations/v3
# 1. Verify compilation (includes CoreML safety checks)
cargo check -p agent-agency-council -p agent-agency-apple-silicon
# Should show 0 errors - Send/Sync violations resolved
# 2. Start the database (optional - system has in-memory fallback)
docker run -d --name postgres-v3 -e POSTGRES_PASSWORD=password -p 5432:5432 postgres:15
docker exec -it postgres-v3 psql -U postgres -c "CREATE DATABASE agent_agency_v3;"
# 3. Run database migrations (if using PostgreSQL)
cargo run --bin migrate
# 4. Start the API server
cargo run --bin api-server &
API_PID=$!
# 5. Start the worker service (in another terminal)
cargo run --bin agent-agency-worker &
WORKER_PID=$!
# 6. Execute a task (core execution loop is operational with thread-safe CoreML)
cargo run --bin agent-agency-cli execute "Test the execution pipeline" --mode dry-run
# 7. Monitor progress via CLI
cargo run --bin agent-agency-cli intervene status <task-id>
# Cleanup when done
kill $API_PID $WORKER_PID
Note: The core task execution pipeline is operational with thread-safe CoreML integration. Send/Sync violations have been resolved through proper FFI boundary control. Many advanced features remain as TODO implementations. Use dry-run mode for safe testing without filesystem changes.
# Dry-run mode (safe testing)
cargo run --bin agent-agency-cli execute "Add user registration" --mode dry-run
# Auto mode with quality gates
cargo run --bin agent-agency-cli execute "Implement payment system" --mode auto --risk-tier 1
# Strict mode with manual approval
cargo run --bin agent-agency-cli execute "Deploy to production" --mode strict --watch
# CLI intervention during execution
cargo run --bin agent-agency-cli intervene pause task-123
cargo run --bin agent-agency-cli intervene resume task-123
cargo run --bin agent-agency-cli intervene cancel task-123
# Start the monitoring dashboard
cd iterations/v3/apps/web-dashboard
npm run dev
# Access at http://localhost:3000
# Features:
# - Real-time task monitoring
# - System metrics and SLOs
# - Database exploration
# - Provenance tracking
# - Alert management
# Build all components
cd iterations/v3
cargo build --workspace
# Run comprehensive tests
cargo test --workspace
# Run CAWS validation
cd ../../apps/tools/caws
npm run validate -- --spec-file ../../../iterations/v3/.caws/working-spec.yaml
# Test end-to-end integration
cd ../../../iterations/v3
npm run test:integration
# Run integration tests (verify all modules work together)
./scripts/run-integration-tests.sh
@darianrosebrook
892 commits
Rust
50.4%
TypeScript
36.3%
JavaScript
4.1%
Python
2.3%
SCSS
1.8%
Shell
1.7%
PLpgSQL
1.6%
Swift
1.3%
Arbitration agent and task runners working together locally to complete a goal.
Rust
1
892 commits
updated Feb 16, 2026
BEFORE TRUSTING ANY STATUS CLAIMS OR ACHIEVEMENT REPORTS
All system status claims must be verified against our rigorous standards. AI coding agents frequently produce overly optimistic reports about system readiness when only stubs, placeholders, or mock implementations exist.
Required Reading: docs/architecture/coreml-first-decision.md
This document provides guidelines to avoid unverified claims and maintain realistic progress assessment.
Key Principle: Never trust claims of "production-ready", "fully functional", or "complete" without independent verification.
Agent Agency V3 is an AI orchestration platform that implements constitutional governance for autonomous agent operations. The system leverages CoreML-optimized Mistral models with Apple Neural Engine acceleration for high-performance local inference, using a council of specialized AI judges to provide real-time oversight, ensuring ethical compliance, technical quality, and system coherence through evidence-based decision making.
SYSTEM STATUS: Operational - Core Orchestration Functional
The V3 system provides a functional AI orchestration platform with constitutional governance, council-based oversight, and autonomous task execution. Core capabilities are operational with ongoing integration polish and feature enhancements.
Current Capabilities:
Architecture: 17-crate modular architecture with clear separation of concerns. System implements contracts-first design with zero circular dependencies.
This mono-repo contains multiple iterations examining different approaches to AI agent systems:
iterations/v2/: TypeScript implementation investigating multi-component agent orchestration with external service integrationiterations/v3/: Rust implementation with constitutional council governance, multiple execution modes, and monitoring capabilitiesiterations/poc/: Reference implementation examining multi-tenant memory systems and federated learning conceptsiterations/main/: Reserved for stable research artifactsagent-agency/
├── iterations/
│ ├── v2/ # TypeScript multi-component agent orchestration
│ ├── v3/ # Rust-based advanced AI capabilities
│ ├── poc/ # Multi-tenant memory systems reference
│ ├── main/ # Reserved for stable research artifacts
│ └── arbiter-poc/ # Arbiter-specific research experiments
├── docs/ # Research documentation and findings
├── scripts/ # Shared build and utility scripts
├── apps/ # MCP tools and utilities
├── package.json # Mono-repo dependency management
└── tsconfig.json # Base TypeScript configuration
Agent Agency V3 provides an AI orchestration platform with core features implemented:
Implemented - Hardware-accelerated inference with safety guarantees:
Implemented - Self-improving agents with durable persistence:
Implemented - Monitoring with comprehensive insights:
Implemented - Multi-modal verification with compliance standards:
Implemented - Circuit breakers, monitoring, and automated recovery:
Implemented - Multi-level caching with intelligent invalidation:
Implemented - iOS telemetry without unsafe FFI:
Core Framework Implemented - Four specialized AI judges provide oversight framework:
Implemented - Full orchestration with core features operational:
Fully Implemented - Comprehensive Model Context Protocol (MCP) server with 13 specialized tools:
caws_policy_validator, waiver_auditor, budget_verifier - Governance and compliancedebate_orchestrator, consensus_builder, evidence_synthesizer - Arbitration and decision-makingclaim_extractor, fact_verifier, source_validator - Verification and validationaudit_logger, provenance_tracker, compliance_reporter - Audit trails and compliancecode_analyzer, test_executor, performance_validator - Code quality and testinglogic_validator, inference_engine - Logical reasoning and probabilistic inferenceprogress_tracker, resource_allocator - Project management and resource optimizationAll tools leverage existing systems (claim extraction, council arbitration, provenance service, quality gates, reflexive learning) and are available via standardized MCP protocol for external AI model integration.
The V3 iteration provides an AI orchestration platform with core features implemented:
ModelRef(u64) identifiers safely cross async boundariescrossbeam::channelThe V2 iteration investigates multi-component agent orchestration, examining:
The POC iteration explores foundational concepts for agent memory and learning:
This framework investigates approaches to multimodal AI systems and constitutional governance in several areas:
The V3 system is designed for environments requiring quality assurance with local execution:
While powerful for its target use cases, V3 has specific constraints:
| Aspect | V3 System | Cloud API (GPT-4) | Traditional IDE Tools |
|---|---|---|---|
| Privacy | Excellent | Poor | Good |
| Safety | Thread-safe CoreML | Variable | Good |
| Cost | Low | High (scale) | Low |
| Quality | Self-improving | High baseline | Variable |
| Speed | Good (local) | Excellent | Fast |
| Complexity | High | Low | Low |
| Maintenance | High | Low | Low |
| Scalability | Limited | High | High |
The framework investigates several approaches to constitutional AI governance:
Research into coordination mechanisms beyond traditional hierarchies:
Different technical approaches to constitutional governance:
The framework explores several architectural patterns for implementing constitutional governance:
Research into different approaches to agent coordination:
The project employs progressive research through multiple implementation iterations:
For V3 (Constitutional AI System):
# Clone the repository
git clone <repository-url>
cd agent-agency
# Install Node.js dependencies (for CAWS and dashboard)
npm install
# Install CAWS Git hooks for provenance tracking
cd iterations/v3
./scripts/install-git-hooks.sh
cd iterations/v3
# 1. Verify compilation (includes CoreML safety checks)
cargo check -p agent-agency-council -p agent-agency-apple-silicon
# Should show 0 errors - Send/Sync violations resolved
# 2. Start the database (optional - system has in-memory fallback)
docker run -d --name postgres-v3 -e POSTGRES_PASSWORD=password -p 5432:5432 postgres:15
docker exec -it postgres-v3 psql -U postgres -c "CREATE DATABASE agent_agency_v3;"
# 3. Run database migrations (if using PostgreSQL)
cargo run --bin migrate
# 4. Start the API server
cargo run --bin api-server &
API_PID=$!
# 5. Start the worker service (in another terminal)
cargo run --bin agent-agency-worker &
WORKER_PID=$!
# 6. Execute a task (core execution loop is operational with thread-safe CoreML)
cargo run --bin agent-agency-cli execute "Test the execution pipeline" --mode dry-run
# 7. Monitor progress via CLI
cargo run --bin agent-agency-cli intervene status <task-id>
# Cleanup when done
kill $API_PID $WORKER_PID
Note: The core task execution pipeline is operational with thread-safe CoreML integration. Send/Sync violations have been resolved through proper FFI boundary control. Many advanced features remain as TODO implementations. Use dry-run mode for safe testing without filesystem changes.
# Dry-run mode (safe testing)
cargo run --bin agent-agency-cli execute "Add user registration" --mode dry-run
# Auto mode with quality gates
cargo run --bin agent-agency-cli execute "Implement payment system" --mode auto --risk-tier 1
# Strict mode with manual approval
cargo run --bin agent-agency-cli execute "Deploy to production" --mode strict --watch
# CLI intervention during execution
cargo run --bin agent-agency-cli intervene pause task-123
cargo run --bin agent-agency-cli intervene resume task-123
cargo run --bin agent-agency-cli intervene cancel task-123
# Start the monitoring dashboard
cd iterations/v3/apps/web-dashboard
npm run dev
# Access at http://localhost:3000
# Features:
# - Real-time task monitoring
# - System metrics and SLOs
# - Database exploration
# - Provenance tracking
# - Alert management
# Build all components
cd iterations/v3
cargo build --workspace
# Run comprehensive tests
cargo test --workspace
# Run CAWS validation
cd ../../apps/tools/caws
npm run validate -- --spec-file ../../../iterations/v3/.caws/working-spec.yaml
# Test end-to-end integration
cd ../../../iterations/v3
npm run test:integration
# Run integration tests (verify all modules work together)
./scripts/run-integration-tests.sh
@darianrosebrook
892 commits
Rust
50.4%
TypeScript
36.3%
JavaScript
4.1%
Python
2.3%
SCSS
1.8%
Shell
1.7%
PLpgSQL
1.6%
Swift
1.3%