Skip to main content

🏛️ Prism-Decide

Multi-agent deliberation system for better decisions.

Refracta una decisión en múltiples perspectivas, como un prisma refracta la luz.

Python 3.11+ MIT License 12 Agents

pip install prism-decide
prism-decide decide "¿Debería cambiar de trabajo?"

O simplemente:

prism-decide

✨ Features

  • 12 Expert Agents — cada decisión analizada por múltiples especialistas desde distintas perspectivas
  • Interactive TUI — pantalla completa con menús, sin argumentos (solo prism-decide)
  • Setup Wizard — configuración guiada con flechas del teclado
  • Multi-provider — DeepSeek, OpenAI, OpenRouter, Anthropic, Ollama
  • Rich Visual Output — tablas coloreadas, paneles, razonamiento completo
  • CLI + TUI — modo rápido (decide "...") o modo interactivo (sin argumentos)

🤖 Agentes

Icon Agente Área
💰 Financiero Ingresos, costos, ROI y salud financiera
📈 Crecimiento Aprendizaje, desarrollo profesional, proyección
⚠️ Riesgo Contingencias, downsides, planes B
🧘 Estilo de Vida Equilibrio, estrés, flexibilidad
❤️ Emocional Sentimientos, valores, felicidad
📊 Mercado Dinámicas de mercado, competencia, demanda
⚙️ Operativo Factibilidad, logística, recursos
👥 Social Relaciones, reputación, comunidad
🔭 Prospectivo Escenarios futuros, tendencias, disrupción
💚 Salud Impacto físico, mental y bienestar
⚖️ Ético Implicaciones morales, principios, valores
🧠 Racional Lógica pura, datos objetivos, trade-offs

🧠 Cómo funciona

Tú: "¿Me cambio de trabajo?"
  │
  ▼ Clasificador automático → CARRERA (94%)
  │
  ▼ Consejo de 8 agentes (en paralelo)
  │  💰 Financiero  📈 Crecimiento  ⚠️ Riesgo  🧘 Estilo Vida
  │  📊 Mercado     🔭 Prospectivo  👥 Social  🧠 Racional
  │
  ▼ Síntesis: Matriz de decisión + recomendación

Cada agente delibera sin ver a los otros (evita sesgo grupal). El sistema sintetiza todo en una matriz de puntuación con colores y recomendación final.

🚀 Quick Start

1. Instalar

git clone https://github.com/oscarhenriquezrios/prism-decide.git
cd prism-decide
pip install -e .

2. Configurar (opcional)

prism-decide setup

Te guía paso a paso: proveedor, modelo, API key, preferencias.

3. Usar

Modo interactivo (recomendado):

prism-decide

Abre la interfaz completa: header, agentes por categoría, cuadro de diálogo para escribir tu pregunta.

Modo rápido (CLI):

prism-decide decide "¿Debería aceptar la nueva oferta laboral?"

Con opciones personalizadas:

prism-decide decide "¿Me cambio de trabajo?" \
  --options "Quedarme en mi empleo actual" \
  --options "Irme a la nueva empresa"

Seleccionar agentes específicos:

prism-decide decide "¿Debería mudarme a otra ciudad?" \
  --agents lifestyle --agents financial --agents social

Output como JSON:

prism-decide decide "¿Debería?" --json

📡 Proveedores Soportados

Proveedor Modelo por defecto Variable de entorno
🧊 DeepSeek deepseek-v4-flash DEEPSEEK_API_KEY
🟢 OpenAI gpt-4o-mini OPENAI_API_KEY
🟣 OpenRouter deepseek/deepseek-v4-flash OPENROUTER_API_KEY
🔴 Anthropic claude-sonnet-4 ANTHROPIC_API_KEY
🟠 Ollama (local) llama3 —

Forzar proveedor:

prism-decide --provider deepseek decide "¿Debería?"
prism-decide -v decide "¿Debería?"   # verbose: muestra modelo + API key status

📂 Categorías de Decisión

Categoría Agentes asignados
💼 Carrera Financiero, Riesgo, Crecimiento, Estilo Vida, Mercado, Prospectivo, Social, Racional
🏢 Negocio Financiero, Riesgo, Crecimiento, Emocional, Mercado, Operativo, Ético, Prospectivo
❤️ Personal Emocional, Riesgo, Estilo Vida, Financiero, Social, Salud, Ético, Racional
🏥 Salud Estilo Vida, Emocional, Riesgo, Crecimiento, Salud, Social, Racional, Prospectivo
🎓 Educación Crecimiento, Financiero, Riesgo, Estilo Vida, Prospectivo, Mercado, Racional, Social
💰 Finanzas Financiero, Riesgo, Crecimiento, Emocional, Mercado, Operativo, Racional, Prospectivo
📌 General Todos los 12 agentes

🏗️ Arquitectura

prism-decide/
├── prism_decide/
│   ├── agents/           # 12 agentes especializados
│   ├── categories/       # Mapeo decisión → agentes
│   ├── core/             # Classifier, Council, Synthesizer
│   ├── providers/        # OpenAI, Anthropic (interfaz común)
│   ├── cli.py            # CLI + TUI con Rich + Questionary
│   └── config.py         # Config YAML + env vars
└── tests/

📜 License

MIT — haz lo que quieras, pero si haces algo interesante, cuéntanos.

Metadata

Release files for prism-decide 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prism-decide 0.1.2
File Size Uploaded Provenance Actions
prism_decide-0.1.2.tar.gz 31.4 kB With provenance Details for prism_decide-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prism-decide 0.1.2
File Interpreter ABI Platform Actions
prism_decide-0.1.2-py3-none-any.whl Python 3 none any Details for prism_decide-0.1.2-py3-none-any.whl

Total release size: 71.2 kB

Release files / prism_decide-0.1.2.tar.gz

Download URL prism_decide-0.1.2.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4415828d103519b2d3e6e7364e3f25170bc780a51932f5f51879ac70485fe8e1
BLAKE2b-256 checksum
How to use checksums
24d0ed67d62f5a16dbb34b045f8d5a0ce12703aee9c5995e55b9172a28087f13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 13, 2026.

Transparency log

Release files / prism_decide-0.1.2-py3-none-any.whl

Download URL prism_decide-0.1.2-py3-none-any.whl
Size 39.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04157bdeb157789ee92a96f9742a75a9dbc9e4474f123eaa0418a82e8363ef4a
BLAKE2b-256 checksum
How to use checksums
57e1cd500b76f65d0f2adca98a81fff8e61bfcb344973579865d8ca11a0d181b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 13, 2026.

Transparency log

Security for prism-decide 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for prism_decide-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page