Discovery & test-security
List agents and tools
bash
anycode list-agents
anycode list-toolsWhen Agent or Task appears in the tool list, those invoke nested sub-agents. JSON inputs and behavior aligned with Claude Code’s Agent tool (cwd, model, isolation, run_in_background, etc.) are documented under P5 in the Roadmap.
test-security
Runs SecurityLayer::check_tool_call for a given tool name and JSON input:
bash
anycode test-security --tool Bash --input '{"command":"ls"}'Exact subcommand spelling is shown in anycode --help.
LSP tool
With --features tools-lsp, the LSP tool forwards JSON-RPC over a stdio subprocess. Configure lsp in config.json (see Config & security — LSP) or set ANYCODE_LSP_COMMAND.
Related
- Roadmap — P5: Agent / Task vs Claude field parity
- Agent skills —
anycode skills,SKILL.mddiscovery - Config & security — deny rules and
permission_mode - Architecture — SecurityLayer wiring
