Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0b1

PyPI

agentfabric-sdk

The runtime for AI agents.

Published30 Jun 2026
Direct dependencies11
Transitive dependenciesNot calculated

README

Version 0.1.0b1 documentation
AgentFabric

AgentFabric

The Runtime for AI Agents

Memory · Tools · Permissions · Observability · Scheduling · Pipelines · Studio

License Python


Getting Started · Core Concepts · Documentation · Architecture · Contributing · License


Overview

AgentFabric is an open-source runtime layer for AI agents. It provides the foundational infrastructure — memory, tools, permissions, observability, scheduling, pipelines, and a desktop studio — that every agent needs to be production-ready.

AgentFabric is not another agent framework. It does not replace LangGraph, CrewAI, AutoGen, or the OpenAI SDK. It works alongside them, providing the infrastructure layer underneath.

┌──────────────────────────────────────────────────┐
│                YOUR APPLICATION                   │
└──────────────────┬───────────────────────────────┘
                   │
┌──────────────────▼───────────────────────────────┐
│           YOUR FRAMEWORK (optional)               │
│     LangGraph · CrewAI · AutoGen · OpenAI SDK     │
└──────────────────┬───────────────────────────────┘
                   │
╔══════════════════▼═══════════════════════════════╗
║                 AgentFabric Runtime                   ║
║  Memory · Tools · Permissions · Observability     ║
║  Scheduler · Pipelines · EventBus · Plugins       ║
║  Knowledge Graph · Workspaces · Agent Teams       ║
╚══════════════════════════════════════════════════╝

⚡ Getting Started

Installation

pip install agent-fabric

Create Your First Agent

from agent_fabric import Agent

agent = Agent("researcher")
result = agent.run("What are the latest breakthroughs in quantum computing?")
print(result.text)

No configuration files. No server to start. No database to set up. API keys are read from environment variables.

export OPENAI_API_KEY="sk-..."

📖 Core Concepts

Agents

An agent is an autonomous entity that can think, use tools, remember information, and collaborate with other agents.

from agent_fabric import Agent

agent = Agent(
    name="analyst",
    model="gpt-4o",
    system_prompt="You are a data analyst.",
)
result = agent.run("Analyze the trends in this dataset")

Tools

Tools give agents the ability to interact with the outside world. Create custom tools with the @tool decorator:

from agent_fabric import Agent, tool

@tool("Search the web for information")
def web_search(query: str) -> str:
    # Your search implementation
    return results

@tool("Read a webpage and extract its content")
def read_url(url: str) -> str:
    # Your implementation
    return content

agent = Agent("researcher", tools=[web_search, read_url])

Memory

Agents automatically persist memory across sessions. You can also use memory directly:

from agent_fabric import memory

memory.store("Project deadline is March 15th", tags=["projects", "deadlines"])
results = memory.search("upcoming deadlines")

Agent Teams

Multiple agents can collaborate on complex tasks:

from agent_fabric import Agent, Team

researcher = Agent("researcher", role="Research topics thoroughly")
writer = Agent("writer", role="Write clear, engaging content")
reviewer = Agent("reviewer", role="Review and improve quality")

team = Team(
    agents=[researcher, writer, reviewer],
    strategy="sequential",
)
result = team.run("Create a comprehensive report on AI infrastructure")

Pipelines

Define multi-step workflows as directed acyclic graphs:

# pipeline.yaml
name: morning-briefing
nodes:
  - id: scan_news
    type: skill
    skill: research
    inputs: { topic: "Top AI news today" }

  - id: scan_emails
    type: tool
    tool: gmail_read
    inputs: { filter: "is:unread" }

  - id: compile
    type: agent
    agent: writer
    depends_on: [scan_news, scan_emails]
from agent_fabric import Pipeline, Schedule

pipeline = Pipeline.from_yaml("pipeline.yaml")

# Run once
pipeline.run()

# Or schedule it
Schedule(pipeline, cron="0 8 * * *")  # Every day at 8 AM

Bring Your Own Agent

Already have an existing agent? Add AgentFabric infrastructure without rewriting it:

from agent_fabric import enhance

# Your existing agent — any Python class
class MyExistingBot:
    def run(self, task):
        return openai.chat.completions.create(...)

bot = enhance(MyExistingBot(), memory=True, observe=True)
bot.run("Analyze this data")
# Now it has persistent memory, logging, and metrics

Framework Adapters

Use AgentFabric with your existing framework:

from agent_fabric.adapters import LangGraphAdapter

agent = LangGraphAdapter(my_langgraph_app)
agent.run("Do research")
# Your LangGraph agent now has AgentFabric memory and observability

Adapters are available for OpenAI Agents SDK, LangGraph, and CrewAI.


🏗️ Architecture

AgentFabric is built as a modular runtime with the following core systems:

SystemPurpose
Agent RuntimeAgent lifecycle management, execution, state, and multi-agent team coordination
Memory EnginePersistent storage with full-text search and optional vector/semantic search
Knowledge GraphStructured relationships between entities for contextual understanding
Tool RuntimeExtensible tool execution with automatic schema generation and permission enforcement
Skill SystemDeclarative, composable high-level capabilities that bundle tools, prompts, and workflows
Pipeline EngineDAG-based workflow execution with parallel processing, branching, and error handling
SchedulerCron, interval, and event-based scheduling with execution history
Event BusAsync message-passing system for inter-component and inter-agent communication
PermissionsCapability-based security model controlling tool access, memory access, and operations
ObservabilityStructured logging, token usage tracking, latency metrics, and execution history
Plugin SystemPackage-based extensibility for adding new tools, skills, and integrations
WorkspacesIsolated environments with independent memory, configuration, and state

Design Principles

  • Embedded by default — The SDK runs in-process. No server, no database setup, no infrastructure to manage.
  • Zero configuration — Sensible defaults for everything. Configuration files are optional and only needed for customization.
  • Progressive complexity — Simple use cases require simple code. Advanced capabilities are available when needed.
  • Framework agnostic — Works with any agent framework or no framework at all.
  • À la carte — Use the full runtime or individual components independently.
  • Local first — All data stays on your machine by default. No cloud dependency.

🖥️ AgentFabric Studio

AgentFabric Studio is a desktop application for managing your AI infrastructure visually.

ModuleDescription
DashboardActive agents, running pipelines, events, and resource usage at a glance
Agent ManagerStart, stop, configure, and debug agents with real-time log streaming
Memory ExplorerSearch, browse, and visualize the knowledge graph
Pipeline EditorVisual drag-and-drop DAG editor with live execution status
Plugin StoreBrowse and install integrations
Logs & ObservabilityReal-time event stream, execution history, token usage, and performance metrics

Built with Tauri and SvelteKit for a lightweight, fast, cross-platform experience.

agentfabric studio

⚡ Why AgentFabric? Comparison vs Competitors

FeatureAgentFabricLangChainCrewAIAutoGPT
Primary FocusAgent Infrastructure & RuntimeChain Prompting & OrchestrationRole-based Agent TeamsAutonomous Task Execution
Persistent Memory & GraphBuilt-in SQLite + FTS5 + Knowledge GraphRequires External Vector DBBasic Short/Long-Term MemoryBasic File/JSON Memory
BYOA & Framework AdaptersLangGraph, CrewAI, OpenAI SDK, CustomSelf-containedSelf-containedSelf-contained
Model Context Protocol (MCP)Bidirectional (Server & Client)Community wrappersLimitedNo
Desktop & Terminal StudioTauri Desktop Studio + Rich TUINoNoWeb UI

🔌 Ecosystem

LLM Providers

AgentFabric is model-agnostic. Configure your preferred provider:

ProviderPackage
OpenAI (GPT-4o, o3, o4-mini)agent-fabric-openai
Anthropic (Claude)agent-fabric-anthropic
Google (Gemini)agent-fabric-google
Ollama (Local models)agent-fabric-ollama

Plugins

Extend AgentFabric with integrations:

PluginCapabilities
GitHubRepository management, PR reviews, issue triage, CI status
GmailRead, send, search emails; inbox triage; email drafting
SlackSend/read messages, channel digests, standup summaries
NotionPage management, search, meeting notes, knowledge sync
CalendarEvents, scheduling, free slot detection, daily agenda

MCP Compatibility

AgentFabric supports the Model Context Protocol:

  • Expose AgentFabric tools as MCP servers for use in Claude Desktop, Cursor, and other MCP clients
  • Consume external MCP servers as AgentFabric tools

🧑‍💻 SDK Reference

Quick Reference

from agent_fabric import Agent, Team, Pipeline, Schedule
from agent_fabric import tool, memory, enhance
from agent_fabric import Runtime
ImportPurpose
AgentCreate and run agents
TeamMulti-agent collaboration
PipelineDAG-based workflows
ScheduleAutomated scheduling
tool@tool decorator for custom tools
memoryDirect memory access
enhanceAdd AgentFabric to existing agents
RuntimeAdvanced runtime configuration

Runtime Configuration

For advanced use cases, configure the runtime explicitly:

from agent_fabric import Runtime, Agent

runtime = Runtime(
    workspace="my-project",
    provider="anthropic",
    model="claude-sonnet-4",
    memory_backend="qdrant",
)

agent = Agent("analyst", runtime=runtime)

CLI

agentfabric run "Research AI trends"       # One-shot agent
agentfabric agent start <name>             # Start a persistent agent
agentfabric agent list                     # List running agents
agentfabric memory search "query"          # Search memory
agentfabric pipeline run pipeline.yaml     # Run a pipeline
agentfabric schedule create --cron "..."   # Create a schedule
agentfabric studio                         # Open the Studio
agentfabric plugin list                    # List installed plugins
agentfabric workspace list                 # List workspaces

📖 Documentation

ResourceDescription
Getting StartedInstallation, first agent, basic concepts
Core ConceptsAgents, tools, memory, teams, pipelines
SDK ReferenceComplete API documentation
CLI ReferenceAll CLI commands and options
Plugin DevelopmentHow to create and publish plugins
Architecture GuideSystem design and internals
API ReferenceREST and WebSocket API documentation

🤝 Contributing

We welcome contributions of all kinds — bug reports, feature requests, documentation improvements, and code contributions.

Please read our Contributing Guide for development setup, coding standards, and the contribution process.


📄 License

AgentFabric is licensed under the Apache License 2.0.


AgentFabric — The foundational infrastructure layer for AI-native applications.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 11

Native requirements
11 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
fastapi
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
fastapi>=0.109.0runtime
pydantic
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
pydantic>=2.6.0runtime
pyyaml
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
pyyaml>=6.0.1runtime
rich
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
rich>=13.7.0runtime
typer
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
typer>=0.9.0runtime
uvicorn
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
uvicorn>=0.27.0runtime
websockets
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
websockets>=12.0runtime
anthropic
Environment
{
  "extras": "",
  "marker": "extra == \"anthropic\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
anthropic>=0.18.0; extra == "anthropic"runtime
google-generativeai
Environment
{
  "extras": "",
  "marker": "extra == \"google\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
google-generativeai>=0.3.0; extra == "google"runtime
openai
Environment
{
  "extras": "",
  "marker": "extra == \"openai\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
openai>=1.10.0; extra == "openai"runtime
qdrant-client
Environment
{
  "extras": "",
  "marker": "extra == \"vectors\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
qdrant-client>=1.7.0; extra == "vectors"runtime

Distribution files

2 collected
agentfabric_sdk-0.1.0b1-py3-none-any.whl

bdist_wheel · 104.13 KB · Python py3

Source file
agentfabric_sdk-0.1.0b1.tar.gz

sdist · 15,952.77 KB · Python source

Source file

Repository

PENDING
ishaan-sharma-tech/agentfabric

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:54 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:e6cd48a4314c9537123089dc80d48d31c50fe6df77df4e2a87bf0a433a1c4fb2

Other collected versions

View all collected versions →