Rhodawk Mythos Agent
mythos: ascend to Mythos-level β multi-agent + probabilistic + advanced tooling + RL + MCP suite + FastAPI
14b1bbe | """ | |
| 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) | |