ARGUS Agent Banner

πŸ‘οΈ Claw Argus

The All-Seeing Research & Intelligence System

Named after Argus Panoptes β€” the hundred-eyed guardian of Greek mythology

Python 3.10+ MIT License

Features β€’ Quick Start β€’ Tools β€’ Methodology β€’ Security & Scope β€’ Use Cases

--- ## 🧠 What is CLAW ARGUS? **CLAW ARGUS** is an autonomous AI research agent. It performs multi-layered investigations across the public web, cross-validates findings, detects bias, extracts structured entities, and generates professional intelligence reports. Think of it as your personal **100-eyed research analyst** that never sleeps, never gets tired, and processes information from multiple sources simultaneously. > πŸ’‘ **One prompt in β†’ Comprehensive intelligence report out.** --- ## ✨ Features
### πŸ” Multi-Engine Search Searches across **DuckDuckGo**, **Wikipedia**, and **Wikidata** simultaneously for maximum coverage ### 🧬 Entity Extraction Regex-based NER pulls out **people, organizations, dates, monetary values, percentages, emails, and URLs** ### πŸ›‘οΈ Bias Detection Scans for **loaded language, hedging, absolutist claims, and emotional manipulation** in sources ### βš–οΈ Cross-Validation **Jaccard similarity** + **contradiction detection** to verify claims across multiple sources ### πŸ“Š Deep Analysis **Sentiment scoring, bigram extraction, readability metrics, and thematic classification** across 6 domains ### πŸ“‹ Report Generation Structured intelligence reports with **confidence scoring, risk assessment, and exportable Markdown**
### πŸ—οΈ Infrastructure - ⚑ **In-memory caching** with 5-minute TTL β€” no redundant API calls - πŸ”„ **Retry with exponential backoff** β€” resilient against transient failures - 🧩 **7 modular tools** β€” each independently testable and extensible --- ## πŸš€ Quick Start ### Prerequisites - Python 3.10+ - An OpenAI API key (or compatible LLM provider) ### Installation ```bash # Clone the repository git clone https://github.com/ClawArgus/ClawArgus cd ClawArgus # Install dependencies pip install -r requirements.txt # Set your API key export OPENAI_API_KEY="your-key-here" # Linux/Mac set OPENAI_API_KEY=your-key-here # Windows CMD $env:OPENAI_API_KEY="your-key-here" # PowerShell ``` ### Dependencies Runtime deps are intentionally small: - **`requests`** β€” HTTP client for search and fetch - **An LLM SDK of your choice** (e.g. `openai`) β€” for the agent loop There is no hidden agent framework pulling in a deep dependency tree. The tool functions in `argus_agent.py` are plain Python and can be driven by any LLM orchestrator you prefer. ### Run ```bash # Run with default research task python argus_agent.py # Run with custom task python argus_agent.py "Analyze the impact of AI regulations in the EU in 2025" ``` --- ## πŸ”§ Tools ARGUS comes equipped with **7 specialized tools** the agent invokes autonomously: | # | Tool | Description | |---|------|-------------| | 1 | `web_search` | Multi-engine search across DuckDuckGo, Wikipedia, and Wikidata with caching | | 2 | `fetch_url_content` | Content extraction with HTML stripping, structural analysis, and deduplication | | 3 | `wikipedia_summary` | Dedicated Wikipedia deep-dive with categories, metadata, and reliability assessment | | 4 | `extract_entities` | Regex-based NER: people/orgs, dates, money, percentages, emails, URLs | | 5 | `analyze_text` | Sentiment + bias detection + bigrams + readability + thematic classification | | 6 | `compare_sources` | Jaccard similarity, shared/unique terms, contradiction detection | | 7 | `generate_report` | Structured reports with metadata, risks, recommendations, and Markdown export | --- ## πŸ“ Methodology ARGUS follows the **DRIVAS** protocol for every research task: ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ DECOMPOSE │────▢│ RESEARCH │────▢│ IDENTIFY β”‚ β”‚ Break query β”‚ β”‚ Multi-engineβ”‚ β”‚ Extract β”‚ β”‚ into 3-6 β”‚ β”‚ search + β”‚ β”‚ entities & β”‚ β”‚ sub-tasks β”‚ β”‚ deep fetch β”‚ β”‚ key data β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ VALIDATE │────▢│ ANALYZE │────▢│ SYNTHESIZE β”‚ β”‚ Cross-ref β”‚ β”‚ Sentiment, β”‚ β”‚ Generate β”‚ β”‚ sources + β”‚ β”‚ bias, and β”‚ β”‚ final β”‚ β”‚ detect bias β”‚ β”‚ themes β”‚ β”‚ report β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` ### Information Quality Hierarchy Sources are prioritized by reliability: ``` 🟒 Official/government sources β†’ HIGHEST 🟒 Peer-reviewed/academic β†’ HIGH 🟑 Established news outlets β†’ MEDIUM-HIGH 🟑 Wikipedia β†’ MEDIUM 🟠 Industry blogs/reports β†’ MEDIUM πŸ”΄ Social media/forums β†’ LOW ``` --- ## πŸ”’ Security & Scope ARGUS is designed as a **local research tool**. Please read this section before deploying it anywhere that accepts untrusted input. ### Intended use - Running locally or in a trusted environment where the operator controls the research prompt. - Authorized OSINT, market research, academic review, and similar analyst workflows. ### Not intended (without additional hardening) - Public-facing services or multi-tenant deployments. `fetch_url_content` will retrieve any URL the agent decides to visit, which means an attacker who controls the prompt or the search results could attempt **Server-Side Request Forgery (SSRF)** against internal hosts (`127.0.0.1`, `169.254.169.254`, RFC1918 ranges, etc.). If you deploy ARGUS as a service, put `fetch_url_content` behind an allowlist, block private IP ranges after DNS resolution, and cap redirects. ### Outbound HTTP identification ARGUS identifies itself in the `User-Agent` header as `ARGUS/` with a link back to this repository. It does not spoof a browser. Some sites may rate-limit or block non-browser clients; respect `robots.txt` and each site's terms of service. ### API keys The agent reads `OPENAI_API_KEY` (or your chosen provider key) from the environment. Never commit keys, and never paste a production key into a prompt that gets logged. ### Repository hygiene `.claude/`, `.env`, local settings, and cache files should be listed in `.gitignore`. Do not commit machine-specific auto-approval files. --- ## πŸ’Ό Use Cases ### πŸ“ˆ Market Research & Competitive Intelligence Analyze competitors, market trends, and emerging opportunities. ARGUS searches 3 engines, extracts entities (companies, revenue, dates), detects bias, cross-validates findings, and generates reports with confidence scoring. ### πŸ›‘οΈ Threat Intelligence & OSINT Analysis Monitor security threats and vulnerabilities from public sources. ARGUS aggregates OSINT data, detects contradictions between sources, assesses reliability, and produces structured threat reports with recommendations. ### πŸ“š Academic & Technical Research Conduct literature reviews and technical deep-dives. ARGUS decomposes research questions, gathers information from authoritative sources, validates findings, and synthesizes structured reports with full source attribution. --- ## πŸ“ Examples ### Basic Usage ```python from argus_agent import argus_agent result = argus_agent.run( "What are the latest developments in quantum computing? " "Who are the key players and what are the risks?" ) print(result) ``` ### Using Individual Tools ```python from argus_agent import web_search, analyze_text, extract_entities results = web_search("autonomous AI agents 2025") analysis = analyze_text("The revolutionary AI breakthrough will transform everything...") entities = extract_entities("OpenAI raised $6.6 billion in October 2024...") ``` ### Sample Report Output ```json { "report_metadata": { "report_id": "AR-4F8A2C1B3D9E", "title": "Autonomous AI Agents: 2025 Landscape", "confidence_level": "HIGH", "agent_version": "ARGUS v2.0.0", "methodology": "Multi-Source Open Intelligence (MOSINT)" }, "executive_summary": "...", "detailed_findings": "...", "key_risks": ["..."], "recommendations": ["..."], "sources_consulted": ["..."], "markdown_export": "..." } ``` --- ## πŸ“ Project Structure ``` ClawArgus/ β”œβ”€β”€ argus_agent.py # Main agent implementation (all tools + agent config) β”œβ”€β”€ argus_logo.jpg # Agent marketplace image (800Γ—800) β”œβ”€β”€ requirements.txt # Runtime dependencies β”œβ”€β”€ README.md # This file β”œβ”€β”€ LICENSE # MIT License └── .gitignore # Git ignore rules ``` --- ## 🀝 Contributing Contributions are welcome! Feel free to: 1. Fork the repository 2. Create a feature branch (`git checkout -b feature/new-tool`) 3. Commit your changes (`git commit -m 'Add new tool: xyz'`) 4. Push to the branch (`git push origin feature/new-tool`) 5. Open a Pull Request --- ## πŸ“„ License This project is licensed under the **MIT License** β€” see the [LICENSE](LICENSE) file for details. --- ## πŸ”— Links - **Repository:** https://github.com/ClawArgus/ClawArgus - **Issues & feature requests:** https://github.com/ClawArgus/ClawArgus/issues ---

πŸ‘οΈ ARGUS sees everything. You miss nothing.

Built with ❀️ by ARGUS Labs