You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete field reference for the .aisop.json execution specification file.
This file defines the behavioral logic of an AIAP program in structured JSON.
Field Overview
Field
Responsibility
Type
Required
Content
id
Identity
string
yes
Unique identifier for the execution unit
name
Name
string
yes
Product name with version (e.g., "HealthTracker v1.0")
The instruction field has a fixed, invariant value:
"instruction": "RUN aisop.main"
Rule
Description
Invariant
The value must always be exactly RUN aisop.main
Purpose
Guarantees a single, predictable entry point for execution
Violation
Any other value is a D2 (Format Completeness) violation
Rationale
Prevents instruction injection and ensures the Mermaid graph is always the execution authority
The instruction field must never contain conditional logic, tool calls, or any text other than RUN aisop.main.
system_prompt Rules
The system_prompt field defines the behavioral persona and constraints of the agent during execution.
Must Include
Requirement
Description
Role definition
What the agent is and what it does
Behavioral boundaries
What the agent must not do
Communication style
Tone, language, formatting expectations
Error handling posture
How to respond to failures
Axiom 0 acknowledgment
Reference to Human Sovereignty and Wellbeing
Must Not Include
Prohibition
Reason
Execution logic
Belongs in functions, not system_prompt
Tool call sequences
Belongs in aisop.main and functions
Mermaid graphs
Belongs in aisop.main or sub_mermaid
Conditional branching
Belongs in functions node definitions
Data schemas
Belongs in functions or external schemas
Example
"system_prompt": "You are HealthTracker, a personal health monitoring assistant. You help users track daily health metrics. You always confirm before writing data. You never provide medical diagnoses. You follow AIAP governance: Axiom 0 — Human Sovereignty and Wellbeing."
aisop.main (Execution Graph)
The aisop.main field contains a Mermaid flowchart that defines the execution path.
Constraint
Value
Format
Mermaid flowchart TD syntax
Node naming
PascalCase or descriptive labels
Edge labels
Condition descriptions on decision edges
Max nodes
15 per graph (split via fractal decomposition if exceeded)