Skip to main content

AutoGen Toolsmith: Automatically generate tools for AutoGen agents

Project description

AutoGen Toolsmith

A Python library for automatically generating, testing, and managing tools for AutoGen agents.

Overview

AutoGen Toolsmith simplifies the process of creating and managing tools that can be used by agents in the AutoGen framework. This library allows you to:

  • Generate tool code based on natural language descriptions
  • Automatically test generated tools to ensure functionality
  • Maintain a registry of available tools
  • Allow new tools to leverage existing tools as dependencies
  • Provide easy-to-use interfaces for agents to discover and use tools

Installation

pip install autogen-toolsmith

Quick Start

from autogen_toolsmith import ToolGenerator

# Initialize the tool generator
generator = ToolGenerator()

# Generate a new tool from a description
tool_spec = """
Create a tool that can fetch weather data for a given location.
The tool should take a city name and return current temperature and conditions.
"""

# Generate, test and register the tool
tool_path = generator.create_tool(tool_spec)

# The tool is now available in your tool registry
from autogen_toolsmith.tools import get_tool

weather_tool = get_tool("weather_fetcher")
result = weather_tool.run("New York")
print(result)

Features

  • Natural Language Tool Creation: Describe the tool you need, and let the generator create it
  • Automatic Testing: Generated tools are automatically tested before being added to the registry
  • Tool Registry: Easily discover and use available tools
  • Tool Dependencies: New tools can build upon existing tools
  • Version Control: Track changes to tools over time

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autogen_toolsmith-0.1.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autogen_toolsmith-0.1.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file autogen_toolsmith-0.1.0.tar.gz.

File metadata

  • Download URL: autogen_toolsmith-0.1.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for autogen_toolsmith-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f4cca353103819adbe2956df063162448ea3107061c04f78455514580b57ca4
MD5 17e6175227bb850197a45c76bf1cef29
BLAKE2b-256 fa84dd2cb86e29e35b7c32b3a5a62e6eef4685c7cdb25e0e059fb79aeae29abb

See more details on using hashes here.

File details

Details for the file autogen_toolsmith-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for autogen_toolsmith-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c3a647392aa2fe330bd9c354baac2d56196cbdc6c3cb1b982a785748916e805
MD5 079bd8c7bfac15f3d7d4a7399935e435
BLAKE2b-256 0cd3eb9f7c28b1dd57a53fe167ebd125c6ec1749a76704020a47c9e38db63449

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page