Skip to content

CLI Reference

Main command: osint-agent

osint-agent [OPTIONS] [COMMAND]

Execution modes

Interactive mode (default)

Ventana de terminal
osint-agent

Opens the osint> prompt for interactive session.

Single query

Ventana de terminal
osint-agent -q "Investigate IP 185.220.101.34"
osint-agent -q "Analyze domain evil.com" --json
FlagDescription
-q, --query TEXTQuery to execute in non-interactive mode
--jsonOutput in JSON format

Batch mode from file

Ventana de terminal
osint-agent --batch iocs.txt
osint-agent --batch iocs.txt --limit 20 --json
FlagDescription
--batch PATHPath to file with one IOC per line
--limit NMaximum IOCs to process (default: 10)
--jsonJSON output per IOC

Batch mode from feed

Ventana de terminal
osint-agent --feed feodo --limit 5
osint-agent --feed urlhaus --limit 3 --json
FlagDescription
--feed NAMEFeed name: feodo, urlhaus, ipsum, c2intel, cloudflare
--limit NNumber of IOCs to analyze from feed
--jsonJSON output

Global flags

FlagDescription
--helpShow help
--versionShow version
--verboseDetailed output (debug)

Investigation subcommands

investigation create

Ventana de terminal
osint-agent investigation create "Acme Corp Case" --goal "Due diligence"
FlagDescription
NAMEInvestigation name
--goal TEXTInvestigation objective

investigation list

Ventana de terminal
osint-agent investigation list

Lists all investigations with their status (active, archived).

investigation use

Ventana de terminal
osint-agent investigation use acme-corp-case

Activates an investigation by its slug. Writes slug to data/.active.

investigation archive

Ventana de terminal
osint-agent investigation archive acme-corp-case

investigation reactivate

Ventana de terminal
osint-agent investigation reactivate acme-corp-case

Status commands

status

Ventana de terminal
osint-agent status

Shows summary of active investigation: name, objective, number of evidence, entities, claims.

limits

Ventana de terminal
osint-agent limits

Shows monthly quota consumption for operations.

Interactive prompt commands

Once inside the osint> prompt:

CommandDescription
/dashboardRisk table of all IOCs investigated in the session
/report saveSave Markdown report in reports/
/report previewShow report preview in terminal
/cache statsSQLite cache statistics
/cache clearClear cache (next query will go to API)
/feeds listList available feeds
/feeds <name> --limit NAnalyze N most recent IOCs from a feed
/helpList available commands
exit / quitExit the agent

MCP Server: osint-mcp

Ventana de terminal
osint-mcp # STDIO
osint-mcp --transport streamable-http --port 8080 # HTTP
osint-mcp --help

A2A Server: osint-a2a

Ventana de terminal
osint-a2a # default: 0.0.0.0:9000
osint-a2a --port 9090 # custom port
osint-a2a --host 127.0.0.1 # localhost only
osint-a2a --help

Practical examples

Ventana de terminal
# Quick investigation of one IOC
osint-agent -q "Investigate IP 8.8.8.8"
# Domain analysis with JSON output for scripting
osint-agent -q "Analyze domain google.com" --json | jq '.risk_score'
# Analyze top 5 active C2s from Feodo
osint-agent --feed feodo --limit 5
# Batch of IOC list with 3s pause between each
BATCH_DELAY_SECONDS=3 osint-agent --batch suspicious_ips.txt
# Start investigation and activate it
osint-agent investigation create "Phishing-Q1-2026" --goal "Identify infrastructure"
osint-agent investigation use phishing-q1-2026
# Check status
osint-agent status