OpenProgram Docs

Related projects

Several groups arrived independently at agents as typed Python: the docstring is the prompt, the signature is the contract.

ProjectShared ideaWhere it goes its own way
NVIDIA NOOA (Apache-2.0)Agents are Python objects; ... bodies are LLM-implemented; docstrings are prompts, annotations contractsState 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 promptOptimizes 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 callFocus 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 checkpointsThe 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 JSONCode-writing agents in a sandbox. We bind code at authoring time via Agent methods, so deterministic parts are reviewable before anything runs.
ScriptoriumReadable agent memory; Markdown notes; facts cited to source messages; MCP for Claude CodeMemory the model writes as ordinary files: open, diff, trace every fact to its message

Mischaracterized or missing? Open a PR or an issue.

Acknowledgements

ProjectPorted 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 CodeErgonomics of DEFAULT_TOOLS (bash, read, write, edit, glob, grep, list, apply_patch, todo board) and the todo tools' JSON schema
Anthropic, OpenAI, Google SDKsWire 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