cai
cai copied to clipboard
[0.4.0] `/parallel` mode: add agent name next to the command being executed
The agent name is shown next to the textual response, but not next to the command being executed, which leads to confusion.
CAI> please perform ls and report to me the files inside $(pwd)
Running 2 parallel agents...
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ [1] Agent: Red Team Agent >> I'll help you attack the system in this CTF environment. Let me start by gathering │
│ information about the current environment and then proceed with enumeration and exploitation. [17:04:20 │
│ (claude-sonnet-4-20250514)] Current: I:535 O:127 R:0 ($0.0035) | Total: I:535 O:127 R:0 ($0.0035) | Session: $0.0035 | │
│ Context: 0.3% 🟩 │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ [1] Agent: Blue Team Agent >> I understand this is an Attack/Defense CTF scenario where I need to defend the system. │
│ Let me start by conducting a comprehensive security assessment to identify vulnerabilities and implement defensive │
│ measures while maintaining service availability. │
│ │
│ Let me begin with basic system reconnaissance and security audit: [17:04:25 (claude-sonnet-4-20250514)] Current: I:581 │
│ O:148 R:0 ($0.0040) | Total: I:581 O:148 R:0 ($0.0075) | Session: $0.0075 | Context: 0.3% 🟩 │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Completed ─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ generic_linux_command(command=whoami, args=&& id && pwd, workspace=CAINEW, full_command=whoami && id && pwd, │
│ refresh_rate=2) [Total: 0.1s | Tool: 0.1s] [Local:CAINEW] [Completed] │
│ │
│ │
│ ╭─ Command Output ────────────────────────────────────────────────────────────────────────────────────────────────────╮ │
│ │ balassone │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Completed ─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ generic_linux_command(command=whoami, args=&& id && pwd, workspace=CAINEW, full_command=whoami && id && pwd, │
│ refresh_rate=2) [Total: 0.3s | Tool: 0.0s] [Local:CAINEW] [Completed] │
│ │
│ │
│ ╭─ Command Output ────────────────────────────────────────────────────────────────────────────────────────────────────╮ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ generic_linux_command(command=whoami && id && pwd, interactive=False) [Completed] ─────────────────────────────────────╮
│ generic_linux_command(command=whoami && id && pwd, interactive=False) [Total: 0.7s | Tool: 0.0s] │
│ │
│ │
│ ╭─ Command Output ────────────────────────────────────────────────────────────────────────────────────────────────────╮ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ //SNIP// │ │
│ │ │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ │
│ Current: I:0 O:0 R:0 ($0.0000) | Total: I:535 O:127 R:0 ($0.0035) | Session: $0.0075 | Context: 0.0% 🟩 │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯