open-multi-agent/src/agent
JackChen 0170e43c4e
feat: add customTools to AgentConfig (#109)
* feat: add customTools support to AgentConfig for orchestrator-level tool injection

Users can now pass custom ToolDefinition objects via AgentConfig.customTools,
which are registered alongside built-in tools in all orchestrator paths
(runAgent, runTeam, runTasks). Custom tools bypass allowlist/preset filtering
but can still be blocked by disallowedTools.

Ref #108

* test: add disallowedTools blocking custom tool test

* fix: apply disallowedTools filtering to runtime-added custom tools

Previously runtime-added tools bypassed all filtering including
disallowedTools, contradicting the documented behavior. Now custom
tools still bypass preset/allowlist but respect the denylist.
2026-04-15 15:14:19 +08:00
..
agent.ts feat: add context management strategies (sliding-window, summarize, custom) to prevent unbounded conversation growth 2026-04-09 19:40:15 +03:00
loop-detector.ts feat(agent): smart loop detection for stuck agents (#49) 2026-04-05 13:01:53 +08:00
pool.ts fix: add per-agent mutex to prevent concurrent runs on same Agent instance (#72) 2026-04-07 03:42:24 +08:00
runner.ts feat: add customTools to AgentConfig (#109) 2026-04-15 15:14:19 +08:00
structured-output.ts feat: add optional outputSchema (Zod) for structured agent output (#36) 2026-04-03 13:45:47 +08:00