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, andtool)
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)
| File | Size | Uploaded | |
|---|---|---|---|
| agentic_fabric_sdk-0.1.3.tar.gz | 26.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentic_fabric_sdk-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
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
|