Skip to main content

Agentic Fabric SDK (Fabriq)

agentic-fabric-sdk provides a Python SDK for interacting with Fabriq/Agentic Fabric.

  • High-level client: af_sdk.FabriqClient
  • DX layer: af_sdk.dx (ToolFabric, AgentFabric, MCPServer, Agent, and tool)

Install

pip install agentic-fabric-sdk

Quickstart

from af_sdk.fabriq_client import FabriqClient

TOKEN = "..."  # Bearer JWT for the Fabriq Gateway
BASE = "http://localhost:8000"

async def main():
    async with FabriqClient(base_url=BASE, auth_token=TOKEN) as af:
        agents = await af.list_agents()
        print(agents)

DX orchestration:

from af_sdk.dx import ToolFabric, AgentFabric, Agent, tool

slack = ToolFabric(provider="slack", base_url="http://localhost:8000", access_token=TOKEN, tenant_id=TENANT)
agents = AgentFabric(base_url="http://localhost:8000", access_token=TOKEN, tenant_id=TENANT)

@tool
def echo(x: str) -> str:
    return x

bot = Agent(
    system_prompt="demo",
    tools=[echo],
    agents=agents.get_agents(["summarizer"]),
    base_url="http://localhost:8000",
    access_token=TOKEN,
    tenant_id=TENANT,
    provider_fabrics={"slack": slack},
)
print(bot.run("Summarize my Slack messages"))

License

Apache-2.0

Metadata

Release files for agentic-fabric-sdk 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentic-fabric-sdk 0.1.3
File Size Uploaded Provenance Actions
agentic_fabric_sdk-0.1.3.tar.gz 26.9 kB Without provenance Details for agentic_fabric_sdk-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentic-fabric-sdk 0.1.3
File Interpreter ABI Platform Actions
agentic_fabric_sdk-0.1.3-py3-none-any.whl Python 3 none any Details for agentic_fabric_sdk-0.1.3-py3-none-any.whl

Total release size: 61.4 kB

Release files / agentic_fabric_sdk-0.1.3.tar.gz

Download URL agentic_fabric_sdk-0.1.3.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
05e3dd5d27df836aaced4d0cdab8039eb0ad431988d8dfed1e49c8cf71194fca
BLAKE2b-256 checksum
How to use checksums
1a285fe7425b36b53a3a0178862125c80a3db6c41c65c563a5f59335cbe2b58a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.11 Darwin/24.6.0

Release files / agentic_fabric_sdk-0.1.3-py3-none-any.whl

Download URL agentic_fabric_sdk-0.1.3-py3-none-any.whl
Size 34.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
985980aa84711abe9634d454a72f94964157308609a8a5b25e50cc1afe90a5bc
BLAKE2b-256 checksum
How to use checksums
37411815d61512adca29f82c436f197dbe915db13b40b564c3d3d56519b1924f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.11 Darwin/24.6.0

Security for agentic-fabric-sdk 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page