Run your decisions through a jury of 12 AI minds before you commit.
Project description
Twelve Angry Agents
Run your decisions through a jury of 12 AI minds before you commit.
Most people make important decisions alone or with one perspective. Twelve Angry Agents runs your topic through 12 AI personalities — a skeptic, an optimist, a devil's advocate, an ethicist, and 8 more — debating until they reach a unanimous verdict. Inspired by 12 Angry Men.
Fully local. Fully private. No API costs.
Requirements
- Python 3.11+
- Ollama installed and running
Installation
1. Install Ollama
brew install ollama # macOS
# or download from https://ollama.com for Linux/Windows
2. Start the server and pull the model
ollama serve # keep this running in the background
Then in a separate terminal:
ollama pull gemma4:e2b # ~5 GB — default
ollama pull gemma4:e4b # ~9 GB — higher quality, optional
3. Install Twelve Angry Agents in a virtual environment
python -m venv .venv
source .venv/bin/activate
pip install twelve-angry-agents
Usage
# Career decision with context
taa "I've been offered a senior engineer role at an early-stage startup — 30% pay increase, significant equity, but no runway visibility beyond 18 months. I have a mortgage and a family. Should I take it?"
# Architecture decision
taa "We're considering breaking our Django monolith into microservices. The team is 6 engineers, we deploy twice a week, and our main pain point is that a bug in the payments module blocks unrelated features from shipping."
# Pipe in a longer document
cat business_plan.txt | taa
# Use the larger model for higher quality
taa --model gemma4:e4b "We're debating whether to rewrite our mobile app in React Native or keep separate iOS and Android codebases. We have 2 mobile engineers and ship features every 2 weeks."
# Use custom agent personalities
taa --agents my_agents.yaml "Should we pivot from B2C to B2B?"
# Save the full debate transcript to a file
taa --output debate.txt "Should I accept this acquisition offer?"
How It Works
- The Foreman gathers any missing context with 2-3 targeted questions
- All 12 agents cast a blind vote — no peer influence
- If split: agents debate sequentially, each reading the full argument history
- After each round, all agents re-vote
- Repeat until unanimous (or a hung jury after 50 rounds)
- The Foreman delivers a prose verdict with the decisive arguments and key risks
The Jury
| Agent | Lens |
|---|---|
| The Analyst | Data and evidence only |
| The Skeptic | Questions every premise |
| The Optimist | Opportunity and upside |
| The Pessimist | Risk and failure modes |
| The Empath | Human impact |
| The Ethicist | Right vs. wrong |
| The Pragmatist | What actually works |
| The Devil's Advocate | Forces majority to justify itself |
| The Historian | Precedents and patterns |
| The Visionary | 10-year consequences |
| The Realist | What's actually true right now |
| The Contrarian | Last holdout — hardest to move |
Customization
Edit config/agents.yaml to change any agent's personality or system prompt. The config validates that exactly 12 agents are defined.
Edit config/config.yaml to change the model, temperature, or debate limits.
License
CC BY-NC 4.0 — free for non-commercial use.
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 twelve_angry_agents-1.0.1.tar.gz.
File metadata
- Download URL: twelve_angry_agents-1.0.1.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5d85810b246d7dcf8e5800ba4f10806bd6cf09801fd01dc9095f08f3c253f56
|
|
| MD5 |
37fd0949718e02cdd597ab7398f2bf1a
|
|
| BLAKE2b-256 |
02be9b1e26c332fc83153c5ef2d715d21b35a77bc290acf28500b15d669d9b55
|
Provenance
The following attestation bundles were made for twelve_angry_agents-1.0.1.tar.gz:
Publisher:
publish.yml on hillolkallol/twelve-angry-agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
twelve_angry_agents-1.0.1.tar.gz -
Subject digest:
e5d85810b246d7dcf8e5800ba4f10806bd6cf09801fd01dc9095f08f3c253f56 - Sigstore transparency entry: 1282423678
- Sigstore integration time:
-
Permalink:
hillolkallol/twelve-angry-agents@63425b6d636ffbee173464fd8d91ddd9e10c4f87 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/hillolkallol
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@63425b6d636ffbee173464fd8d91ddd9e10c4f87 -
Trigger Event:
release
-
Statement type:
File details
Details for the file twelve_angry_agents-1.0.1-py3-none-any.whl.
File metadata
- Download URL: twelve_angry_agents-1.0.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1880dcb5d8f87608381a8c5eb3a4e14effac49f49cc63c5b97abac009c958df5
|
|
| MD5 |
4ef3ecd66628c0a9d5f2562b44661901
|
|
| BLAKE2b-256 |
8f0d3789f879ddf658229a2671f2d6933a5f1a3c392f6b069e904aa0264d6e27
|
Provenance
The following attestation bundles were made for twelve_angry_agents-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on hillolkallol/twelve-angry-agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
twelve_angry_agents-1.0.1-py3-none-any.whl -
Subject digest:
1880dcb5d8f87608381a8c5eb3a4e14effac49f49cc63c5b97abac009c958df5 - Sigstore transparency entry: 1282423749
- Sigstore integration time:
-
Permalink:
hillolkallol/twelve-angry-agents@63425b6d636ffbee173464fd8d91ddd9e10c4f87 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/hillolkallol
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@63425b6d636ffbee173464fd8d91ddd9e10c4f87 -
Trigger Event:
release
-
Statement type: