Rhodawk Mythos Agent
mythos: ascend to Mythos-level β€” multi-agent + probabilistic + advanced tooling + RL + MCP suite + FastAPI
14b1bbe
Raw
History Blame Contribute Delete
2.02 kB
"""
Rhodawk Mythos-Level Upgrade Package
=====================================
This package implements the "Ascending to Mythos-Level" blueprint
(see ``mythos/MYTHOS_PLAN.md``) on top of the existing Rhodawk
EmbodiedOS / Hermes orchestration core.
Layout
------
mythos/
β”œβ”€β”€ MYTHOS_PLAN.md – the living plan (source of truth)
β”œβ”€β”€ agents/ – Planner / Explorer / Executor + orchestrator
β”œβ”€β”€ reasoning/ – probabilistic hypothesis engine + attack graphs
β”œβ”€β”€ static/ – Tree-sitter, Joern, CodeQL, Semgrep bridges
β”œβ”€β”€ dynamic/ – AFL++, KLEE, QEMU, Frida, GDB automation
β”œβ”€β”€ exploit/ – Pwntools / ROPGadget / heap / privesc kits
β”œβ”€β”€ learning/ – RL planner, MLflow tracker, LoRA, curriculum, episodic memory
β”œβ”€β”€ mcp/ – static / dynamic / exploit / vuln-db / web-security MCP servers
β”œβ”€β”€ api/ – FastAPI productization layer
└── skills/ – agentskills.io standardised skill registry
Every concrete module degrades gracefully when its optional native
dependency (Joern, KLEE, AFL++, Frida, Pyro, …) is missing β€” Mythos
modules detect the absence and either fall back to a pure-Python heuristic
or raise a clean ``MythosToolUnavailable`` so the orchestrator can route
around the missing capability.
"""
from __future__ import annotations
__all__ = [
"MythosToolUnavailable",
"MYTHOS_VERSION",
"build_default_orchestrator",
]
MYTHOS_VERSION = "1.0.0"
class MythosToolUnavailable(RuntimeError):
"""Raised when an optional native tool (Joern, KLEE, AFL++, ...) is missing."""
def build_default_orchestrator(**kwargs):
"""Convenience constructor β€” defers heavy imports until first call."""
from .agents.orchestrator import MythosOrchestrator
return MythosOrchestrator(**kwargs)