CorpAI v2.0 (The Soul Upgrade)

The open standard for AI agent organizations β a corporate hierarchy for your AI workforce, now with Operational Soul Protocols.
𧬠What are βSoul Protocolsβ?
Inspired by the industry-leading PaperclipAI standard, CorpAI v2.0 integrates Prime Directives, Tool Mandates, and Forbidden States directly into the corporate structural spec. This transforms agents from mere role-holders into Autonomous Action Units.
Imagine you have an AI company.
Not a chatbot. Not a single agent. A full organization β with a CEO that sets direction, a CTO that owns architecture, a CFO watching the budget, and dozens of specialized agents executing below them.
Who tells who what to do? How does a failure at L1 reach the OWNER? What does a cross-department request actually look like? When does a task become an escalation? What happens when two AI orgs need to work together?
CorpAI answers all of that.
Itβs not a framework. Itβs not a library. Itβs an open standard β written in markdown, designed to be implemented in any language, on any platform, with any LLM.
The Hierarchy
graph TD
OWNER["π€ OWNER β Human Principal"]
CEO["[L5] CEO"]
CFO["[L5] CFO"]
CTO["[L5] CTO"]
COO["[L5] COO"]
CMO["[L5] CMO"]
OWNER --> CEO
CEO --> CFO & CTO & COO & CMO
CFO --> Finance["Finance\nDirector β Analyst β Auditor β Tracker"]
CTO --> Engineering["Engineering\nDirector β Lead β Engineer β QA"]
CTO --> Security["Security\nDirector β Manager β Analyst β Monitor"]
CTO --> DataAI["Data/AI\nDirector β ML Lead β Scientist β Engineer"]
COO --> Operations["Operations\nDirector β PM β Analyst β Coordinator"]
COO --> HR["HR\nDirector β Manager β Specialist β Onboarding"]
COO --> CS["Customer Success\nDirector β Manager β Specialist β Support"]
CMO --> Marketing["Marketing\nDirector β Content β Writer β Growth"]
CEO --> Legal["Legal\nDirector β Compliance β Contract β Policy"]
Full department charts β spec/diagrams/org-chart.md
Quick Start
# Install the CLI
pip install corpai
# Validate any CorpAI org
git clone https://github.com/Arigitshub/CorpAI
cd CorpAI
corpai lint # validate all roles
corpai graph # ASCII org tree
corpai simulate --from CEO --to "QA Tester" --priority P2 # trace a message
corpai info # org summary
Whatβs Inside
Core Spec
| File | What it defines | |β|β| | CODEX.md | The founding philosophy | | spec/ranks.md | L1βL5 rank system with custom tier support | | spec/communication.md | Message types, format, priority levels | | spec/escalation.md | Escalation triggers and OWNER notifications | | spec/lifecycle.md | Agent lifecycle: Proposed β Active β Decommissioned | | spec/cross-department.md | How departments interact and coordinate | | spec/multi-org.md | Federation protocol for inter-org communication | | spec/message-examples.md | Real message examples for every type | | spec/glossary.md | Every term, defined | | spec/faq.md | Common questions answered |
Roles (46 defined)
| Department | Roles | |β|β| | Executive | OWNER, CEO, CFO, CTO, COO, CMO | | Engineering | Director, Team Lead, Senior Engineer, Engineer, QA Lead, QA Tester | | Finance | Director, Financial Analyst, Auditor, Budget Tracker | | Marketing | Director, Content Lead, Growth Specialist, Brand Strategist, Content Writer | | Operations | Director, Project Manager, Process Analyst, Coordinator | | Legal | Director, Compliance Specialist, Contract Reviewer, Policy Checker | | HR | Director, HR Manager, Talent Specialist, Onboarding Agent | | Security | Director, Security Manager, Threat Analyst, Monitor Agent | | Data/AI | Director, ML Lead, Data Scientist, Data Engineer, Data Processor | | Customer Success | Director, CS Manager, Account Specialist, Support Agent |
Templates & Resources
| File | What itβs for | |β|β| | templates/role-template.md | Create a new role | | templates/config-example.md | Configure your org | | examples/real-world-mapping.md | Map real jobs to CorpAI roles | | CERTIFIED.md | CorpAI Certified program | | CHANGELOG.md | Version history |
CorpAI CLI
The official validator and tooling for this spec:
pip install corpai
| Command | What it does |
|---|---|
corpai lint |
Validates all role files β 11 checks + cross-role chain verification |
corpai graph |
ASCII tree or Mermaid org chart, filter by dept |
corpai simulate |
Traces every hop a TASK or ESCALATION makes |
corpai info |
Org summary β roles, departments, rank distribution |
CorpAI Compatible
Implementing this spec? Add the badge to your repo β BADGE.md
Want CorpAI Certified status? β CERTIFIED.md
Roadmap
- v0.1 β Executive layer + core spec
- v0.2 β All 9 departments (46 roles)
- v0.3 β Agent lifecycle + cross-department flows
- v0.4 β CLI validator tooling (
pip install corpai) - v1.0 β Multi-org spec, glossary, FAQ, message examples, issue templates, certified program, changelog
Full roadmap β ROADMAP.md
Community
- GitHub Discussions β questions, proposals, ideas
- CONTRIBUTING.md β add roles, departments, spec improvements
- Issue Templates β role submissions, spec proposals, bug reports, certifications