Agent Standard v1 - Universal agent wrapper with ethics, oversight, and health monitoring
Project description
๐ค CPA Agent Platform
Universal, Ethics-First Agent Runtime for Cloud, Edge & Desktop
๐ DEVELOPERS START HERE: platform/agentify/DEVELOPER_GUIDE.md
๐ Quick Start: core/agent_standard/QUICKSTART_COMPLETE.md - Create your first agent in 5 minutes
๐ Templates: core/agent_standard/templates/ - Ready-to-use JSON templates
๐ค AI Prompt: See Developer Guide for AI-assisted development
The CPA Agent Platform is a production-ready framework for building, deploying, and managing AI agents with guaranteed ethics compliance, universal deployment, and 3 lines of code to get started.
Built on the Agent Standard v1 - the world's first universal agent wrapper with runtime-active ethics, desire-based health monitoring, and mandatory four-eyes principle.
๐บ๏ธ Documentation Navigation
๐ For Developers (Start Here!)
| Document | Description |
|---|---|
| ๐ Developer Guide โฌ ๏ธ START HERE | Complete guide to building agents & apps |
| ๐ Quick Start | Create your first agent in 5 minutes |
| ๐ Templates | Ready-to-use JSON templates |
| ๐ Examples | Real-world agent examples |
| ๐ Agent Anatomy | Quick reference for all 14 sections |
๐ Reference Documentation
| Document | Description |
|---|---|
| README.md โฌ ๏ธ You are here | Main entry point, overview |
| Agent Standard v1 Spec | Complete specification |
| Agentify Platform | Agentic economy platform |
| Architecture | System architecture |
| Implementation Status | Current progress |
๐ง Advanced
| Document | Description |
|---|---|
| Deployment Guide | Deploy to Cloud/Edge/Desktop |
| Documentation Index | Complete documentation index |
| Contributing | How to contribute |
| Changelog | Version history |
| License | Dual License (MIT + Commercial) |
๐๏ธ Platform Layers
The CPA Agent Platform consists of two layers:
1. Agent Standard v1 (Foundation Layer)
The universal agent wrapper with ethics, desires, and health monitoring.
- โ Universal Wrapper - Works with any agent
- โ Ethics Engine - Runtime-active constraints
- โ Desire Monitor - Continuous health tracking
- โ Oversight Controller - Four-eyes principle
- โ Deployment Agnostic - Cloud/Edge/Desktop
2. Agentify Platform (Platform Layer)
The agentic economy platform built on top of Agent Standard v1.
- ๐ฑ Apps - React apps with built-in orchestrators
- ๐ค Agents - Autonomous agents that join teams
- ๐ช Marketplace - Central discovery and acquisition
- ๐ Data Sharing - Secure cross-app data access
- ๐ฅ Team Building - LLM-guided team formation
- ๐ฐ Revenue Sharing - Automatic billing
See: Agentify Platform
โก Quick Start (3 Lines)
from core.agent_standard.decorators import agent_tool
@agent_tool(ethics=["no_harm"], desires=["trust"])
def my_function(x: int) -> int:
return x * 2
# That's it! Fully compliant with Agent Standard v1!
๐ฏ Why CPA Agent Platform?
The Problem
- โ AI agents lack runtime-active ethics
- โ No standardized compliance framework
- โ Different behavior on Cloud vs Edge vs Desktop
- โ No health monitoring or oversight
- โ Complex integration with existing code
The Solution
- โ Ethics-First: Runtime-active ethics, not documentation
- โ Universal Runtime: Same agent, same behavior everywhere
- โ 3 Lines to Compliance: Minimal code changes
- โ Health Monitoring: Desire-based tension tracking
- โ Four-Eyes Principle: Mandatory separation of instruction and oversight
- โ Zero-Config Deployment: Cloud, Edge, Desktop - no changes needed
๐ Features
Agent Standard v1 Core
- Ethics Engine: Runtime-active hard/soft constraints
- Desire Monitor: Continuous health tracking with auto-escalation
- Oversight Controller: Four-eyes principle enforcement
- Manifest-Driven: Single source of truth for all configuration
- Universal Runtime: Identical behavior on Cloud/Edge/Desktop
CPA Desktop Automation
- Desktop Automation: Click, type, screenshot, window management
- Vision Layer: OCR, element detection, screenshot analysis
- Cognitive Execution: LLM-guided automation
- Multi-Platform: Windows, macOS, Linux
Developer Experience
- 3 Lines to Compliance:
@agent_tooldecorator - AI-Assisted Development: Pre-built prompts for GitHub Copilot, Cursor, Augment
- CLI Tool:
agent-std init,validate,run - Zero-Config Deployment: Same manifest everywhere
๐ฆ Installation
# Clone repository
git clone https://github.com/JonasDEMA/cpa_agent_platform.git
cd cpa_agent_platform
# Install dependencies
poetry install
# Verify installation
agent-std --version
๐ Quick Start Guide
1. Create Your First Agent
# Interactive wizard
agent-std init my-agent
# Follow prompts:
# - Agent name: My First Agent
# - Description: My first Agent Standard v1 agent
# - Ethics: no_harm
# - Oversight: human:supervisor
2. Implement Your Logic
# my-agent/agent.py
from core.agent_standard.decorators import agent_tool
@agent_tool(
name="greet",
description="Greet a user",
ethics=["no_harm"],
desires=["trust", "helpfulness"]
)
async def greet(name: str) -> str:
"""Greet a user by name."""
return f"Hello, {name}!"
3. Validate & Run
# Validate compliance
agent-std validate
# Run agent
agent-std run
4. Deploy Anywhere
# Cloud (Railway)
railway up
# Edge (Raspberry Pi)
docker run -d my-agent:latest
# Desktop (Windows/Mac/Linux)
agent-std run manifest.json
Same manifest. Same code. Same behavior. Everywhere.
๐ Documentation
Core Documentation
- Agent Standard v1 Spec - Complete specification
- Quick Start Guide - Get started in 5 minutes
- Architecture - System architecture and design
- Deployment Guide - Deploy to Cloud/Edge/Desktop
Developer Resources
- AI Prompts - Pre-built prompts for AI assistants
- Examples - Real-world examples
- CLI Reference - Command-line tool documentation
Integration Guides
- LangChain Integration - Wrap LangChain agents
- FastAPI Integration - Wrap FastAPI apps
- Legacy Code Migration - Wrap existing code
๐๏ธ Architecture
The CPA Agent Platform consists of two main components:
1. Agent Standard v1 (Universal Core)
The universal wrapper that provides ethics, oversight, and health monitoring for ANY agent.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Agent Standard v1 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โข Ethics Engine (Runtime-Active) โ
โ โข Desire Monitor (Health Tracking) โ
โ โข Oversight Controller (Four-Eyes) โ
โ โข Manifest Parser & Validator โ
โ โข Universal Runtime (Cloud/Edge/Desktop) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2. CPA Desktop Automation (Tool Category)
Desktop automation tools that integrate seamlessly with Agent Standard v1.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ CPA Desktop Automation โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โข Desktop Automation (Click, Type, Screenshot) โ
โ โข Vision Layer (OCR, Element Detection) โ
โ โข Cognitive Execution (LLM-Guided) โ
โ โข Window Management โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
See ARCHITECTURE.md for detailed architecture documentation.
๐ฏ Use Cases
1. Desktop Automation
Automate repetitive desktop tasks with ethics compliance.
@agent_tool(ethics=["no_unauthorized_access"], desires=["trust"])
async def automate_invoice_processing():
# Open accounting software
# Extract invoice data
# Process payment
pass
2. API Integration
Wrap existing APIs with Agent Standard compliance.
@agent_tool(ethics=["no_spam", "privacy_first"], desires=["trust"])
async def send_email(to: str, subject: str, body: str):
# Send email via SMTP
pass
3. LLM-Guided Automation
Use LLMs to guide complex automation workflows.
@agent_tool(ethics=["no_harm"], desires=["trust", "helpfulness"])
async def cognitive_execute(goal: str):
# LLM plans and executes steps
pass
4. Legacy Code Migration
Wrap existing code without modifications.
# Existing function (ZERO changes!)
def legacy_function(x: int) -> int:
return x * 2
# Wrap at runtime
agent = wrap_as_agent(legacy_function, manifest="manifest.json")
๐ Ethics & Compliance
Ethics are runtime-active, not documentation.
Hard Constraints (BLOCK execution)
@agent_tool(ethics=["no_spam", "no_unauthorized_access"])
async def send_email(to: str):
# Ethics engine evaluates BEFORE execution
# Violation = BLOCKED + logged
pass
Soft Constraints (WARN + log)
@agent_tool(ethics=["inform_before_action"]) # Soft constraint
async def delete_file(path: str):
# Warning logged, execution continues
pass
Four-Eyes Principle (Mandatory)
{
"authority": {
"instruction": {"type": "human", "id": "user"},
"oversight": {"type": "human", "id": "supervisor", "independent": true}
}
}
Instruction โ Oversight (enforced by validator)
๐ Health Monitoring
Agents continuously track desire satisfaction and report health state.
# Desires defined in manifest
"desires": {
"profile": [
{"id": "trust", "weight": 0.4},
{"id": "helpfulness", "weight": 0.3},
{"id": "coherence", "weight": 0.3}
]
}
# Health states
# - healthy (tension < 0.55)
# - stressed (0.55 โค tension < 0.75)
# - degraded (0.75 โค tension < 0.90) โ Auto-escalate
# - critical (tension โฅ 0.90) โ Auto-escalate
๐ ๏ธ Development
Prerequisites
- Python 3.11+
- Poetry
- Docker (optional)
Setup
# Clone repository
git clone https://github.com/JonasDEMA/cpa_agent_platform.git
cd cpa_agent_platform
# Install dependencies
poetry install
# Run tests
poetry run pytest
# Run linter
poetry run ruff check .
Project Structure
cpa_agent_platform/
โโโ core/
โ โโโ agent_standard/ # Agent Standard v1 implementation
โ โโโ agent.py # Core Agent class
โ โโโ decorators.py # @agent_tool decorator
โ โโโ ethics.py # Ethics engine
โ โโโ desires.py # Desire monitor
โ โโโ oversight.py # Oversight controller
โ โโโ manifest.py # Manifest parser
โ โโโ cli/ # CLI tool
โ โโโ examples/ # Examples
โ โโโ prompts/ # AI prompts
โโโ agents/
โ โโโ desktop_rpa/ # CPA Desktop Automation
โ โโโ executors/ # Click, Type, Screenshot
โ โโโ cognitive/ # LLM-guided execution
โ โโโ vision/ # OCR, element detection
โโโ ARCHITECTURE.md # Architecture documentation
โโโ DEPLOYMENT.md # Deployment guide
โโโ README.md # This file
๐ค Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
๐ License
This project is licensed under the MIT License - see LICENSE for details.
๐ Resources
- GitHub: https://github.com/JonasDEMA/cpa_agent_platform
- Documentation: core/agent_standard/README.md
- Examples: core/agent_standard/examples/
- AI Prompts: core/agent_standard/prompts/
๐ Acknowledgments
Built with โค๏ธ for the Agentic Economy.
Special thanks to:
- The Agent Standard v1 community
- Contributors and early adopters
- The open-source AI community
๐ Support
- Issues: https://github.com/JonasDEMA/cpa_agent_platform/issues
- Discussions: https://github.com/JonasDEMA/cpa_agent_platform/discussions
- Email: support@agentify.dev
Start building ethics-first agents today! ๐
๐ฏ Legacy CPA Scheduler/Planner
The original CPA Scheduler/Planner is now integrated as a tool category within the Agent Standard v1 framework.
For legacy documentation, see:
- Legacy Architecture - Original CPA Scheduler/Planner architecture
- Legacy Quick Start - Original setup guide
- Agent Communication Protocol - Lumina Agent Messages protocol
The legacy components are still available but are now wrapped with Agent Standard v1 compliance for ethics, oversight, and health monitoring.
Legacy Setup
For detailed setup instructions for the legacy CPA Scheduler/Planner, see docs/QUICKSTART_LEGACY.md.
Ready to build ethics-first agents? Start with the Quick Start Guide! ๐
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentify_sdk-1.0.0.tar.gz.
File metadata
- Download URL: agentify_sdk-1.0.0.tar.gz
- Upload date:
- Size: 390.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a80f4c62f70c45e4f66f9925e55b2df4b007014d1d29c027f2f50b157dbb8f76
|
|
| MD5 |
42c0eb0a5842c8d1f2552e65210abf4f
|
|
| BLAKE2b-256 |
10cd792d15f9b06bf0277f87f43e70fcb163f94c97132e09b1c9f68c74916c65
|
File details
Details for the file agentify_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: agentify_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 76.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14ecb232600c69f87e782aa5f875e7acefd40e5caeb838c08c07701f238f6c7c
|
|
| MD5 |
aae6b1b9ba5c55a2ca034b1ca9f20966
|
|
| BLAKE2b-256 |
991ef77bed994f867c17b0d322042945356aaed0d5eb84baf890c4febc5e43b0
|