Skip to content

devjaime/humanloop

Repository files navigation

HumanLoop.cl

HumanLoop Logo

AI that orchestrates. Humans that execute.

IA que orquesta. Humanos que ejecutan.

Next.js React TypeScript Tailwind CSS Vercel

πŸ‡ΊπŸ‡Έ English | πŸ‡ͺπŸ‡Έ EspaΓ±ol


πŸ‡ΊπŸ‡Έ English

πŸš€ What is HumanLoop?

HumanLoop is a Human-in-the-Loop (HITL) orchestration platform that connects AI agents with human operators for real-world tasks. This is a proof of concept demonstrating how AI can coordinate complex operations while humans maintain autonomy, professional judgment, and responsibility.

πŸ’‘ The Problem We Solve

Traditional task coordination relies on:

  • WhatsApp groups and scattered messages
  • Spreadsheets and manual tracking
  • Phone calls and unstructured communication
  • No traceability or scalability

HumanLoop changes this by creating an orchestration layer where:

  • AI agents plan and coordinate tasks
  • Human operators decide and execute with full autonomy
  • The system learns from feedback to improve continuously

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    ORCHESTRATION LAYER                       β”‚
β”‚         HumanLoop Orchestrator + Event Detection             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                    MCP AGENTS                                β”‚
β”‚    TaskAgent β”‚ RoutingAgent β”‚ ValidationAgent β”‚ FeedbackAgentβ”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                    SKILLS                                    β”‚
β”‚   DeliverySkill β”‚ LegalSkill β”‚ CleaningServiceSkill β”‚ EventSkill  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                    HUMAN OPERATORS                           β”‚
β”‚     Autonomous execution + Professional judgment + Feedback  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ› οΈ Tech Stack

Technology Version Purpose
Next.js 15+ App Router, SSR
React 19 UI Components
TypeScript 5.7+ Type Safety
Tailwind CSS v4 Styling
Vercel - Deployment

πŸ“¦ Installation

# Clone repository
git clone https://github.com/devjaime/humanloop.git

# Install dependencies
cd humanloop
npm install

# Development server
npm run dev

# Production build
npm run build

🌐 Deploy to Vercel

  1. Connect your repository to Vercel
  2. Vercel will auto-detect Next.js
  3. Automatic deployments on every push to main

πŸ“ Ethical Framework

Principle Description
Human supervision always The operator has the final word
Explicit human responsibility Humans decide, not just execute
AI as assistant, not boss AI suggests, humans validate
Bidirectional collaboration Human feedback improves AI
Amplification, not replacement We enhance human capabilities
Fair compensation Direct and transparent payment to operators

⚑ Available Skills

HumanLoop includes real-world skills that connect AI orchestration with human operators:

Skill Command Description
Business Consultant /business-consultant Connect with a software engineer for in-person consulting sessions
Cleaning Service /cleaning-service Professional home and office cleaning with AI scheduling
Gasfiter Service /gasfiter-service Certified plumbing and gas installation in Chile (SEC)
IoT Security Installer /iot-security-installer Professional security camera and smart home installation

Example: Business Consulting

/business-consultant
Topic: Explain microservices architecture to investors
Location: Las Condes, Santiago
Duration: 2 hours

Example: Gasfiter Service

/gasfiter-service
Type: reparaciΓ³n
Problem: Fuga de agua en cocina
Location: Las Condes, Santiago
Urgency: urgente

Example: IoT Installation

/iot-security-installer
Service: 4 IP cameras + NVR system
Location: Providencia
Property: Residential house

🎬 Demo Projects & Promotional Videos

Multiple promotional videos created using Remotion:

Demo Description
airbnb-cleaning Airbnb property cleaning automation demo
vocari-videos Vocational platform promotional videos
# Preview demos
npm run remotion:preview

# Render specific demo
npm run remotion:render -- --props '{"video":"Video1Colegios"}'

πŸ‡ͺπŸ‡Έ EspaΓ±ol

πŸš€ ΒΏQuΓ© es HumanLoop?

HumanLoop es una plataforma de orquestaciΓ³n Human-in-the-Loop (HITL) que conecta agentes de IA con operadores humanos para tareas del mundo real. Es un proof of concept que demuestra cΓ³mo la IA puede coordinar operaciones complejas mientras los humanos mantienen autonomΓ­a, criterio profesional y responsabilidad.

πŸ’‘ El Problema que Resolvemos

La coordinaciΓ³n tradicional de tareas depende de:

  • Grupos de WhatsApp y mensajes dispersos
  • Hojas de cΓ‘lculo y seguimiento manual
  • Llamadas telefΓ³nicas y comunicaciΓ³n no estructurada
  • Sin trazabilidad ni escalabilidad

HumanLoop cambia esto creando una capa de orquestaciΓ³n donde:

  • Los agentes de IA planifican y coordinan tareas
  • Los operadores humanos deciden y ejecutan con plena autonomΓ­a
  • El sistema aprende del feedback para mejorar continuamente

πŸ—οΈ Arquitectura

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    CAPA DE ORQUESTACIΓ“N                      β”‚
β”‚         HumanLoop Orchestrator + DetecciΓ³n de Eventos        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                    AGENTES MCP                               β”‚
β”‚    TaskAgent β”‚ RoutingAgent β”‚ ValidationAgent β”‚ FeedbackAgentβ”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                    SKILLS                                    β”‚
β”‚   DeliverySkill β”‚ LegalSkill β”‚ DiagnosticSkill β”‚ EventSkill  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                    OPERADORES HUMANOS                        β”‚
β”‚     EjecuciΓ³n autΓ³noma + Criterio profesional + Feedback     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ› οΈ Stack TecnolΓ³gico

TecnologΓ­a VersiΓ³n PropΓ³sito
Next.js 15+ App Router, SSR
React 19 Componentes UI
TypeScript 5.7+ Tipado Seguro
Tailwind CSS v4 Estilos
Vercel - Despliegue

πŸ“¦ InstalaciΓ³n

# Clonar repositorio
git clone https://github.com/devjaime/humanloop.git

# Instalar dependencias
cd humanloop
npm install

# Servidor de desarrollo
npm run dev

# Build de producciΓ³n
npm run build

🌐 Deploy en Vercel

  1. Conecta tu repositorio a Vercel
  2. Vercel detectarΓ‘ automΓ‘ticamente Next.js
  3. Despliegue automΓ‘tico en cada push a main

πŸ“ Marco Γ‰tico

Principio DescripciΓ³n
SupervisiΓ³n humana siempre El operador tiene la ΓΊltima palabra
Responsabilidad humana explΓ­cita Humanos deciden, no solo ejecutan
IA como asistente, no jefe La IA sugiere, el humano valida
ColaboraciΓ³n bidireccional El feedback humano mejora la IA
AmplificaciΓ³n, no reemplazo Potenciamos capacidades humanas
CompensaciΓ³n justa Pago directo y transparente al operador

⚑ Skills Disponibles

HumanLoop incluye skills del mundo real que conectan la orquestaciΓ³n de IA con operadores humanos:

Skill Comando DescripciΓ³n
Consultor de Negocios /business-consultant Conecta con un ingeniero de software para consultorΓ­a presencial
Servicio de Limpieza /cleaning-service Limpieza profesional de hogares y oficinas con IA
Servicio de GasfiterΓ­a /gasfiter-service PlomerΓ­a y gas certificada en Chile (SEC)
Instalador IoT/Seguridad /iot-security-installer InstalaciΓ³n profesional de cΓ‘maras y dispositivos smart home

Ejemplo: ConsultorΓ­a de Negocios

/business-consultant
Tema: Explicar arquitectura de microservicios a inversores
UbicaciΓ³n: Las Condes, Santiago
DuraciΓ³n: 2 horas

Ejemplo: Servicio de GasfiterΓ­a

/gasfiter-service
Tipo: reparaciΓ³n
Problema: Fuga de agua en cocina
UbicaciΓ³n: Las Condes, Santiago
Urgencia: urgente

Ejemplo: InstalaciΓ³n IoT

/iot-security-installer
Servicio: 4 cΓ‘maras IP + sistema NVR
UbicaciΓ³n: Providencia
Propiedad: Casa residencial

🎬 Proyectos Demo y Videos Promocionales

MΓΊltiples videos promocionales creados con Remotion:

Demo DescripciΓ³n
airbnb-cleaning Demo de automatizaciΓ³n de limpieza para propiedades Airbnb
vocari-videos Videos promocionales para plataforma vocacional
# Vista previa de demos
npm run remotion:preview

# Renderizar demo especΓ­fico
npm run remotion:render -- --props '{"video":"Video1Colegios"}'

πŸ“ Project Structure / Estructura del Proyecto

humanloop/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ layout.tsx      # Root layout
β”‚   β”‚   β”œβ”€β”€ page.tsx        # Home page
β”‚   β”‚   β”œβ”€β”€ blog/           # Blog section
β”‚   β”‚   └── globals.css     # Global styles + Tailwind v4 theme
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ Navbar.tsx      # Navigation + Language switcher
β”‚   β”‚   β”œβ”€β”€ Hero.tsx        # Hero section
β”‚   β”‚   β”œβ”€β”€ HowItWorks.tsx  # HITL flow explanation
β”‚   β”‚   β”œβ”€β”€ Services.tsx    # Skills/capabilities
β”‚   β”‚   β”œβ”€β”€ Scenarios.tsx   # Use case examples
β”‚   β”‚   β”œβ”€β”€ MCPSection.tsx  # Technical architecture
β”‚   β”‚   β”œβ”€β”€ EthicsFramework.tsx  # Ethical principles
β”‚   β”‚   β”œβ”€β”€ Pricing.tsx     # Compensation model
β”‚   β”‚   β”œβ”€β”€ ConceptBanner.tsx    # POC explanation
β”‚   β”‚   └── Footer.tsx      # Footer
β”‚   β”œβ”€β”€ content/
β”‚   β”‚   β”œβ”€β”€ en.ts           # English translations
β”‚   β”‚   └── es.ts           # Spanish translations
β”‚   └── context/
β”‚       └── LanguageContext.tsx  # i18n provider
β”œβ”€β”€ skills/
β”‚   β”œβ”€β”€ business-consultant/
β”‚   β”‚   └── SKILL.md        # Business consulting skill
β”‚   β”œβ”€β”€ cleaning-service/
β”‚   β”‚   └── SKILL.md        # Cleaning service skill
β”‚   β”œβ”€β”€ gasfiter-service/
β”‚   β”‚   └── SKILL.md        # Plumbing/gas service skill
β”‚   └── iot-security-installer/
β”‚       └── SKILL.md        # IoT installation skill
β”œβ”€β”€ demos/
β”‚   β”œβ”€β”€ airbnb-cleaning/    # Airbnb cleaning automation demo
β”‚   └── vocari-videos/      # Vocari.cl promotional videos
β”œβ”€β”€ out/                    # Rendered video output
β”œβ”€β”€ package.json
β”œβ”€β”€ vercel.json             # Vercel configuration
β”œβ”€β”€ render-videos.sh        # Video rendering script
└── README.md

🀝 Contributing / Contribuir

This is a proof of concept. Contributions, issues, and feature requests are welcome!

Este es un proof of concept. Β‘Contribuciones, issues y solicitudes de features son bienvenidas!

πŸ“„ License / Licencia

MIT License - Educational and demonstrative use.

Licencia MIT - Uso educativo y demostrativo.


Made with AI + Human collaboration in Chile πŸ‡¨πŸ‡±

Hecho con colaboraciΓ³n IA + Humanos en Chile πŸ‡¨πŸ‡±

About

AI agents plan and orchestrate real-world tasks. Verified humans execute them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors