declarative-agents vs harness-sdk

Agent development frameworks compared

declarative-agents runs tool-augmented agents from YAML profiles in a shared Go runtime, while harness-sdk provides Python and TypeScript harnesses and SDKs. The main difference is configuration-defined workflows versus a harness and SDK approach that lets teams configure or control the agent loop directly.

declarative-agentsharness-sdk
LanguageGoPython
LicenseBSD-3-ClauseApache-2.0
Stars48.6k
Forks11.3k
Last analyzedOct 11, 2026Oct 3, 2026

Key differences

  • declarative-agents defines agent states, transitions, tools, and budgets in YAML profiles; harness-sdk offers configurable harnesses and lower-level SDKs for agent setup and execution.
  • declarative-agents is written in Go; harness-sdk supports Python and TypeScript.
  • declarative-agents includes reusable agent and tool blocks, application compositions, a DSL specification, and design-pattern guidance; harness-sdk includes provider integrations, MCP, lifecycle controls, tracing, guardrails, and evaluation support.
  • declarative-agents is licensed under BSD-3-Clause; harness-sdk is licensed under Apache-2.0.
  • declarative-agents is in maintenance mode and accepts bug fixes only; harness-sdk reports 938 open issues.
  • declarative-agents has 4 stars and 1 fork; harness-sdk has 8.6k stars and 1.3k forks.

Choose declarative-agents if you…

  • want to change agent workflows through YAML profiles without changing the runtime binary.
  • need reusable agent and tool blocks or example application compositions to build from.
  • want to study a documented DSL and design patterns for declarative agent workflows.
Read the declarative-agents analysis →

Choose harness-sdk if you…

  • need a ready-made Python or TypeScript harness, or lower-level SDKs for more control.
  • want to choose among documented model providers and connect tools, including through MCP.
  • need execution limits, hooks, tracing, guardrails, or evaluation support for agent applications.
Read the harness-sdk analysis →

Compare the numbers side by side, or add more projects

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.