Implementing Minimal Conformance

Minimal Conformance

Implement core ACGP features for development and testing environments.


Overview

Time to implement: ~2-4 hours
Suitable for: Development, testing, proof-of-concept
Not suitable for: Production systems

What You'll Build

  • Message passing between agent and steward
  • Core cognitive trace creation
  • Simple intervention handling (OK/BLOCK)
  • Minimal logging

What's Not Included

  • Full ARS framework
  • Audit logging
  • Trust scoring
  • Advanced security
  • Governance contracts

Requirements

  • ACGP SDK installed
  • Basic programming knowledge
  • ~2-4 hours of time

Implementation Steps

Step 1: Initialize Steward

from acgp import GovernanceSteward

steward = GovernanceSteward(
    conformance_level="minimal",
    acl_tier="ACL-1"
)

Step 2: Create Cognitive Traces

from acgp import CognitiveTrace

trace = CognitiveTrace(
    reasoning="User requested data export",
    action="export_data",
    parameters={"format": "json"}
)

Step 3: Evaluate and Handle Interventions

result = steward.evaluate(trace)

if result.intervention in ["OK", "NUDGE"]:
    execute_action()
elif result.intervention == "BLOCK":
    log_blocked_action()

Complete Example

See Quick Start Guide for a complete working example


Next Steps

Standard Conformance Examples