Skip to main content

Agent roster CLI

Project description

Myteam

Simple CLI for managing an on-disk roster of agent roles. Myteam creates a lightweight structure (AGENTS.md plus a .myteam/ directory) that other tools can read to understand available roles and their instructions.

Features

  • Zero-dependency CLI (Python 3.11+)
  • Commands to create, remove, and inspect roles
  • Works from any directory (operates relative to the current working directory)

Requirements

  • Python 3.11 or newer

Installation

pip install myteam

Quick start

  1. myteam init — set up AGENTS.md and .myteam/ with a default main role (creates .myteam/main/agent.py plus templated info.md/role.md).
  2. myteam new developer — add another role (optional).
  3. Edit .myteam/<role>/info.md and .myteam/<role>/role.md with details for each role (new roles start empty; main starts with templates).
  4. myteam get-role <role> — run the role’s agent.py (if present) or print role.md (defaults to main when omitted).

Commands

Command Purpose
myteam init Initialize AGENTS.md and .myteam/ with the default main role (with agent.py, templated info.md and role.md).
myteam new <role> Create a new role directory with agent.py, empty info.md, and role.md.
myteam remove <role> Delete the specified role directory and its contents.
myteam get-role [role] Print the role.md for a role (defaults to main).

What gets created

Running myteam init produces:

AGENTS.md               # Onboarding note for agents
.myteam/
  └── main/
      ├── agent.py        # Prints main instructions plus info.md for other roles
      ├── info.md         # Pre-populated main role metadata template
      └── role.md # Pre-populated main role instructions template
  └── <new-role>/        # Created by `myteam new <role>`
      ├── agent.py        # Prints <role>/role.md
      ├── info.md         # Empty placeholder
      └── role.md # Empty placeholder

Notes and behavior

  • Commands act on the current working directory; run them from the root of the project that owns the roster.
  • If a role directory contains agent.py, myteam get-role executes it; otherwise it prints role.md if present. New roles created with myteam new include an agent.py that prints their role.md.
  • get-role defaults to the main role if no role name is provided.

Typical workflow

myteam init
echo "Your role instructions here" > .myteam/main/role.md
python .myteam/main/agent.py # Prints main instructions plus other role info.md files

Running .myteam/main/agent.py prints main instructions first, then any info.md files found in other role directories under .myteam/.

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

myteam-0.2.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

myteam-0.2.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file myteam-0.2.0.tar.gz.

File metadata

  • Download URL: myteam-0.2.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for myteam-0.2.0.tar.gz
Algorithm Hash digest
SHA256 866f15a3a19c4e7fd2f5cfa8190e8e6d62bfefef702308001f4b1b0c6a48ab88
MD5 2c65f3ad9c74d466a029823ac7751b66
BLAKE2b-256 a5a9094ae2381db864a5c841f31aba6a6a9151d18c85ddaa1349c0534a17c99e

See more details on using hashes here.

File details

Details for the file myteam-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: myteam-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for myteam-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76e5e1508ec9a2160f42690396b9608684ed1640f493a1fe907176e58372e63f
MD5 b09aaf227eba1e8dfadca9abf2ea69f4
BLAKE2b-256 409cf3e03ba241230d27e8e75c633b9385a773d7e3a1dc56af5d99ab1714d1d5

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