Related projects
Several groups arrived independently at agents as typed Python: the docstring is the prompt, the signature is the contract.
| Project | Shared idea | Where it goes its own way |
|---|---|---|
| NVIDIA NOOA (Apache-2.0) | Agents are Python objects; ... bodies are LLM-implemented; docstrings are prompts, annotations contracts | State on self; the model writes Python into a Jupyter-style REPL (CodeAct). OpenProgram has the model choose among registered functions: a narrower action space, easier to sandbox and replay. |
| DSPy (MIT) | A typed Signature replaces the hand-written prompt | Optimizes the prompt against a metric. We keep prompts fixed and readable and work on execution structure: DAG, retries, context scoping. Complementary. |
| Marvin (Apache-2.0), Mirascope (MIT) | A decorated function's docstring and return annotation drive a structured call | Focus on the single typed call. OpenProgram adds what happens across calls: shared DAG, spawn, forking, per-call context budgets. |
| LangGraph (MIT) | Runs should be an inspectable graph with checkpoints | The graph is declared up front. Ours is recorded from the call stack: plain Python, and the DAG traces what ran. See the comparison. |
| smolagents (Apache-2.0) | Act through code rather than rigid tool JSON | Code-writing agents in a sandbox. We bind code at authoring time via Agent methods, so deterministic parts are reviewable before anything runs. |
| Scriptorium | Readable agent memory; Markdown notes; facts cited to source messages; MCP for Claude Code | Memory the model writes as ordinary files: open, diff, trace every fact to its message |
Mischaracterized or missing? Open a PR or an issue.
Acknowledgements
| Project | Ported or adapted |
|---|---|
| OpenClaw (MIT) | Tool registry layout (name / description / parameters / execute), provider abstraction with check_fn + requires_env, TOOLSETS presets, skill loading via SKILL.md frontmatter and late-bound read. A clone lives under references/openclaw/ (gitignored). |
| hermes-agent (MIT) | Starting point for execute_code (Docker and Modal layers trimmed), mixture_of_agents, shape of the multi-provider web_search, image_generate, image_analyze |
| pi-coding-agent (MIT) | Via OpenClaw: the AgentSkill shape (<available_skills> XML, name, description, location) |
| Claude Code | Ergonomics of DEFAULT_TOOLS (bash, read, write, edit, glob, grep, list, apply_patch, todo board) and the todo tools' JSON schema |
| Anthropic, OpenAI, Google SDKs | Wire contracts and the clients first-party providers stream through; base dependencies. CLI-backed and OAuth providers talk raw HTTP. |
Tool files name more specific inspirations in file-level docstrings. MIT-licensed components keep their MIT terms; the combined work is AGPL-3.0.
Contributing
This is a paradigm proposal with a reference implementation. Discussions, implementations in other languages, use cases that validate or challenge it, and bug reports are welcome. Setup, tests and PR expectations: CONTRIBUTING.md.
Last updated · 2026-11-25