meta-agent  by DannyMac180

Agent generator tool for OpenAI Agents SDK

Created 6 months ago
379 stars

Top 75.1% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a Python-based agent generator that simplifies the creation of self-contained AI agents using the OpenAI Agents SDK. It targets developers looking to quickly prototype and deploy custom agents with specific functionalities, offering a streamlined workflow from specification to a runnable Python script.

How It Works

The tool takes an agent specification, either in JSON or natural language format, and generates a single Python file. This file encapsulates the agent's name, description, instructions, tools, and guardrails, leveraging the OpenAI Agents SDK for execution. The advantage lies in abstracting the boilerplate code, allowing developers to focus on defining agent behavior and tool logic.

Quick Start & Requirements

  • Install via pip: pip install openai-agents
  • Requires Python 3.7+ and an OpenAI API key set as the OPENAI_API_KEY environment variable.
  • Usage: python agent_generator.py <path/to/specification.txt> [output_file.py] or interactively via python agent_generator.py.
  • Official Docs: https://github.com/DannyMac180/meta-agent

Highlighted Details

  • Supports agent specifications in both structured JSON and natural language formats.
  • Generates a single, runnable Python file for easy deployment and distribution.
  • Allows for custom tool and guardrail implementations to be added post-generation.
  • Abstracts complex SDK interactions into a user-friendly specification process.

Maintenance & Community

The project appears to be a personal or small-team effort with no explicit mention of major contributors, sponsorships, or community channels like Discord/Slack in the provided README.

Licensing & Compatibility

The README does not explicitly state a license.

Limitations & Caveats

The generated agents include placeholder implementations for tools and guardrails, requiring manual coding for actual functionality. Tool parameter types are limited to basic data types, and complex tool logic must be implemented separately after generation.

Health Check
Last Commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
23
Issues (30d)
0
Star History
10 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.