agentic_fabric.fabric_agents.connector_builder.connector_builder_fabric

Connector builder fabric agent.

This script creates and initializes the connector_builder fabric agent, which is designed to automatically generate HTTP connector code by scraping API documentation.

This is a library-only example. It is not discoverable through discover_packages because it has no manifest.yaml. Use it by importing ConnectorBuilderFabricAgent directly.

Module Contents

Classes

ConnectorBuilderFabricAgent

Manage the agents and tasks for the connector builder fabric agent.

API

class agentic_fabric.fabric_agents.connector_builder.connector_builder_fabric.ConnectorBuilderFabricAgent(output_dir: str = 'output')

Manage the agents and tasks for the connector builder fabric agent.

This class loads agent and task configurations from YAML files, instantiates the necessary CrewAI components, and provides a method to execute the fabric agent’s workflow.

This is a library-only example, not discoverable through the standard package discovery system.

Attributes: fabric_agent: An instance of the CrewAI Crew configured with agents and tasks for connector building.

Initialization

Initializes the ConnectorBuilderFabricAgent.

Loads agent and task configurations from YAML files, creates Agent and Task objects, and assembles them into a Crew.

Args: output_dir: The directory where the generated connector code will be saved.

kickoff(inputs: dict) str

Start the fabric agent’s execution with the given inputs.

Args: inputs: A dictionary containing the necessary inputs for the fabric agent’s tasks, such as the URL of the API documentation.

Returns: A string representing the result of the fabric agent’s execution.