Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions packages/autobot/autobot/agent/autobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
blue_sensor_search,
blue_sensor_timeline,
)
from decepticon_core.plugin_loader import SubAgentSpec

_ROLE = "autobot"
_RECURSION_LIMIT = 400
Expand Down Expand Up @@ -115,23 +114,6 @@ def create_autobot_agent(
).with_config({"recursion_limit": recursion_limit or _RECURSION_LIMIT})


# The red orchestrator dispatches AutoBot as a subagent (the purple loop):
# discovered via the ``decepticon.subagents`` entry-point declared in this
# package's metadata. parent_agents pins it to the ``decepticon`` main agent.
SUBAGENT_SPEC = SubAgentSpec(
name="autobot",
description=(
"AutoBot — independent read-only defender. Investigates live local "
"target telemetry and the always-on monitor's incidents, then reports "
"evidence and uncertainty. No bash or containment tools."
),
factory=create_autobot_agent,
parent_agents=("decepticon",),
bundle="standard",
priority=90,
)


def __getattr__(name: str):
# Module-level lazy graph attribute — the Decepticon graph registry's
# ``decepticon.agents`` discovery contract requires a module-level
Expand Down
4 changes: 0 additions & 4 deletions packages/autobot/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ autobot = "autobot.role:ROLE_SPEC"
[project.entry-points."decepticon.agents"]
autobot = "autobot.agent.autobot:graph"

# The red orchestrator dispatches blue_cell as a subagent when this package
# is installed (``decepticon[blue]``) — the purple loop's defender side.
[project.entry-points."decepticon.subagents"]
autobot = "autobot.agent.autobot:SUBAGENT_SPEC"

[project.urls]
Homepage = "https://github.com/BitterSecurity/AutoBot"
Expand Down
Loading