Skip to main content

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

Metadata

Release files for autogen-toolsmith 0.1.0

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

Source distribution (sdist)

Source distribution for autogen-toolsmith 0.1.0
File Size Uploaded
autogen_toolsmith-0.1.0.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autogen-toolsmith 0.1.0
File Interpreter ABI Platform
autogen_toolsmith-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.5 kB

Release files / autogen_toolsmith-0.1.0.tar.gz

Download URL autogen_toolsmith-0.1.0.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9f4cca353103819adbe2956df063162448ea3107061c04f78455514580b57ca4
BLAKE2b-256 checksum
How to use checksums
fa84dd2cb86e29e35b7c32b3a5a62e6eef4685c7cdb25e0e059fb79aeae29abb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release files / autogen_toolsmith-0.1.0-py3-none-any.whl

Download URL autogen_toolsmith-0.1.0-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c3a647392aa2fe330bd9c354baac2d56196cbdc6c3cb1b982a785748916e805
BLAKE2b-256 checksum
How to use checksums
0cd3eb9f7c28b1dd57a53fe167ebd125c6ec1749a76704020a47c9e38db63449
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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