How rootfaiyaz/argus works
Argus is a local coding and authorized-pentesting terminal agent. The operator interacts through the REPL; the agent builds a profile- and context-aware conversation, calls the local model, and handles tool requests through permissions and dispatch. Tools support coding and security work, with engagement tracking and durable session, memory, and model-cache state. README documents the local llama-server boundary, web access through skills, and reporting capabilities. Some subsystem links rely on README or SOURCE INDEX references; unsampled internals are not assumed to call one another.
Main entry points: agent.py Agent loop · registry.py Tool registry and dispatch · __main__.py REPL and commands · client.py LlamaClient
Components 22
Operator interaction
- REPL and commands
argus/__main__.py - Terminal rendering
argus/ui.py
Agent orchestration
- Agent loop
argus/agent.py - Runtime config
argus/config.py - Coding and pentest profiles
argus/profiles.py - History and compaction
argus/context.py - Tool permissions
argus/permissions.py
Agent capabilities
- Tool registry and dispatch
argus/tools/registry.py - File operations
argus/tools/fs.py - Content search
argus/tools/search.py - Shell execution
argus/tools/shell.py - Skill tools
argus/tools/meta.py - Bundled and installed skills
argus/skills.py - Engagement tools
argus/tools/engagement_tools.py
Durable state
- Coverage and findings
argus/engagement.py - Cross-session memory
argus/memory.py - Saved sessions
argus/sessions.py
Local model
- LlamaClient
argus/client.py - llama-server
Other components
- Operator
- Browser automation
- Local files and targets
Connections 28
- Operator → REPL and commands: submits prompts
README.md - REPL and commands → Agent loop: runs turns
argus/__main__.py - Agent loop → Terminal rendering: renders updates
argus/agent.py - REPL and commands → Terminal rendering: renders commands
argus/__main__.py - Agent loop → Runtime config: uses settings
argus/agent.py - Agent loop → Coding and pentest profiles: selects role
argus/agent.py - Agent loop → History and compaction: updates history
argus/agent.py - Agent loop → LlamaClient: requests completions
README.md - LlamaClient → llama-server: streams requests
README.md - Agent loop → Tool permissions: checks tool calls
argus/agent.py - Agent loop → Tool registry and dispatch: dispatches calls
argus/agent.py - Tool registry and dispatch → File operations: registers tools
argus/tools/registry.py - Tool registry and dispatch → Content search: registers tools
argus/tools/registry.py - Tool registry and dispatch → Shell execution: registers tools
argus/tools/registry.py - Tool registry and dispatch → Skill tools: registers tools
argus/tools/registry.py - Tool registry and dispatch → Engagement tools: registers tools
argus/tools/registry.py - Content search → File operations: uses path helpers
argus/tools/search.py - Skill tools → Bundled and installed skills: loads skill bodies
README.md - Bundled and installed skills → Browser automation: guides automation
README.md - Shell execution → Browser automation: runs scripts
README.md - File operations → Local files and targets: reads and writes
README.md - Browser automation → Local files and targets: drives browser
README.md - Engagement tools → Coverage and findings: records coverage
argus/tools/engagement_tools.py - Agent loop → Coverage and findings: restores tracker
argus/agent.py - Agent loop → Saved sessions: saves sessions
argus/agent.py - Agent loop → Cross-session memory: uses remembered facts
argus/agent.py - LlamaClient → Local files and targets: saves cache
README.md - Coverage and findings → History and compaction: reinjects tracker
argus/context.py