Graft is a Go framework for building AI agents that actually ship. Multi-provider (OpenAI, Anthropic, Gemini, Bedrock), type-safe tools via generics, MCP client + server, graph orchestration, and durable execution with Temporal, Hatchet, or Trigger.dev.
Hey Product Hunt 👋 I'm the maker of Graft.
I built Graft because every Go developer I know was either wrapping
Python with subprocess calls or reimplementing the same agent loop
for the fifth time. Python frameworks don't translate cleanly to Go's
type system, and most Go "agent libraries" are thin OpenAI wrappers.
Graft is ~14k lines of Go with one external dependency
(OpenTelemetry). Every provider is raw net/http — no vendor SDKs, no
transitive dependency hell.
The thing I'm proudest of: durable execution. Temporal, Hatchet, and
Trigger.dev are first-class runtimes. Your agent becomes a workflow;
activities become tools. Long-running, resumable, observable agents
without writing your own state machine.
Other highlights:
• Multi-provider router with fallback + round-robin
• Type-safe tools via Go generics (JSON schema auto-generated from
structs)
• Agent handoffs (inspired by OpenAI Swarm)
• LangGraph-style DAG orchestration
• MCP client and server
• Guardrails for input, output, and tool validation
• Pluggable tracing: Braintrust, LangSmith, OTel
Docs, examples, and the full repo: https://github.com/delavalom/graft
Report
No reviews yetBe the first to leave a review for Graft