Skip to main content

DODAR — Structured reasoning framework for AI agents, adapted from aviation CRM

Project description

DODAR

Structured reasoning framework for AI agents — adapted from aviation Crew Resource Management.

DODAR (Diagnose, Options, Decide, Action, Review) imposes explicit gates at each stage of analysis, preventing the reasoning failures that LLMs share with humans under pressure: premature anchoring, option narrowing, and treating decisions as final.

Install

pip install dodar

Quick start

from dodar import DODAR

dodar = DODAR(model="gpt-4.1-mini")
result = dodar.analyze("Your scenario here...")

# Structured access to each reasoning phase
result.diagnosis.hypotheses       # Ranked competing causes
result.options.alternatives       # Distinct paths with trade-offs
result.decision.recommendation    # The call + justification
result.action.steps               # Sequenced implementation plan
result.review.failure_modes       # Self-critique

Pipeline mode

For maximum quality, use the pipeline where each DODAR phase runs as a separate model call:

from dodar import DODAR

dodar = DODAR(model="gpt-4.1-mini", mode="pipeline")
result = dodar.analyze("Your scenario here...")

Research shows GPT-4.1 Mini + pipeline scores 104% of Claude Opus 4.6 zero-shot quality at 89% lower cost. Read the whitepaper.

Supported models

Provider Models
Anthropic claude-opus-4-6, claude-sonnet-4-5, claude-haiku-4-5
OpenAI gpt-5.4, gpt-4o, gpt-4o-mini, gpt-4.1-mini, gpt-4.1-nano
Google gemini-2.0-flash (install with pip install dodar[google])
Ollama Any local model (install with pip install dodar[ollama])

Links

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dodar-0.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dodar-0.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file dodar-0.1.0.tar.gz.

File metadata

  • Download URL: dodar-0.1.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for dodar-0.1.0.tar.gz
Algorithm Hash digest
SHA256 16586cd6dd864936591ce75634f043f2f9fa4b5a5ae4d6139a04c0dcf4faab15
MD5 4a2c73dc14bf777575c1de5b670f6a44
BLAKE2b-256 42f8b8940bde56ccb91d50290e6b5888120d3a41ad7f68ec90c9a98efb5116cc

See more details on using hashes here.

File details

Details for the file dodar-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dodar-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for dodar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7c501c31af50c61bebe2c827078e2bbe68f3dfea8cb3dc50e6635c159373e38
MD5 2b9eaab5469c314250925a6611042165
BLAKE2b-256 4ec0db2dae28ce64b6f82ffb17ad7cda8462157c43ac7bf915b2b1302db4c299

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page