← 开源
InfinitiBit

graphbit

GraphBit is the world’s first enterprise-grade Agentic AI framework, built on a Rust core with a Python wrapper for unmatched speed, security, and scalability. It enables reliable multi-agent workflows with minimal CPU and memory usage, making it production-ready for real-world enterprise environments.

AI EngineeringBuild agent workflow (SDK)Rust
在 GitHub 打开
增长势头
+124 小时新增 Star+0.2%
586
Star
120
Fork
+1
本周
24
贡献者
创建于 2025-06-10 · 更新于 2026-10-16 · 今日第 6667 名
主要开发者

InfinitiBit/graphbit 排名第 6,667,有 586 个星标。

同类别比较

InfinitiBit/graphbit 排名第 6,667,此处有 8 个同类条目;egeominotti/bunqueue 排名第 6,668。

同类别比较
名称排名指标
Jaycheng1103/chatgpt-video-editing-skills6,655
语言:
Shell
星标数:
590
分叉数:
96
简介:
用 ChatGPT/Codex 安裝 AI 剪輯環境,並依八大步驟完成可驗證的短影音剪輯。
rmalde/minecraft-agent6,661
语言:
JavaScript
星标数:
589
分叉数:
62
简介:
Astra planner and JEV controller for Minecraft, with native recording, tested routes, and run verification.
julianoczkowski/designer-skills6,662
星标数:
588
分叉数:
52
简介:
A collection of agent skills for designers who prototype and build with AI coding tools. These skills encode design process so AI follows a structured path instead of producing random output.
Tencent-Hunyuan/CL-bench6,664
语言:
Python
星标数:
587
分叉数:
27
简介:
CL-bench: A Benchmark for Context Learning
egeominotti/bunqueue6,668
语言:
TypeScript
星标数:
586
分叉数:
19
简介:
⚡ High-performance job queue for Bun. SQLite by default, PostgreSQL multi-broker when you scale. DLQ, cron, SQLite S3 backups, and native MCP. No Redis.
Shanyin-ai/shanyin-director-master6,669
星标数:
585
分叉数:
76
简介:
专业影视导演 Agent,基于剧本完成导演定调→节奏规划→剧本微调→分镜拆解,最终输出标准九列分镜表(xlsx); 深度融合世界顶级导演视听理论,内置数十种影片类型导演风格模板库,支持类型交叉组合; 覆盖概念超短片/短片/长片全格式,将文字剧本转化为可落地的专业拍摄方案。
rgommezz/react-native-chatgpt6,673
语言:
TypeScript
星标数:
585
分叉数:
74
简介:
A React Native wrapper around ChatGPT to seamlessly integrate it with your applications. It handles authentication, streamed responses, and keeping track of conversations. 100% client-side :robot:
secureagentics/Adrian6,675
语言:
Python
星标数:
584
分叉数:
98
简介:
Open-source runtime AI agent security tool - monitors and controls AI agents, catching malicious tool use, prompt injection, and policy drift in real time, before the agent acts.
关键参数与规格
关键参数与规格
参数值
语言Rust
类别AI Engineering
子类别Build agent workflow (SDK)
关键词Graph, Rust
星标数586
分叉数120
贡献者24
创建日期2025-06-10
更新日期2026-10-16
1 天星标数1
7 天星标数1
排名6,667
上次排名19,052
排名变化12,385
7 天星标排名11,254
上次 7 天星标排名15,599
7 天星标排名变化4,345
总星标排名17,077
上次总星标排名17,103
总星标排名变化26
国家Germany
README 摘录

GraphBit is built for developers who need deterministic, concurrent, and ultra-efficient AI execution without the overhead. Built with a Rust core and a minimal Python layer, GraphBit delivers up to 68× lower CPU usage and 140× lower memory footprint than other frameworks, while maintaining equal or greater throughput. It powers multi-agent workflows that run in parallel, persist memory across steps, self-recover from failures, and ensure 100% task reliability. GraphBit is built for production workloads, from enterprise AI

systems to low-resource edge deployments. Used in Production Grant Thornton Germany adopted GraphBit to move AI from "permanent pilot" to production without regulatory risk as a core component of their tech stack. Key Features **Tool Selection** - LLMs intelligently choose tools based on descriptions **Type Safety** - Strong typing through every execution layer **Reliability** - Circuit breakers, retry policies, and error handling and fault recovery **Multi-LLM Support** - OpenAI, Azure OpenAI, Anthropic, OpenRouter, DeepSeek, Replicate, Ollama, TogetherAI and more **Resource Management** - Concurrency

controls and memory optimization **Observability** - Built-in tracing, structured logs, and performance metrics Benchmark GraphBit was built for efficiency at scale, not theoretical claims, but measured results. Our internal benchmark suite compared GraphBit to leading Python-based agent frameworks across identical workloads. 3× higher | ~68× CPU | | Memory Footprint | 1. Benchmark Demo Watch the GraphBit Benchmark Demo When to Use GraphBit Choose GraphBit if you need: Production-grade multi-agent systems that won't collapse under load Type-safe execution and reproducible

outputs Real-time orchestration for hybrid or streaming AI applications Rust-level efficiency with Python-level ergonomics If you're scaling beyond prototypes or care about runtime determinism, GraphBit is for you. Quick Start Installation Recommended to use virtual environment. Quick Start Video Tutorial Watch the Install GraphBit via PyPI | Full Example & Run Guide tutorial Environment Setup Set up API keys you want to use in your project: **Security Note**: Never commit API keys to version control. Always use environment variables

or secure secret management. Basic Usage Building Your First Agent Workflow by GraphBit Watch the Making Agent Workflow by GraphBit tutorial Observability & Tracing GraphBit Tracer captures and monitors LLM calls and AI workflows with minimal configuration. It wraps GraphBit LLM clients and workflow executors to trace prompts, responses, token usage, latency, and errors without changing your code. Watch the GraphBit Observability & Tracing tutorial High-Level Architecture Three-tier design for reliability and performance: **Rust Core** - Workflow engine, agents, and LLM

providers **Orchestration Layer** - Project management and execution **Python API** - PyO3 bindings with async support Python API Integrations GraphBit provides a rich Python API for building and integrating agentic workflows: **LLM Clients** - Multi-provider LLM integrations (OpenAI, Anthropic, Azure, and more) **Workflows** - Define and manage multi-agent workflow graphs with state management **Nodes** - Agent nodes, tool nodes, and custom workflow components **Executors** - Workflow execution engine with configuration management **Tool System** - Function decorators, registry, and execution framework for agent tools **Workflow Results

** - Execution results with metadata, timing, and output access **Embeddings** - Vector embeddings for semantic search and retrieval **Workflow Context** - Shared state

常见问题

记录了多少星标和分叉?

InfinitiBit/graphbit 有 586 个星标和 120 个分叉。

仓库排名是多少?

InfinitiBit/graphbit 排名第 6,667。

记录的语言和类别是什么?

InfinitiBit/graphbit 有 586 个星标,语言为 Rust,类别为 AI Engineering。

哪个仓库排名最接近?

InfinitiBit/graphbit 与 egeominotti/bunqueue 比较,后者排名第 6,668,有 586 个星标。

README

GraphBit - High Performance Agentic Framework

 ![Logo](assets/GraphBit_Final_GB_Github_GIF.gif) 




 ![GraphBit - Developer-first, enterprise-grade LLM framework. | Product Hunt](https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1004951&theme=light&t=1757340621693)   ![GraphBit - Developer-first, enterprise-grade LLM framework. | Product Hunt](https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=1004951&theme=light&period=daily&t=1757933101511) 






[Website](https://graphbit.ai/) |
[Docs](https://docs.graphbit.ai/) |
[Discord](https://discord.com/invite/FMhgB3paMD)
  







[![InfinitiBit%2Fgraphbit | Trendshift](https://trendshift.io/api/badge/repositories/14884)](https://trendshift.io/repositories/14884)
  

[![PyPI Downloads](https://static.pepy.tech/personalized-badge/graphbit?period=total&units=INTERNATIONAL_SYSTEM&left_color=GREY&right_color=GREEN&left_text=Downloads)](https://pepy.tech/projects/graphbit)





[![PyPI](https://img.shields.io/pypi/v/graphbit?color=blue&label=PyPI)](https://pypi.org/project/graphbit/)

[![Build Status](https://img.shields.io/github/actions/workflow/status/InfinitiBit/graphbit/update-docs.yml?branch=main&label=Build)](https://github.com/InfinitiBit/graphbit/actions/workflows/update-docs.yml)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/InfinitiBit/graphbit/blob/main/CONTRIBUTING.md)
  

[![Rust Version](https://img.shields.io/badge/rust-1.70+-orange.svg?logo=rust)](https://www.rust-lang.org)
[![Python Version](https://img.shields.io/badge/python-3.9--3.13-blue.svg?logo=python&logoColor=white)](https://www.python.org)
[![License](https://img.shields.io/badge/license-Custom-lightgrey.svg)](https://github.com/InfinitiBit/graphbit/blob/main/LICENSE.md)





[![YouTube](https://img.shields.io/badge/YouTube-FF0000?logo=youtube&logoColor=white)](https://www.youtube.com/@graphbitAI)
[![X](https://img.shields.io/badge/X-000000?logo=x&logoColor=white)](https://x.com/graphbit_ai)
[![Discord](https://img.shields.io/badge/Discord-7289da?logo=discord&logoColor=white)](https://discord.com/invite/FMhgB3paMD)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?logo=linkedin&logoColor=white)](https://www.linkedin.com/showcase/graphbitai/)

Type-Safe AI Agent Workflows with Rust Performance


Read this in other languages: 🇨🇳 简体中文 | 🇨🇳 繁體中文 | 🇪🇸 Español | 🇫🇷 Français | 🇩🇪 Deutsch | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇮🇳 हिन्दी | 🇸🇦 العربية | 🇮🇹 Italiano | 🇧🇷 Português | 🇷🇺 Русский | 🇧🇩 বাংলা


GraphBit is an open-source agentic AI framework for deterministic, concurrent, low-overhead execution.

Why GraphBit?

Efficiency decides who scales. GraphBit is built for developers who need deterministic, concurrent, and ultra-efficient AI execution without the overhead.

Built with a Rust core and a minimal Python layer, GraphBit delivers up to 68× lower CPU usage and 140× lower memory footprint than other frameworks, while maintaining equal or greater throughput.

It powers multi-agent workflows that run in parallel, persist memory across steps, self-recover from failures, and ensure 100% task reliability. GraphBit is built for production workloads, from enterprise AI systems to low-resource edge deployments.

Used in Production

![Grant Thornton Logo](assets/Grant Thornton_idgV8Wo5Id_1.svg)

Grant Thornton Germany adopted GraphBit to move AI from "permanent pilot" to production without regulatory risk as a core component of their tech stack.

Key Features

  • Tool Selection - LLMs intelligently choose tools based on descriptions
  • Type Safety - Strong typing through every execution layer
  • Reliability - Circuit breakers, retry policies, and error handling and fault recovery
  • Multi-LLM Support - OpenAI, Azure OpenAI, Anthropic, OpenRouter, DeepSeek, Replicate, Ollama, TogetherAI and more
  • Resource Management - Concurrency controls and memory optimization
  • Observability - Built-in tracing, structured logs, and performance metrics

Benchmark

GraphBit was built for efficiency at scale, not theoretical claims, but measured results.

Our internal benchmark suite compared GraphBit to leading Python-based agent frameworks across identical workloads.

Metric GraphBit Other Frameworks Gain
CPU Usage 1.0× baseline 68.3× higher ~68× CPU
Memory Footprint 1.0× baseline 140× higher ~140× Memory
Execution Speed ≈ equal / faster — Consistent throughput
Determinism 100% success Variable Guaranteed reliability

GraphBit consistently delivers production-grade efficiency across LLM calls, tool invocations, and multi-agent chains.

Benchmark Demo

Watch the GraphBit Benchmark Demo

When to Use GraphBit

Choose GraphBit if you need:

  • Production-grade multi-agent systems that won't collapse under load
  • Type-safe execution and reproducible outputs
  • Real-time orchestration for hybrid or streaming AI applications
  • Rust-level efficiency with Python-level ergonomics

If you're scaling beyond prototypes or care about runtime determinism, GraphBit is for you.

Quick Start

Installation

Recommended to use virtual environment.

pip install graphbit

Quick Start Video Tutorial

Watch the Install GraphBit via PyPI | Full Example & Run Guide tutorial

Environment Setup

Set up API keys you want to use in your project:

# OpenAI (optional – required if using OpenAI models)
export OPENAI_API_KEY=your_openai_api_key_here

# Anthropic (optional – required if using Anthropic models)
export ANTHROPIC_API_KEY=your_anthropic_api_key_here

Security Note: Never commit API keys to version control. Always use environment variables or secure secret management.

Basic Usage

import os

from graphbit import LlmConfig, Executor, Workflow, Node, tool, GuardRailPolicyConfig

# Initialize and configure
config = LlmConfig.openai(os.getenv("OPENAI_API_KEY"), "gpt-4o-mini")

# Create executor
executor = Executor(config)

# Create tools with clear descriptions for LLM selection
@tool(_description="Get current weather information for any city")
def get_weather(location: str) -> dict:
    return {"location": location, "temperature": 22, "condition": "sunny"}

@tool(_description="Perform mathematical calculations and return results")
def calculate(expression: str) -> str:
    return f"Result: {eval(expression)}"

# Build workflow
workflow = Workflow("Analysis Pipeline")

# Create agent nodes
smart_agent = Node.agent(
    name="Smart Agent",
    prompt="What's the weather in Paris and calculate 15 + 27?",
    system_prompt="You are an assistant skilled in weather lookup and math calculations. Use tools to answer queries accurately.",
    tools=[get_weather, calculate]
)

processor = Node.agent(
    name="Data Processor",
    prompt="Process the results obtained from Smart Agent.",
    system_prompt="""You process and organize results from other agents.

    - Summarize and clarify key points
    - Structure your output for easy reading
    - Focus on actionable insights
    """
)

# Connect and execute
id1 = workflow.add_node(smart_agent)
id2 = workflow.add_node(processor)
workflow.connect(id1, id2)

# Run (optionally with a guardrail policy for PII masking/mapping)
result = executor.execute(workflow)
# Or with policy: result = executor.execute(workflow, policy=GuardRailPolicyConfig.from_json('{"guardrail_policy": {"pii_rules": [...]}}'))
print(f"Workflow completed: {result.is_success()}")
print("\nSmart Agent Output: \n", result.get_node_output("Smart Agent"))
print("\nData Processor Output: \n", result.get_node_output("Data Processor"))

Building Your First Agent Workflow by GraphBit

Watch the Making Agent Workflow by GraphBit tutorial

Observability & Tracing

GraphBit Tracer captures and monitors LLM calls and AI workflows with minimal configuration. It wraps GraphBit LLM clients and workflow executors to trace prompts, responses, token usage, latency, and errors without changing your code.

Watch the GraphBit Observability & Tracing tutorial

High-Level Architecture

Three-tier design for reliability and performance:

  • Rust Core - Workflow engine, agents, and LLM providers
  • Orchestration Layer - Project management and execution
  • Python API - PyO3 bindings with async support

Python API Integrations

GraphBit provides a rich Python API for building and integrating agentic workflows:

  • LLM Clients - Multi-provider LLM integrations (OpenAI, Anthropic, Azure, and more)
  • Workflows - Define and manage multi-agent workflow graphs with state management
  • Nodes - Agent nodes, tool nodes, and custom workflow components
  • Executors - Workflow execution engine with configuration management
  • Tool System - Function decorators, registry, and execution framework for agent tools
  • Workflow Results - Execution results with metadata, timing, and output access
  • Embeddings - Vector embeddings for semantic search and retrieval
  • Workflow Context - Shared state and variables across workflow execution
  • Document Loaders - Load and parse documents from multiple formats (PDF, DOCX, TXT, JSON, CSV, XML, HTML)
  • Text Splitters - Split documents into chunks (character, token, sentence, recursive)

For the complete list of classes, methods, and usage examples, see the Python API Reference.

Ecosystem & Extensions

GraphBit's modular architecture supports external integrations:

Category Examples
LLM Providers OpenAI, Anthropic, Azure OpenAI, DeepSeek, Together, Ollama, OpenRouter, Fireworks, Mistral AI, Replicate, Perplexity, HuggingFace, AI21, Bytedance, xAI, and more
Vector Stores Pinecone, Qdrant, Chroma, Milvus, Weaviate, FAISS, Elasticsearch, AstraDB, Redis, and more
Databases PostgreSQL (PGVector), MongoDB, MariaDB, IBM DB2, Redis, and more
Cloud Platforms AWS (Boto3), Azure, Google Cloud Platform, and more
Search APIs Serper, Google Search, GitHub Search, GitLab Search, and more
Embedding Models OpenAI Embeddings, Voyage AI, and more

Extensions are developed and maintained by the community.

Contributing to GraphBit

We welcome contributions. To get started, please see the Contributing file for development setup and guidelines.

GraphBit is built by a wonderful community of researchers and engineers.

Security

GraphBit is committed to maintaining security standards for our agentic framework. We recommend using environment variables for API keys, keeping GraphBit updated, and using proper secret management for production environments. If you discover a security vulnerability, please report it responsibly through GitHub Security or via email rather than creating a public issue.

For detailed reporting procedures and response timelines, see our Security Policy.

License

GraphBit project is licensed under the Apache License, Version 2.0.

For complete terms and conditions, see the Full License.

Copyright © 2023–2026 InfinitiBit GmbH. All rights reserved.

排名相邻
同类项目