mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-09-27 12:04:54 +02:00
- Add AgentExecutor implementing LLM-based agentic loop with tool calling, max iterations, and stop conditions - Introduce agent preset tools (bash, file_exists, http_get, run_module, etc.) with extensible registry pattern - Add sub-agent spawning capability via spawn_agent tool call with recursive depth limits and validation - Implement ToolExecutor for custom tool execution with template rendering and error handling - Add agent session persistence and memory management with sliding window configuration - Create comprehensive E2E test suite covering 15+ agent workflow scenarios (minimal, custom tools, planning, multi-goal, structured output, tracing hooks, file tools, orchestration, Python tools, sub-agents, nested sub-agents, and validation) - Add agent-and-llm test data directory with 17 YAML workflow fixtures - Update integration tests to include agent workflow directories - Add AgentTool and AgentConfig types with validation for duplicate names and unknown presets - Implement LLM streaming test utilities - Update documentation (CLAUDE.md, HACKING.md, README.md) with agent features and CLI examples
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
kind: module
|
|
name: test-agent-sub-agents
|
|
description: Test multi-agent orchestration with sub-agent spawning
|
|
tags: test,agent,sub-agents
|
|
|
|
params:
|
|
- name: target
|
|
required: true
|
|
default: example.com
|
|
|
|
steps:
|
|
- name: orchestrator
|
|
type: agent
|
|
query: "Analyze {{Target}} by coordinating specialists"
|
|
system_prompt: "You are an orchestrator. Delegate tasks to sub-agents."
|
|
max_iterations: 10
|
|
max_agent_depth: 3
|
|
agent_tools:
|
|
- preset: bash
|
|
sub_agents:
|
|
- name: recon_agent
|
|
description: "Specialized agent for reconnaissance"
|
|
system_prompt: "You are a recon specialist"
|
|
max_iterations: 5
|
|
agent_tools:
|
|
- preset: bash
|
|
- preset: http_get
|
|
- name: vuln_scanner
|
|
description: "Specialized agent for vulnerability scanning"
|
|
system_prompt: "You are a vulnerability analyst"
|
|
max_iterations: 5
|
|
agent_tools:
|
|
- preset: bash
|
|
- preset: read_file
|
|
exports:
|
|
result: "{{agent_content}}"
|