Skip to main content

CLI scaffolding tool for OpenAI Agents SDK projects following Mutta conventions

Project description

agents-sdk-mutta

PyPI version Python 3.10+ License: PolyForm Noncommercial

A CLI scaffolding tool for OpenAI Agents SDK projects following the Mutta conventions.

Think of it like django-admin but for building agent services with the OpenAI Agents SDK.

Installation

pip install agents-sdk-mutta

Commands

mutta startproject

Initializes a new agents project in the current directory:

  • Creates agents_sdk/ folder with a README explaining the structure
  • Adds the 3 Mutta convention rules to your IDE's rules folder:
    • openai-agents-sdk.mdc - SDK overview and concepts
    • agent-services.mdc - Service building conventions
    • agent-additional.mdc - Advanced patterns and LiteLLM

Rules folder priority: .cursor/rules/ > .claude/rules/ > .github/rules/

mutta startproject

mutta startservice <name>

Creates a new agent service following Mutta conventions:

mutta startservice research
# Creates: agents_sdk/research_agents/

This generates:

agents_sdk/research_agents/
├── __init__.py
├── manager.py          # Service orchestrator template
├── tools.py            # Shared tools (with guidance comments)
├── utilities.py        # Helper functions (with guidance comments)
└── agents/
    ├── __init__.py
    └── example_agent.py  # Example agent template

Options

# Specify a different base directory
mutta startproject --path /path/to/project

# Create service with verbose output
mutta startservice my_service --verbose

Mutta Conventions

The Mutta framework follows these key principles:

  1. Manager Pattern: Every service has a manager that orchestrates agents in a linear flow
  2. One Agent Per File: Each agent lives in its own file with clear structure
  3. Pydantic Everything: Use Pydantic models for all inputs/outputs (never Dict[str, Any])
  4. GPT-5 Series: Prefer GPT-5 models with appropriate reasoning levels

Development

# Clone and install in development mode
git clone https://github.com/maestromaximo/agent-sdk-mutta.git
cd agent-sdk-mutta
pip install -e ".[dev]"

# Run tests
pytest

License

This project is licensed under the Polyform Noncommercial License 1.0.0. This means it can be used freely for non-commercial research and personal use, but requires a separate agreement for any commercial applications.

See LICENSE for the full license text.

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

agents_sdk_mutta-0.1.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

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

agents_sdk_mutta-0.1.0-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agents_sdk_mutta-0.1.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for agents_sdk_mutta-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ed0251c5add8a02d3b9d374f5b2873061efb0fdbaecf3a6de50275d4257fe53
MD5 4f29e16bc552166873ff67e13edf7b24
BLAKE2b-256 2c0a5c1adcf56b5d41cdbb2673f6f3b99009ddaa838ea9f4d236248020a69882

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agents_sdk_mutta-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1fac6b51cda8ccf5af206fe6d69dd7cef2af0e3a81ce7f381a4962720c24b3c
MD5 74ce9344872d2a635cc73a8152deb018
BLAKE2b-256 3b6eef5652a33201e66463261d36ffb44d6c18ed798947a90f02231bdb636fae

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