日本語のREADMEはこちら (Japanese README) | Documentation (GitHub Pages)
Pure Go, cross-platform security & monitoring agent for TWSNMP NEO with built-in Sigma rules and local LLM triage (tensai).
- Pure Go Single Binary (
CGO_ENABLED=0): Zero external dependencies, runs out of the box across Linux, macOS, and Windows with hardened dependencies (including MQTT security update for CVE-2025-10543). - Embedded Sigma Engine: Curated security rules embedded via
embed.FSwith zero-maintenance startup. - Local AI Triage: Built-in LLM judge powered by
tensaifor contextual false-positive suppression and actionable alert enrichment. - Security Configuration Assessment (SCA): Pure Go security auditing engine for CIS benchmark compliance (world-writable permissions, private keys/.env exposure, leftover backup files, cleartext secrets, sshd/sysctl) with baseline startup and FIM event-driven triggers.
- Windows Service & Linux systemd Integration: Native background daemon installation and management via simple CLI (
twagentneo service install/start/stop/restart/status/remove). - Network Traffic & System Telemetry: Real-time traffic rate calculation (Bytes/Packets in/out rates), ARP inspection, TCP connection tracking, and CPU/memory/disk monitoring with smart filesystem exclusion and deduplication.
- Self-Updating: Built-in CLI updater (
twagentneo update) with Homebrew and container awareness. - Multi-Protocol Telemetry: Seamless delivery to TWSNMP NEO via MQTT, Syslog, and SNMP TRAP.
Full manuals and architectural guides are published on GitHub Pages:
brew install twsnmp/tap/twagentneocurl -fsSL https://raw.githubusercontent.com/twsnmp/twagentneo/main/install/install.sh | shDownload pre-built binary archives directly from GitHub Releases.
Using mise:
mise run buildOr using make:
make build# Normal start
twagentneo -config config.yaml
# Start with console debug logging enabled (-debug or -d)
twagentneo -config config.yaml -debugtwagentneo -version
# twagentneo v0.3.0 (commit: abc1234, built: 2026-10-27T05:00:00Z, darwin/arm64)# Check for updates
twagentneo update -check
# Apply update
twagentneo updateJust like twsnmpneo, you can install and manage twagentneo as a background service.
Run in an elevated Administrator PowerShell or Command Prompt:
# Install as a Windows service (automatic start on boot)
.\twagentneo.exe service install -service-auto -config C:\twagentneo\config.yaml
# Start service
.\twagentneo.exe service start
# Restart service
.\twagentneo.exe service restart
# Query status
.\twagentneo.exe service status
# Stop service
.\twagentneo.exe service stop
# Remove service
.\twagentneo.exe service removeRun with root / sudo privileges:
# Install as a systemd service (automatic start on boot)
sudo /usr/local/bin/twagentneo service install -auto -config /etc/twagentneo/config.yaml
# Start service
sudo /usr/local/bin/twagentneo service start
# Restart service
sudo /usr/local/bin/twagentneo service restart
# Query status
sudo /usr/local/bin/twagentneo service status
# Stop service
sudo /usr/local/bin/twagentneo service stop
# Remove service
sudo /usr/local/bin/twagentneo service removeFor instructions on how to test Sigma rules and File Integrity Monitoring (FIM) alerts locally without administrator privileges, see TESTING.md.