Universal Agent HP: 10-layer autonomous AI agent OS with DAG planning, zero-loss rollback, and multi-model support.
Python
1
0 commits
updated Sep 23, 2026
💡 Stop paying $500/month for cloud coding agents that hallucinate, leak private corporate code, and get trapped in infinite loops.
Universal Agent HP replaces brittle single-prompt bots with an enterprise-grade autonomous software organization: a CEO Meta-Orchestrator, 4 Department Leads, and 27 Worker Specialists executing concurrent DAG dependency waves with SHA-256 zero-loss rollback and continuous self-improvement. Run frontier intelligence (DeepSeek V4 Pro, Claude 3.5 Sonnet, GPT-4o) completely free with zero API keys, or 100% offline via local Apple MLX & Ollama.
========================================================================================
LEVEL 1 — META-ORCHESTRATOR (Chief Executive Agent)
├── Global Goal Memory (Maintains multi-session project roadmap & long-term objectives)
├── Resource & Token Budget Controller (Manages token consumption & USD spend)
└── Multi-Agent Conflict Resolver (Resolves departmental priorities and constraints)
========================================================================================
│
┌───────────────────────────┼───────────────────────────┐
▼ ▼ ▼
LEVEL 2 — 4 DEPARTMENT TEAM LEADS
├── EngineeringLead (CTO) : System architecture, code synthesis, API schemas
├── ResearchLead (Chief Scientist) : Multi-hop internet research, doc audits, vector RAG
├── OperationsLead (DevOps / SRE) : Terminal actions, Docker sandboxes, Git migrations
└── QualitySecurityLead (Audit/QA) : AST security scanning, test suites, zero-loss rollback
========================================================================================
│
┌───────────────────────────┴───────────────────────────┐
▼ ▼
LEVEL 3 — 27 SPECIALIST WORKER ROLES
├── Backend Specialist ├── Database Specialist ├── Security Auditor
├── Frontend Specialist ├── Refactoring Specialist ├── Performance Engineer
├── Vector RAG Specialist ├── Test Engineer ├── Browser Automation Lead
└── (18 Additional Specialized Roles dispatched dynamically per task context)
========================================================================================
│
LEVEL 4 TO 10 — COGNITIVE SUBSYSTEMS & REASONING RUNTIMES
├── Level 4: Directed Acyclic Graph (DAG) Task Planner & Wave-Based Parallel Executor
├── Level 5: Dual Reasoning Loops: Reflexion Engine & Multi-Agent Debate Arena
├── Level 6: Causal Knowledge Graph Memory & AST Blast-Radius Impact Analyzer
├── Level 7: Dynamic Tool Discovery, Sandboxing & Bayesian EWMA Reliability Rating
├── Level 8: Capability-Based Model Routing & Cognitive USD Budget Tracker
├── Level 9: Execution Sandbox with Filesystem Snapshot & Zero-Loss Rollback
└── Level 10: Drift Detection & Autonomous Self-Improvement Benchmark Suite
========================================================================================
Universal Agent HP requires zero paid subscriptions or mandatory API keys. It natively interfaces with both cutting-edge frontier cloud models and air-gapped local runtimes:
g4f), and Python-tGPT (tgpt).deepseek-r1:8b/14b/32b, llama3.2, qwen2.5-coder, mistral, phi-4, and codellama.localhost:1234.💡 Tip: Leave all API keys blank in
.envand runpython cli.py --provider puter --model deepseek/deepseek-v4-proor--provider ollama --model deepseek-r1:8bto run completely free!
Unlike standard wrapper bots, single-prompt LLMs, or brittle ReAct loops, Universal Agent HP is engineered as an enterprise-grade autonomous software company. Here is how it compares directly against industry alternatives:
staff.py). Each worker runs with dedicated, scoped tool bundles—eliminating context bloat and hallucination.core/sandbox/environment.py). It computes SHA-256 pre-execution hashes and provides one-click zero-loss transactional rollback, automatically reverting altered code and removing rogue files.thought -> action -> observation). When a tool fails or throws an unhandled exception, they repeatedly hammer the same broken command until tokens or limits are exhausted.core/dag/): Replaces linear step-by-step loops with Kahn’s Directed Acyclic Graph topology. Independent subtasks execute concurrently in parallel waves, and failures trigger selective branch replanning rather than full workflow restarts.core/tools/reliability.py): Tracks real-time tool performance dynamically from Grade A to F. If a tool degrades, the agent automatically applies mitigation advice or reroutes to alternative tool paths.core/reasoning/): Combines a Reflexion Engine (self-evaluating against strict test suites before committing) and a Multi-Agent Debate Arena (pitching an Advocate against a Skeptic judged by an Arbitrator) to eliminate premature conclusions.core/memory/): Statically analyzes your workspace AST to map class/function callers and computes the ripple blast-radius before making edits, preventing hidden regressions.core/monitoring/, core/self_improvement/): Continuously computes longitudinal drift across runs. When regression patterns emerge, Universal Agent HP crystallizes lessons learned into permanent reusable playbooks and auto-tunes agent strategies.orchestrator.py): Persists multi-turn session state, allocates computing budgets, and arbitrates competing agent directives.team_leads.py): Each departmental lead performs pre-flight goal decomposition, dispatches worker sub-tasks, and validates output quality before reporting up the hierarchy.staff.py): Dedicated operational personas with granular tool permissions, eliminating context contamination.core/dag/): Deconstructs composite goals into dependency graphs using Kahn's algorithm. Independent nodes run concurrently in parallel execution waves (max_concurrency=4).core/reasoning/reflexion.py): A continuous self-critique loop. The agent evaluates its candidate solutions against strict success criteria, iteratively revising code and hypotheses up to 3 cycles.core/reasoning/debate.py): Pitches an Advocate (proposing architecture and solutions) against a Skeptic (uncovering edge-cases, race conditions, and attack vectors). An Arbitrator Judge synthesizes the winning consensus.core/memory/ast_graph_extractor.py): Statically parses the entire Python workspace, constructing an automated graph of classes, functions, imports, and call dependencies.kg_impact_analysis), preventing unintended regression bugs.core/tools/dynamic_registry.py): Solves the 60+ tool prompt-bloat problem. Groups tools into domain bundles (git, web, genesis_orchestrator, reasoning, knowledge_graph, desktop_os, sandbox_verify) and dynamically injects only relevant schemas, reducing tool tokens by ~75%.core/tools/reliability.py): Grades every tool from Grade A to F based on real-time execution success rates and generates automated mitigation advice for brittle tools.core/routing/model_router.py):
FAST_CHEAP: Lightweight summaries, lookups, formatting (gpt-4o-mini, gemini-1.5-flash, claude-3-5-haiku).STANDARD_CODING: Complex engineering, API implementation, refactoring (claude-3-5-sonnet, gpt-4o, deepseek-coder).DEEP_REASONING: Formal logic, architectural trade-offs, debate synthesis (o3-mini, deepseek-reasoner, o1).core/routing/cost_tracker.py): Real-time per-turn token and USD spend tracking with hard safety budget limits.core/sandbox/environment.py): Captures byte-level workspace snapshots with SHA-256 integrity hashes prior to destructive actions.core/sandbox/safe_runner.py): Blocks fork-bombs (:(){ :|:& };:), root wipes (rm -rf /), and drive format operations before execution.core/monitoring/drift_detector.py): Compares recent execution metrics against historical baselines.WARNING, >= 35% CRITICAL), Step Inflation (>= 1.8x baseline steps), and isolates recurrent tool failure clusters.core/self_improvement/learning_engine.py): Extracts actionable lessons from failed tasks and formulates prescriptive operational rules.SkillRegistry playbooks and links causal avoidance facts into the KnowledgeGraph.core/self_improvement/eval_suite.py): Automated test suite benchmark validating coding, reasoning, security, and Git operations.PATH.gpt-4o, o3-mini), Anthropic Claude (claude-3-5-sonnet), Google Gemini, DeepSeek (deepseek-reasoner, deepseek-coder).http://localhost:11434 — Llama 3, DeepSeek-R1, Qwen, Mistral).git clone https://github.com/kapitan00000978-sketch/Universal-Agent-HP.git
cd Universal-Agent-HP
Windows (PowerShell):
python -m venv .venv
.venv\Scripts\Activate.ps1
macOS / Linux:
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
Copy .env.example to create your local .env:
# Windows
copy .env.example .env
# macOS / Linux
cp .env.example .env
Open .env and specify your preferred keys or local endpoints:
# Primary LLM Provider (omni, openai, anthropic, deepseek, ollama, puter)
TITAN_PROVIDER=omni
TITAN_MODEL=auto
# Optional API Keys (Leave blank if using local Ollama or Puter.js)
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
DEEPSEEK_API_KEY=
GEMINI_API_KEY=
# Local Model Endpoints
OLLAMA_BASE_URL=http://localhost:11434
LAYA_MLX_URL=http://127.0.0.1:8080
# Safety & Cognitive Budget
COGNITIVE_BUDGET=5.00
TITAN_AUTONOMOUS=true
universal CLI Command (Recommended)Install Universal Agent HP as a global terminal command available from any directory:
# Install globally (run once from the project root):
pip install -e .
Now you can use universal (or universal-agent) from anywhere in your terminal:
# Launch interactive CLI (default mode):
universal
# Launch Web Control Panel in browser:
universal --web
# Launch full-screen Terminal TUI (OpenCode-style):
universal --tui
# Launch Telegram Bot:
universal --telegram
# Override LLM provider and model:
universal --provider ollama --model deepseek-r1:8b
universal --provider openai --model gpt-4o
# Set reasoning mode and effort level:
universal --mode deep --effort high
# One-shot task execution (non-interactive):
universal "Explain this codebase architecture"
# CEO Meta-Orchestrator delegation:
universal --meta "Build an authenticated JWT REST API in FastAPI with SQLite"
# DAG Wave-Based Parallel Planner:
universal --dag "Refactor backend database schema and implement complete pytest suite"
# Multi-Agent Debate Strategy:
universal --strategy debate "Should we migrate the monolith to microservices?"
# Reflexion Self-Critique Engine:
universal --strategy reflexion "Write an optimal concurrent LRU Cache in Python"
| Command | Description |
|---|---|
/plan <task> | Deep planning mode with full analysis |
/review <code> | Code review with security & quality audit |
/fix <issue> | Auto-diagnose and fix bugs |
/test <target> | Generate and run test suites |
/research <topic> | Multi-hop internet research |
/security-scan | Full codebase security audit |
/explain <code> | Detailed code explanation |
/remember <fact> | Store knowledge in long-term memory |
/handoff <msg> | Create handoff for team collaboration |
/queue add <task> | Add task to background queue |
/queue list | View queued tasks |
/daemon | Start autonomous background task worker |
/skills | List all learned skill playbooks |
/memory <query> | Search knowledge graph |
/status | Show current provider, model, mode |
/help | Show all available commands |
mode deep | Switch to deep reasoning mode |
effort ultra | Switch to ultra effort level |
Launches the FastAPI server and opens the browser interface:
universal --web
# Or: python run.py
Access via: http://localhost:8000 (Features live streaming, DAG visualizer, model routing inspect, and tool reliability logs).
Full-featured terminal console with syntax highlighting, streaming output, and REPL slash commands:
universal
# Or: python run.py --cli
# Or: python cli.py
Immersive full-screen terminal interface with panels, tabs, and visual status:
universal --tui
# Or: python run.py --tui
Control and interact with Universal Agent HP securely from your phone:
universal --telegram
# Or: python run.py --telegram
| Category | Key Tools | Description |
|---|---|---|
| Genesis Meta | orchestrator_run, team_delegate, team_status | CEO Meta-Orchestrator delegation across 4 department leads. |
| Task Graph (DAG) | dag_plan_and_run, dag_visualize | Topological wave execution and selective failure replanning. |
| Cognitive Reasoning | debate_solve, reflexion_solve | Adversarial debates and iterative self-critique loops. |
| Knowledge Graph | kg_query, kg_impact_analysis, kg_index_workspace | AST codebase scanning, dependency tracing, blast-radius analysis. |
| Dynamic Tools | tool_discover, tool_reliability_report | Dynamic tool discovery and Bayesian EWMA health ratings. |
| Model Routing | model_route, model_budget_status | Complexity-based tier routing and USD expenditure auditing. |
| Execution Sandbox | sandbox_execute, sandbox_snapshot_create, sandbox_snapshot_rollback | Ephemeral code execution with transactional filesystem rollback. |
| Drift Monitoring | drift_record_task, drift_check, drift_status | Longitudinal performance tracking and quality degradation detection. |
| Self-Improvement | self_improve_analyze_failure, self_improve_eval_run, self_improve_crystallize_lesson | Autonomous failure learning, prompt evolution, and skill crystallization. |
| Core Workspace | read_file, write_file, edit_file, execute_command, workspace_rag | Robust filesystem manipulation, AST patching, and terminal execution. |
| Web & Research | web_search, scrape_webpage, download_file | Live DuckDuckGo search, HTML extraction, and research dossier builder. |
| OS & Automation | browser_goto, browser_click, browser_screenshot, manage_processes | Full Playwright web automation and Windows/macOS process management. |
Universal Agent HP maintains a 100% green test pass rate across all 30 phases:
python -m pytest tests -v
============================= test session starts =============================
platform win32 -- Python 3.12.10, pytest-9.1.1, pluggy-1.6.0
rootdir: C:\Users\user\Videos\demo1
configfile: pytest.ini
...
================== 600 passed, 1 skipped in 74.25s (0:01:14) ==================
All checks passed! (Ruff linting clean)
For the exhaustive 380-line English operational rulebook, laws of engagement, and troubleshooting instructions, refer to UNIVERSAL_AGENT_HP_MANUAL.txt (or TITAN_AGENT_MANUAL.txt).
This project is licensed under the MIT License — see the LICENSE file for details.
Python
93.9%
JavaScript
3.2%
CSS
1.4%
HTML
1.2%
Universal Agent HP: 10-layer autonomous AI agent OS with DAG planning, zero-loss rollback, and multi-model support.
Python
1
0 commits
updated Sep 23, 2026
💡 Stop paying $500/month for cloud coding agents that hallucinate, leak private corporate code, and get trapped in infinite loops.
Universal Agent HP replaces brittle single-prompt bots with an enterprise-grade autonomous software organization: a CEO Meta-Orchestrator, 4 Department Leads, and 27 Worker Specialists executing concurrent DAG dependency waves with SHA-256 zero-loss rollback and continuous self-improvement. Run frontier intelligence (DeepSeek V4 Pro, Claude 3.5 Sonnet, GPT-4o) completely free with zero API keys, or 100% offline via local Apple MLX & Ollama.
========================================================================================
LEVEL 1 — META-ORCHESTRATOR (Chief Executive Agent)
├── Global Goal Memory (Maintains multi-session project roadmap & long-term objectives)
├── Resource & Token Budget Controller (Manages token consumption & USD spend)
└── Multi-Agent Conflict Resolver (Resolves departmental priorities and constraints)
========================================================================================
│
┌───────────────────────────┼───────────────────────────┐
▼ ▼ ▼
LEVEL 2 — 4 DEPARTMENT TEAM LEADS
├── EngineeringLead (CTO) : System architecture, code synthesis, API schemas
├── ResearchLead (Chief Scientist) : Multi-hop internet research, doc audits, vector RAG
├── OperationsLead (DevOps / SRE) : Terminal actions, Docker sandboxes, Git migrations
└── QualitySecurityLead (Audit/QA) : AST security scanning, test suites, zero-loss rollback
========================================================================================
│
┌───────────────────────────┴───────────────────────────┐
▼ ▼
LEVEL 3 — 27 SPECIALIST WORKER ROLES
├── Backend Specialist ├── Database Specialist ├── Security Auditor
├── Frontend Specialist ├── Refactoring Specialist ├── Performance Engineer
├── Vector RAG Specialist ├── Test Engineer ├── Browser Automation Lead
└── (18 Additional Specialized Roles dispatched dynamically per task context)
========================================================================================
│
LEVEL 4 TO 10 — COGNITIVE SUBSYSTEMS & REASONING RUNTIMES
├── Level 4: Directed Acyclic Graph (DAG) Task Planner & Wave-Based Parallel Executor
├── Level 5: Dual Reasoning Loops: Reflexion Engine & Multi-Agent Debate Arena
├── Level 6: Causal Knowledge Graph Memory & AST Blast-Radius Impact Analyzer
├── Level 7: Dynamic Tool Discovery, Sandboxing & Bayesian EWMA Reliability Rating
├── Level 8: Capability-Based Model Routing & Cognitive USD Budget Tracker
├── Level 9: Execution Sandbox with Filesystem Snapshot & Zero-Loss Rollback
└── Level 10: Drift Detection & Autonomous Self-Improvement Benchmark Suite
========================================================================================
Universal Agent HP requires zero paid subscriptions or mandatory API keys. It natively interfaces with both cutting-edge frontier cloud models and air-gapped local runtimes:
g4f), and Python-tGPT (tgpt).deepseek-r1:8b/14b/32b, llama3.2, qwen2.5-coder, mistral, phi-4, and codellama.localhost:1234.💡 Tip: Leave all API keys blank in
.envand runpython cli.py --provider puter --model deepseek/deepseek-v4-proor--provider ollama --model deepseek-r1:8bto run completely free!
Unlike standard wrapper bots, single-prompt LLMs, or brittle ReAct loops, Universal Agent HP is engineered as an enterprise-grade autonomous software company. Here is how it compares directly against industry alternatives:
staff.py). Each worker runs with dedicated, scoped tool bundles—eliminating context bloat and hallucination.core/sandbox/environment.py). It computes SHA-256 pre-execution hashes and provides one-click zero-loss transactional rollback, automatically reverting altered code and removing rogue files.thought -> action -> observation). When a tool fails or throws an unhandled exception, they repeatedly hammer the same broken command until tokens or limits are exhausted.core/dag/): Replaces linear step-by-step loops with Kahn’s Directed Acyclic Graph topology. Independent subtasks execute concurrently in parallel waves, and failures trigger selective branch replanning rather than full workflow restarts.core/tools/reliability.py): Tracks real-time tool performance dynamically from Grade A to F. If a tool degrades, the agent automatically applies mitigation advice or reroutes to alternative tool paths.core/reasoning/): Combines a Reflexion Engine (self-evaluating against strict test suites before committing) and a Multi-Agent Debate Arena (pitching an Advocate against a Skeptic judged by an Arbitrator) to eliminate premature conclusions.core/memory/): Statically analyzes your workspace AST to map class/function callers and computes the ripple blast-radius before making edits, preventing hidden regressions.core/monitoring/, core/self_improvement/): Continuously computes longitudinal drift across runs. When regression patterns emerge, Universal Agent HP crystallizes lessons learned into permanent reusable playbooks and auto-tunes agent strategies.orchestrator.py): Persists multi-turn session state, allocates computing budgets, and arbitrates competing agent directives.team_leads.py): Each departmental lead performs pre-flight goal decomposition, dispatches worker sub-tasks, and validates output quality before reporting up the hierarchy.staff.py): Dedicated operational personas with granular tool permissions, eliminating context contamination.core/dag/): Deconstructs composite goals into dependency graphs using Kahn's algorithm. Independent nodes run concurrently in parallel execution waves (max_concurrency=4).core/reasoning/reflexion.py): A continuous self-critique loop. The agent evaluates its candidate solutions against strict success criteria, iteratively revising code and hypotheses up to 3 cycles.core/reasoning/debate.py): Pitches an Advocate (proposing architecture and solutions) against a Skeptic (uncovering edge-cases, race conditions, and attack vectors). An Arbitrator Judge synthesizes the winning consensus.core/memory/ast_graph_extractor.py): Statically parses the entire Python workspace, constructing an automated graph of classes, functions, imports, and call dependencies.kg_impact_analysis), preventing unintended regression bugs.core/tools/dynamic_registry.py): Solves the 60+ tool prompt-bloat problem. Groups tools into domain bundles (git, web, genesis_orchestrator, reasoning, knowledge_graph, desktop_os, sandbox_verify) and dynamically injects only relevant schemas, reducing tool tokens by ~75%.core/tools/reliability.py): Grades every tool from Grade A to F based on real-time execution success rates and generates automated mitigation advice for brittle tools.core/routing/model_router.py):
FAST_CHEAP: Lightweight summaries, lookups, formatting (gpt-4o-mini, gemini-1.5-flash, claude-3-5-haiku).STANDARD_CODING: Complex engineering, API implementation, refactoring (claude-3-5-sonnet, gpt-4o, deepseek-coder).DEEP_REASONING: Formal logic, architectural trade-offs, debate synthesis (o3-mini, deepseek-reasoner, o1).core/routing/cost_tracker.py): Real-time per-turn token and USD spend tracking with hard safety budget limits.core/sandbox/environment.py): Captures byte-level workspace snapshots with SHA-256 integrity hashes prior to destructive actions.core/sandbox/safe_runner.py): Blocks fork-bombs (:(){ :|:& };:), root wipes (rm -rf /), and drive format operations before execution.core/monitoring/drift_detector.py): Compares recent execution metrics against historical baselines.WARNING, >= 35% CRITICAL), Step Inflation (>= 1.8x baseline steps), and isolates recurrent tool failure clusters.core/self_improvement/learning_engine.py): Extracts actionable lessons from failed tasks and formulates prescriptive operational rules.SkillRegistry playbooks and links causal avoidance facts into the KnowledgeGraph.core/self_improvement/eval_suite.py): Automated test suite benchmark validating coding, reasoning, security, and Git operations.PATH.gpt-4o, o3-mini), Anthropic Claude (claude-3-5-sonnet), Google Gemini, DeepSeek (deepseek-reasoner, deepseek-coder).http://localhost:11434 — Llama 3, DeepSeek-R1, Qwen, Mistral).git clone https://github.com/kapitan00000978-sketch/Universal-Agent-HP.git
cd Universal-Agent-HP
Windows (PowerShell):
python -m venv .venv
.venv\Scripts\Activate.ps1
macOS / Linux:
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
Copy .env.example to create your local .env:
# Windows
copy .env.example .env
# macOS / Linux
cp .env.example .env
Open .env and specify your preferred keys or local endpoints:
# Primary LLM Provider (omni, openai, anthropic, deepseek, ollama, puter)
TITAN_PROVIDER=omni
TITAN_MODEL=auto
# Optional API Keys (Leave blank if using local Ollama or Puter.js)
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
DEEPSEEK_API_KEY=
GEMINI_API_KEY=
# Local Model Endpoints
OLLAMA_BASE_URL=http://localhost:11434
LAYA_MLX_URL=http://127.0.0.1:8080
# Safety & Cognitive Budget
COGNITIVE_BUDGET=5.00
TITAN_AUTONOMOUS=true
universal CLI Command (Recommended)Install Universal Agent HP as a global terminal command available from any directory:
# Install globally (run once from the project root):
pip install -e .
Now you can use universal (or universal-agent) from anywhere in your terminal:
# Launch interactive CLI (default mode):
universal
# Launch Web Control Panel in browser:
universal --web
# Launch full-screen Terminal TUI (OpenCode-style):
universal --tui
# Launch Telegram Bot:
universal --telegram
# Override LLM provider and model:
universal --provider ollama --model deepseek-r1:8b
universal --provider openai --model gpt-4o
# Set reasoning mode and effort level:
universal --mode deep --effort high
# One-shot task execution (non-interactive):
universal "Explain this codebase architecture"
# CEO Meta-Orchestrator delegation:
universal --meta "Build an authenticated JWT REST API in FastAPI with SQLite"
# DAG Wave-Based Parallel Planner:
universal --dag "Refactor backend database schema and implement complete pytest suite"
# Multi-Agent Debate Strategy:
universal --strategy debate "Should we migrate the monolith to microservices?"
# Reflexion Self-Critique Engine:
universal --strategy reflexion "Write an optimal concurrent LRU Cache in Python"
| Command | Description |
|---|---|
/plan <task> | Deep planning mode with full analysis |
/review <code> | Code review with security & quality audit |
/fix <issue> | Auto-diagnose and fix bugs |
/test <target> | Generate and run test suites |
/research <topic> | Multi-hop internet research |
/security-scan | Full codebase security audit |
/explain <code> | Detailed code explanation |
/remember <fact> | Store knowledge in long-term memory |
/handoff <msg> | Create handoff for team collaboration |
/queue add <task> | Add task to background queue |
/queue list | View queued tasks |
/daemon | Start autonomous background task worker |
/skills | List all learned skill playbooks |
/memory <query> | Search knowledge graph |
/status | Show current provider, model, mode |
/help | Show all available commands |
mode deep | Switch to deep reasoning mode |
effort ultra | Switch to ultra effort level |
Launches the FastAPI server and opens the browser interface:
universal --web
# Or: python run.py
Access via: http://localhost:8000 (Features live streaming, DAG visualizer, model routing inspect, and tool reliability logs).
Full-featured terminal console with syntax highlighting, streaming output, and REPL slash commands:
universal
# Or: python run.py --cli
# Or: python cli.py
Immersive full-screen terminal interface with panels, tabs, and visual status:
universal --tui
# Or: python run.py --tui
Control and interact with Universal Agent HP securely from your phone:
universal --telegram
# Or: python run.py --telegram
| Category | Key Tools | Description |
|---|---|---|
| Genesis Meta | orchestrator_run, team_delegate, team_status | CEO Meta-Orchestrator delegation across 4 department leads. |
| Task Graph (DAG) | dag_plan_and_run, dag_visualize | Topological wave execution and selective failure replanning. |
| Cognitive Reasoning | debate_solve, reflexion_solve | Adversarial debates and iterative self-critique loops. |
| Knowledge Graph | kg_query, kg_impact_analysis, kg_index_workspace | AST codebase scanning, dependency tracing, blast-radius analysis. |
| Dynamic Tools | tool_discover, tool_reliability_report | Dynamic tool discovery and Bayesian EWMA health ratings. |
| Model Routing | model_route, model_budget_status | Complexity-based tier routing and USD expenditure auditing. |
| Execution Sandbox | sandbox_execute, sandbox_snapshot_create, sandbox_snapshot_rollback | Ephemeral code execution with transactional filesystem rollback. |
| Drift Monitoring | drift_record_task, drift_check, drift_status | Longitudinal performance tracking and quality degradation detection. |
| Self-Improvement | self_improve_analyze_failure, self_improve_eval_run, self_improve_crystallize_lesson | Autonomous failure learning, prompt evolution, and skill crystallization. |
| Core Workspace | read_file, write_file, edit_file, execute_command, workspace_rag | Robust filesystem manipulation, AST patching, and terminal execution. |
| Web & Research | web_search, scrape_webpage, download_file | Live DuckDuckGo search, HTML extraction, and research dossier builder. |
| OS & Automation | browser_goto, browser_click, browser_screenshot, manage_processes | Full Playwright web automation and Windows/macOS process management. |
Universal Agent HP maintains a 100% green test pass rate across all 30 phases:
python -m pytest tests -v
============================= test session starts =============================
platform win32 -- Python 3.12.10, pytest-9.1.1, pluggy-1.6.0
rootdir: C:\Users\user\Videos\demo1
configfile: pytest.ini
...
================== 600 passed, 1 skipped in 74.25s (0:01:14) ==================
All checks passed! (Ruff linting clean)
For the exhaustive 380-line English operational rulebook, laws of engagement, and troubleshooting instructions, refer to UNIVERSAL_AGENT_HP_MANUAL.txt (or TITAN_AGENT_MANUAL.txt).
This project is licensed under the MIT License — see the LICENSE file for details.
Python
93.9%
JavaScript
3.2%
CSS
1.4%
HTML
1.2%