Skip to content
/ doe Public

agentic workflows powered by self-annealing doe framework (by nick saraev)

Notifications You must be signed in to change notification settings

jaseemts/doe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DOE Framework

The DOE (Directive-Orchestration-Execution) framework is a 3-layer architecture designed to maximize AI reliability by separating probabilistic decision-making from deterministic execution.

πŸ—οΈ The 3-Layer Architecture

  1. Layer 1: Directive (What to do)

    • Located in directives/
    • Standard Operating Procedures (SOPs) written in Markdown.
    • Defines goals, inputs, tools, and edge cases in natural language.
  2. Layer 2: Orchestration (Decision Making)

    • The AI agent (e.g., Gemini, Claude) acts as the intelligent router.
    • Reads directives, calls execution tools, handles errors, and updates instructions.
  3. Layer 3: Execution (Doing the work)

    • Located in execution/
    • Deterministic Python scripts that handle API calls, data processing, and interactions.
    • Ensures consistent, testable, and reliable results.

πŸ“‚ Project Structure

β”œβ”€β”€ directives/      # SOPs and instruction sets
β”œβ”€β”€ execution/       # Deterministic Python scripts (the tools)
β”œβ”€β”€ .tmp/            # Intermediate processing files (git-ignored)
β”œβ”€β”€ .env             # Environment variables and API keys (git-ignored)
β”œβ”€β”€ GEMINI.md        # AI Agent instructions (mirrored across environments)
└── README.md        # Project documentation

πŸ› οΈ Key Principles

  • Check for tools first: Always look in execution/ before creating a new script.
  • Self-Annealing: When something breaks, fix the script, update the tool, and then update the directive to include the new learning.
  • Cloud Deliverables: Local files in .tmp/ are temporary. Final outputs should reside in cloud services (e.g., Google Sheets, Slides).

Built with reliability and scale in mind.

About

agentic workflows powered by self-annealing doe framework (by nick saraev)

Resources

Stars

Watchers

Forks

Languages