Skip to content
GX GenXAI

100% open source · MIT licensed

GenXAI — Graph-native agentic AI framework

Build, run, and evolve multi-agent workflows with graph orchestration, multi-layer memory, and an extensible tool system. Fully open source — production features included.

Graph-first
Complex orchestration with routing, loops, and parallelism.
Memory layers
Short/long-term, episodic, semantic, procedural, working.
Tool ecosystem
Built-ins, custom tools, MCP servers, and registries.
Two robots collaborating

Why GenXAI

Orchestrate complex agent systems with clarity

GenXAI combines graph execution, memory, and tools into a framework you can grow from prototype to production.

Graph-based orchestration

Model workflows as graphs (not only linear chains). Route dynamically, run in parallel, loop, and compose subgraphs.

  • Conditional edges and routing
  • Parallel + sequential execution
  • Reusable patterns (router, critic, map-reduce, p2p)

Advanced memory systems

Multi-layer memory inspired by human cognition so agents can retain context, learn, and retrieve knowledge efficiently.

  • Short/Long-term
  • Episodic + semantic
  • Procedural + working memory

Tool ecosystem + MCP

Built-in tools, custom tools, and Model Context Protocol integrations so agents can act in real systems.

  • 45 built-in tools + custom tools
  • Secure execution & guardrails
  • MCP client and server

Production-ready runtime

Everything ships MIT-licensed: connectors, triggers, observability, security, and the no-code Workflow Studio.

  • Connectors + triggers (Slack, GitHub, Kafka, …)
  • RBAC, audit logging & rate limits
  • Studio visual workflow builder

How it works

Define agents, connect them, run workflows

Use graph primitives for routing and coordination patterns. Start simple, then add memory, tools, and production controls when needed.

1) Configure agents

Declare roles, goals, models, tools, and memory. Keep it explicit and versionable.

2) Build a graph

Nodes represent agents/tools/conditions. Edges define control flow, routing, and parallelism.

3) Run + observe

Execute with state, logs, and metrics. Built-in observability and governance keep production runs reliable.

Quick start

A small workflow in code

Example: graph workflow
Python
import os
from genxai import Agent, AgentConfig, AgentRegistry, Graph

os.environ["OPENAI_API_KEY"] = "sk-..."

classifier = Agent(
    id="classifier",
    config=AgentConfig(role="Classifier", goal="Categorize customer requests", llm_model="gpt-4"),
)

support = Agent(
    id="support",
    config=AgentConfig(role="Support Agent", goal="Resolve customer issues", llm_model="claude-3-opus", enable_memory=True),
)

AgentRegistry.register(classifier)
AgentRegistry.register(support)

graph = Graph()
# ... add nodes + edges ...
result = await graph.run(input_data="My app crashed")
Want runnable samples? Visit Examples.

FAQ

Frequently asked questions

Is GenXAI free for commercial use?

Yes. The entire framework — including production features like connectors, triggers, observability, and security — is MIT-licensed. There is no commercial edition and nothing behind a paywall.

How do I install GenXAI?

GenXAI is a Python framework: pip install genxai-framework. Optional extras enable integrations, e.g. pip install "genxai-framework[llm,tools,api]" — available extras are llm, tools, api, storage, observability, connectors, and all.

Which LLM providers does GenXAI support?

OpenAI, Anthropic, Google, Cohere, and Ollama. Multi-provider routing lets different agents in the same workflow use different models.

Does GenXAI support MCP (Model Context Protocol)?

Yes, as both client and server: agents can call tools from any registered MCP server, and GenXAI can expose its own tools over MCP.

Do I need to write code to use GenXAI?

GenXAI is Python-first, but it ships with Workflow Studio — a no-code drag-and-drop visual builder where you compose agent/tool pipelines on a canvas and run them with live per-node status.

What makes GenXAI different from linear chain frameworks?

Workflows are directed graphs: conditional edges and dynamic routing, parallel execution with real join semantics, loops, and nested subgraphs — plus 14 reusable multi-agent coordination patterns like critic review, ensemble voting, and map-reduce.

Ship your first workflow today

Follow the getting-started guide, run an example, and evolve into production-grade orchestration patterns.