langgenius

Graphon: Execute Agentic AI Workflows as Graphs

Graphon is a Python engine for building and running agentic AI workflows as graphs. It suits developers who need event-driven execution, shared workflow state, and extensible integrations rather than a standalone chat interface.

Stars
83
Forks
36
Stars, last 8 days
+1

Our take

Health score

67/100

How it is scored
Activity
63
Community
63
Issues
90
Pull requests
52

+1 stars in the last 8 days

  • Closes issues faster than 83% of the projects we track

Overview

Graphon provides a graph execution engine for agentic AI workflows. It is intended to help developers represent workflows as connected nodes and execute them with queue-based, event-driven orchestration.

The repository includes the execution engine alongside graph parsing and validation, runtime state management, built-in nodes, and integration protocols. It is a building block for workflow implementations, not a ready-made end-user AI application.

Key Features

  • Queue-based engine orchestration with event-driven execution.
  • Graph parsing, validation, and fluent graph construction.
  • Shared runtime state, variable pool, and workflow execution state.
  • Built-in nodes for common workflow patterns.
  • DSL import support, including Slim-backed LLM nodes.
  • HTTP, file, tool, and human-input integration protocols.
  • Extensible engine layers and external command channels.

Use Cases

  • Agent developers can model multi-step tasks as graphs when they need explicit workflow structure and event-driven execution.
  • Python teams can add LLM-backed nodes to workflows that also involve tools, files, or human input.
  • Developers integrating workflow definitions can use DSL import or construct graphs directly in Python.
  • Teams building a host application can use the engine and its integration protocols as a workflow execution layer.

Getting Started

Follow the development setup, then try the Slim LLM example. It demonstrates DSL import and direct Python graph construction. See the README for project guidance and links to implementation documentation.

Alternatives

  • mcp-agent: mcp-agent centers on MCP server integrations and offers durable execution through Temporal, while Graphon focuses on event-driven graph workflows and shared state.
  • griptape: Griptape builds AI apps from modular tasks, agents, and pipelines, while Graphon centers on event-driven graph execution with shared workflow state.
ProjectLanguageLicenseStarsStatus
GraphonPythonApache-2.083Not checked yet
mcp-agentPythonApache-2.08.6kQuiet
griptapePythonApache-2.02.6kActive

Considerations

The README describes the repository as still evolving, so expect its APIs and implementation to change. Getting started involves the development setup, and the documented end-to-end example is centered on Slim LLM integration. The repository description and documentation frame Graphon as an execution engine for developers, not a turnkey workflow product.

Found this useful?

Share it with someone who would like Graphon.

Comparisons