Agent roster CLI
Project description
Myteam
myteam is a package for building agent systems where agents load their own roles and skills from files on disk.
The core model is simple:
- users define roles, skills, and tools inside
.myteam/ - agents assume a role by running
myteam get role <role> - agents load a skill by running
myteam get skill <skill> - each loaded role or skill reveals the next layer of discoverable roles, skills, and tools
This makes myteam useful for hierarchical multi-agent systems where instructions should be explicit, inspectable, and
versioned in Git.
Agent-Centered Workflow
myteam is primarily for agents, not humans.
A human author creates the role and skill structure. After that, the intended workflow is that agents load their own instructions.
Typical flow:
- A user or top-level agent sets up
.myteam/. - A sub-agent is assigned a role such as
developer. - That sub-agent runs
myteam get role developer. myteamprints the role instructions plus any immediately available child roles, child skills, and tools.- If the agent needs a skill, it runs
myteam get skill <skill>.
In other words, roles and skills are loaded by the agent that is assuming them.
What Happens When An Agent Loads A Role
When an agent runs:
myteam get role developer
myteam executes that role's load.py, which:
- Prints the contents of
role.mdorROLE.md - Prints built-in guidance about roles, skills, and tools
- Lists the immediate child roles in that directory
- Lists the immediate child skills in that directory
- Lists Python tools in that directory
The same pattern applies to skills:
myteam get skill python/testing
This layered discovery is the main idea behind the package. An agent sees the instructions for its current node and the next available things it can assume or use.
Mental Model
myteam stores an agent system in plain files.
- A role is a team member with instructions.
- A skill is a reusable capability with instructions.
- A tool is a Python script colocated with a role or skill.
- A roster is a reusable bundle that can be downloaded into
.myteam/.
Roles and skills are identified by definition files:
- role directories contain
role.mdorROLE.md - skill directories contain
skill.mdorSKILL.md
Each loadable node also has a load.py that prints the node's instructions and its immediate discoverable children.
Quick Start
Initialize a new agent system:
myteam init
This creates:
AGENTS.md
.myteam/
load.py
role.md
The root .myteam/ directory is the default root role.
Edit .myteam/role.md with the instructions that should be given to the default agent. Then that agent can load its
instructions with:
myteam get role
Create a sub-role and a skill:
myteam new role developer
myteam new skill python
myteam new skill python/testing
That agent system now supports commands like:
myteam get role
myteam get role developer
myteam get skill python/testing
Directory Structure
Example:
AGENTS.md
.myteam/
load.py
role.md
developer/
load.py
role.md
python/
load.py
skill.md
testing/
load.py
skill.md
In this layout:
- the root agent runs
myteam get role - a developer agent runs
myteam get role developer - an agent needing the testing skill runs
myteam get skill python/testing
Discovery is local to the node being loaded. An agent sees only the next layer beneath its current role or skill.
For nested roles or skills to be discoverable, each parent layer must also be defined. For example,
python/testing is only visible if python itself exists as a loadable node.
Authoring Roles And Skills
Instruction files are Markdown.
Example role.md:
---
name: Developer
description: Implements product changes and fixes
---
You are responsible for writing and validating code changes.
Load relevant skills before implementing complex work.
Delegate frontend work to `frontend` if that role is available.
Example skill.md:
---
name: Python Testing
description: Test-writing and debugging guidance
---
Prefer focused tests before broad suites.
Use the existing project test helpers where available.
Behavior:
- YAML frontmatter is stripped before the instructions are printed to the agent
nameanddescriptionare used for listings when present- if frontmatter metadata is absent,
myteamfalls back toinfo.mdwhen available
Commands
myteam init
Creates the root .myteam/ role and AGENTS.md in the current directory.
myteam new role <path>
Creates a new role under .myteam/ with:
role.mdload.py
Examples:
myteam new role developer
myteam new role engineer/frontend
myteam new skill <path>
Creates a new skill under .myteam/ with:
skill.mdload.py
Examples:
myteam new skill python
myteam new skill python/testing
myteam new skill research
myteam new skill research/literature-review
myteam get role [path]
Loads a role's instructions.
- omit
pathto load the root role at.myteam/ - use slash-delimited paths for nested roles
Examples:
myteam get role
myteam get role developer
myteam get role engineer/frontend
myteam get skill <path>
Loads a skill's instructions.
Examples:
myteam get skill python/testing
myteam get skill research/literature-review
myteam remove <path>
Deletes a role or skill directory from .myteam/.
myteam list
Lists available downloadable rosters from the default roster repository.
myteam download <roster>
Downloads a roster into .myteam/ by default.
Useful when you want to seed an agent system from a reusable template instead of authoring it from scratch.
Why Use Myteam
- agents load their own instructions directly from the filesystem
- roles and skills are explicit, inspectable, and Git-friendly
- discovery is layered, which fits hierarchical agent systems
- tools can live next to the roles and skills that use them
- rosters let you reuse agent-system structures across projects
Installation
pip install myteam
Requirements
- Python 3.11+
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file myteam-0.2.3.tar.gz.
File metadata
- Download URL: myteam-0.2.3.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3185ee8f2405b56e87e341ebfb6d85cf31ef6c545f154dffc418125d0cf5e744
|
|
| MD5 |
f6f759b76d2a7d3e39c9cf518e28a216
|
|
| BLAKE2b-256 |
527cee2ca2aba17da36ad0b3715e3b2002bd4ffae2e3945edcd5fe0097771caf
|
File details
Details for the file myteam-0.2.3-py3-none-any.whl.
File metadata
- Download URL: myteam-0.2.3-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4d5272352bf2b36c8d084f78a9a1f52d921824b0cf4d25dd5631a7eb559f2bc
|
|
| MD5 |
8cbb353ac5ba8afe39b24ec16798ac6c
|
|
| BLAKE2b-256 |
70a3208760ba25d7f72d17f1a8a898a85ed14cbb1208bd90beff6a5efcf14674
|