The Virtual IT Team in Your Pocket. A framework of 28 AI Personas for enterprise software development.
Reason this release was yanked:
Contains sensitive hardcoded project ID
Project description
The Agency
The Virtual IT Team in Your Pocket 🏢
"The Agency" is an open-source framework that models a complete, 28-person Enterprise Software Development Organization using specialized AI Personas (Skills).
Unlike traditional orchestration frameworks (like CrewAI, AutoGen, or LangGraph) that just provide the code to connect agents, The Agency provides the actual Domain Knowledge, Organizational Chart, and Standard Operating Procedures (SOPs) required to build robust software.
Simply inject these personas into your favorite AI tool (Cursor, Roo Code, Gemini CLI, or a local instance of Ollama) and watch the Virtual IT Team design, develop, secure, test, and market your application.
👥 The Organization Chart
The Virtual IT Team comprises specialized "Skills", mapped precisely to a modern tech enterprise:
- Management:
project_manager,historian,workspace_manager - Architecture:
solution_architect,cmo_analyst(Digital Twin Owner),sre_cloud_architect - Development:
backend_developer,frontend_developer,coder - Design:
ux_ui_designer - Data Engineering:
relational_dba,graph_database_architect,data_scientist - Quality Assurance:
chief_test_officer,qa_automation_engineer,test_engineer,e2e_journey_tester,test_data_manager,ui_qa_engineer - Security:
chief_information_security_officer,application_security_engineer,security_operations_analyst - Deployment:
ssdlc_manager - Management & Marketing:
head_of_marketing,product_marketing_manager,content_copywriter,technical_writer - Support & AI Ops:
customer_support_triage,prompt_engineer,makefile_orchestrator - Meta-Skills (The Creators):
skill_creator(Organizational Architect),tool_smith(Internal Tooling)
(Read each SKILL.md inside the skills/ folder to review the specific heuristics and constraints of that role).
🚀 How to Use "The Agency"
Because The Agency defines logic and processes rather than hard-coded python scripts, you can use it conceptually within any environment.
1. The Global Agency CLI (Recommended)
The most powerful way to use "The Agency" is to install it globally on your system path. This allows you to spawn any persona directly into whichever project directory you are currently working in.
Because "The Agency" is written in Python, the recommended way to install it globally without breaking your system packages is via pipx.
# Install the CLI globally in an isolated environment
pipx install the-agency-cli
# Navigate to any of your completely separate projects
cd /my/super/secret/startup/
# Launch the interactive CLI right there
agency
The CLI will guide you through:
- Initialize & Configure: Automatically scans for AI assistants like Cursor (
.cursorrules), Gemini (.gemini), Roo Code (.clinerules), and Claude (CLAUDE.md). It installs the Agency skills into your.agency/folder and injects specialized system logic into your AI tool's project memory so they know how to use the skills! - Browse Skills: View the organizational chart and understand what every department does.
- Run Skill: Choose a specific skill, paste a task, and the agent will immediately context-switch into your codebase to start working.
2. In Premium Agentic Tools (Cursor, Roo Code, Copilot Workspaces)
Point your AI assistant at the specific SKILL.md you want it to embody.
For example, tell Cursor: "Embody the role defined in skills/frontend_developer/SKILL.md and complete this task."
3. Pure Makefiles & Terminal Piping
If you prefer raw execution, you can completely ignore .agency.py and run sequential generation using the Makefile pattern.
See the example Makefile in the root directory for a proof-of-concept pipeline.
# Example: Generate an application schema using a local 8B model
make build-schema
4. Supercharging Skills with Tools
While skills have "Brains", they need "Hands" to affect the local machine. By installing common CLI tools globally on your terminal (e.g., semgrep, docker, playwright), you empower the agents to use those tools automatically via run_command capabilities.
Read the Recommended Tools Architecture to see which open-source CLIs pair best with which Virtual Employee. If a tool you need doesn't exist, spawn the tool_smith meta-skill to write a custom wrapper!
📦 Integrating into an Existing Project
If you are not starting from scratch, you can easily drop "The Agency" into a mature, existing repository.
1. Call the agency command and select "Initialize"
The agency init command does two massive things:
- It automatically configures whatever native AI tool you use (Cursor, Cline, Gemini, Aider) with the Agency's context and instructions.
- It copies the entire
skills/directory into your.agency/folder.
2. Initialize the "Digital Twin" (The Most Important Step)
AI agents hallucinate when they don't know your existing architecture. Before asking the Agency to write new code for your existing app, you must map your current state. From the agency initialization menu, select "Map Digital Twin":
- The
historianreads your files to summarize the project's purpose. - The
solution_architectmaps thesrc/hierarchy to build a system architecture. - The
cmo_analystaggregates this into a master "Digital Twin" state document atdocs/cmo_state.md.
3. Resume Normal Operations
Once properly mapped and configured, your native AI editor (like Cursor or Gemini) naturally understands your new virtual employees and the structure of your application. Ask your IDE directly: "Tell the backend_developer to build a new auth route according to the architecture."
🏗️ The Project Lifecycle
If you elect to use the full agency, follow the routing lifecycle governed by the project_manager:
- Discovery:
cmo_analystchecks the system's "Digital Twin" constraints (docs/). - Design Blueprint:
ux_ui_designermaps the wireframes;prompt_engineermaps the LLM context flow. - Architecture:
solution_architectdefines the data models and component structure. - Security Check:
cisoreviews the architecture for vulnerabilities. (Must pass before coding). - Implementation: Specialized
backend_developerandfrontend_developerwrite the code. - Testing:
chief_test_officercoordinates unit, integration, and E2E tests. - Deployment:
sre_cloud_architectdictates topology, andssdlc_managerroutes it to production. - Launch: The Marketing division generates go-to-market copy while the
technical_writerbuilds the public APIs.
📜 Legacy Assets
Older, hard-coded Python SDK variants of this agentic framework have been archived in the legacy/ folder for historical reference. The future of The Agency is agnostic, prompt-driven markdown injected into powerful local or cloud execution layers.
Contributing
Want to add a new role to the IT Team?
- Copy an existing
SKILL.md. - Define their Core Responsibilities and Workflow Integration.
- Submit a PR.
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 the_agency_cli-1.1.1.tar.gz.
File metadata
- Download URL: the_agency_cli-1.1.1.tar.gz
- Upload date:
- Size: 35.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5213d65b84121a64a5ed9b4c9cad87edbbc3cf44b2ed5125de4323e582b1694b
|
|
| MD5 |
dda528ab2e15012d53fc1da0883bf6fc
|
|
| BLAKE2b-256 |
7d1e81f563d3c4d111cb0dea411a7c8d5bb2ab6f0cda42708af695c20874800a
|
Provenance
The following attestation bundles were made for the_agency_cli-1.1.1.tar.gz:
Publisher:
release.yml on flegare/the_agency
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
the_agency_cli-1.1.1.tar.gz -
Subject digest:
5213d65b84121a64a5ed9b4c9cad87edbbc3cf44b2ed5125de4323e582b1694b - Sigstore transparency entry: 1072066016
- Sigstore integration time:
-
Permalink:
flegare/the_agency@876a10d7f3d2ad2c463f71ddbd6b86b92aa3c910 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/flegare
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@876a10d7f3d2ad2c463f71ddbd6b86b92aa3c910 -
Trigger Event:
push
-
Statement type:
File details
Details for the file the_agency_cli-1.1.1-py3-none-any.whl.
File metadata
- Download URL: the_agency_cli-1.1.1-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d25a4c1baafb17503b322eba1423b1bf131169dd40dd4e4abc1adc19ec05e2eb
|
|
| MD5 |
6ddb3eac80c526e955c724185c1a67c8
|
|
| BLAKE2b-256 |
a70d6bb9ee4d1a51ab48028e5d5a2685d313a3352761199d6866cef25f43b38d
|
Provenance
The following attestation bundles were made for the_agency_cli-1.1.1-py3-none-any.whl:
Publisher:
release.yml on flegare/the_agency
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
the_agency_cli-1.1.1-py3-none-any.whl -
Subject digest:
d25a4c1baafb17503b322eba1423b1bf131169dd40dd4e4abc1adc19ec05e2eb - Sigstore transparency entry: 1072066089
- Sigstore integration time:
-
Permalink:
flegare/the_agency@876a10d7f3d2ad2c463f71ddbd6b86b92aa3c910 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/flegare
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@876a10d7f3d2ad2c463f71ddbd6b86b92aa3c910 -
Trigger Event:
push
-
Statement type: