An AI agent service generator that uses a YAML-based DSL to define and create new services.
blueprints/: Contains templates, examples, and syntax documentation for defining new agent services.DSL/: Stores the generated Domain-Specific Language (DSL) YAML files that define the services.generator/: Holds the core Python scripts responsible for generating the service DSLs.validator/: Intended for scripts that validate the generated DSL files.
-
Create
.envfile:OPENAI_API_KEY=your_openai_api_key_here -
Create
input.jsonfile: This file will contain the query for generating a service. Edit this file with your desired service details.{ "serviceName": "Example Service", "description": "A short description of the example service.", "apiUrl": "https://api.example.com/data", "httpMethod": "GET", "serviceInput": "" }
- Build:
docker build -t agent-service-generator . - Run:
# Using the helper script ./run.sh
- Setup Environment:
# Create and activate venv python3 -m venv .venv source .venv/bin/activate # On Windows: .\.venv\Scripts\activate # Install dependencies pip install -r requirements.txt
- Run Script:
python run.py