AgentRAG.io

Enterprise-Grade RAG & Agent Orchestration Platform.

Self-hosted, multi-provider LLM support, document intelligence, real-time streaming, and advanced scheduling for basic tasks or complex autonomous agents.

ssh_admin.md
---
skill_id: ssh_admin
name:     ssh_admin
type:     agent
mcp_servers: [ssh]
description: "Administration Linux distante via SSH"
version: "1.0"
tags: [linux, ssh, admin, infra]
slash_command: /ssh
at_command: true
host_required: true
memory_scope: session+global
---

## Objective
You are an expert Linux administrator. Translate user requests
into precise SSH commands and report results clearly.

Current Features

  • Intelligent Document Search: ChromaDB-powered semantic search with adjustable retrieval parameters
  • Multi-Provider LLM Support: Seamless integration with OpenAI, Claude, Gemini, Ollama, and 10+ providers
  • Temperature Control: Per-conversation adjustment (0.0–2.0)
  • Project-Based Organization: Isolate document collections and conversations by project
  • Real-Time Streaming: Server-Sent Events for progressive responses
  • Fine-Grained Control: Per-conversation temperature, top-k, and context window management
  • Enterprise Security: JWT authentication, AES-256 encryption, GDPR compliance

Advanced Features — Agent & RAG

  • RAG-Powered Context: Agents automatically retrieve relevant context from your document knowledge base
  • LLM Integration: Agents call LLMs with intelligent prompts and context management
  • MCP Tool Access: Connect to external services (Gitea, GitHub, DataGouv, linter, SSH, WinRM, etc.)
  • Multi-Step Workflows: Orchestrate complex tasks (fetch repo → generate code → lint → commit → PR)
  • Remote Host Management: New SSH & WinRM hosts registered once, executed anywhere — credentials AES-256 encrypted
  • Skill .md Files: New Register agents from a single Markdown file — semantic resolution, no config
  • Real-Time Streaming: Live execution logs and progress updates via SSE
  • Scheduled Agent Execution: Automate workflows by scheduling agents to run at specific times or intervals.

Providers Supported

  • OpenAI: GPT-4o, GPT-4-turbo, o1-preview, o1-mini
  • Anthropic Claude: Claude 3.5 Sonnet, Claude 3 Opus
  • Google Gemini: Gemini 1.5 Pro/Flash, Gemini 2.0
  • OpenRouter: 200+ models (free + paid)
  • xAI Grok: Grok-3, Grok-3-mini, Grok-3-vision
  • Groq: Mixtral, LLaMA 3, Gemma
  • HuggingFace: Zephyr, Mistral, LLaMA 2
  • Ollama: ollama pull llama3
  • LM Studio: GUI app
  • vLLM: Python + CUDA
  • SGlang: Python + CUDA
  • LMDeploy: Python + TurboMind
  • Oobabooga: Web UI

Agent Library

Each agent is defined by a single .md file with YAML frontmatter. Register via POST /api/skills/register — credentials resolved securely from DB, never in plain config.

Linux SSH Agents SSH

nginx_ops

Manage Nginx — config test, reload, log analysis, upstream health, SSL expiry check.

  • "nginx is returning 502 on prod, check upstream and reload"
  • "Show me the top 10 slowest endpoints from access.log"
  • "Check SSL cert expiry on all vhosts"
apache_ops

Manage Apache — VHost management, mod_status, graceful restart, SSL, access log analysis.

  • "Test Apache config and do a graceful restart"
  • "Enable mod_rewrite and reload"
  • "Which IPs generated the most 403s today?"
kubernetes_node_ops

Inspect Kubernetes — pod triage, CrashLoopBackOff diagnosis, node drain, rolling restarts, rollback.

  • "List all pods in CrashLoopBackOff and show their last logs"
  • "Drain node k8s-node-02 for maintenance"
  • "Rollback the payment-service deployment"
docker_ops

Operate Docker — container lifecycle, image pull, health checks, Compose redeploy, prune.

  • "Pull latest image and recreate the api container"
  • "Show memory usage for all running containers"
  • "Prune unused images and volumes to free disk"
postgres_ops

Monitor PostgreSQL — replication lag, slow queries, lock contention, bloat, backup status.

  • "Check replication lag on all replicas"
  • "Find the top 5 slowest queries this hour"
  • "Which tables have the most dead tuples and need VACUUM?"
mysql_ops

Monitor MySQL/MariaDB — processlist, replica lag, slow log, InnoDB metrics, backup check.

  • "Show full processlist and kill queries running over 30s"
  • "Check replica status on db-replica-01"
  • "Top 10 slowest queries from slow log this week"
linux_incident

Triage Linux incidents — CPU/memory/disk pressure, OOM kills, systemd failures, network saturation.

  • "The server is slow, run a full triage and report"
  • "Check for OOM kills in the last hour"
  • "List all failed systemd units and their last error"
log_analyzer

Analyse any log — grep/awk/tail, error patterns, log rotation, SFTP download.

  • "Count error occurrences by type in /var/log/app.log"
  • "Force log rotation and archive logs older than 7 days"
  • "Download the last nginx error log for offline analysis"
deploy_rollback

Deploy & rollback — git pull, build, service restart, health check, auto-rollback on failure.

  • "Deploy main branch to prod-web-01 with health check"
  • "Rollback to the previous commit on staging"
  • "Run full deploy pipeline: pull → npm ci → reload service"

Windows WinRM Agents WinRM

iis_ops

Manage IIS — app pool lifecycle, site bindings, SSL certificates, access log analysis, FREB.

  • "Recycle the MyApp pool and check its state after"
  • "Show all IIS sites with their bindings and SSL expiry"
  • "Detect 500 errors in IIS logs from the last hour"
windows_incident

Triage Windows incidents — CPU/memory/disk pressure, event log errors, stuck processes, service failures.

  • "The server is unresponsive, run a full Windows triage"
  • "List critical events from System log in the last 2h"
  • "Find and kill the process consuming the most memory"
sqlserver_ops

Monitor SQL Server — blocking queries, AG replication lag, failed jobs, index fragmentation, backup status.

  • "Show all blocking sessions with their query text"
  • "Check AG sync lag on all replicas"
  • "List SQL Agent jobs that failed in the last 24h"
windows_deploy_rollback

Deploy & rollback — robocopy staging, app pool recycle, health check, auto-rollback, backup snapshots.

  • "Deploy staging build to IIS and verify health endpoint"
  • "Rollback to yesterday's backup snapshot"
  • "Stop pool → robocopy → start pool → health check pipeline"
windows_log_analyzer

Analyse Windows logs — Event Log queries, failed logins, lockouts, IIS W3C logs, custom app logs.

  • "Show all failed login attempts from the Security log today"
  • "Which accounts got locked out in the last 24h?"
  • "Search custom app log for EXCEPTION patterns"

Fixed Agents — MCP-backed New

gitea_code_generator

Generate code, lint, commit and create PRs on a self-hosted Gitea repository via MCP. Supports clone, file-level update, branch creation and pull request automation.

  • "Add a /healthz endpoint returning JSON status"
  • "Refactor the auth module and open a PR on ai-feature"
  • "Lint and fix all PEP8 issues in src/"
datagouv_explorer

Explore the data.gouv.fr catalogue — search datasets, fetch resources and download URLs, browse organisations and DINUM API v2 topics.

  • "Find all CSV datasets about population by commune"
  • "List INSEE datasets updated in the last month"
  • "Fetch download URL for the 2023 electoral results"
branch_code_review

Automatic code review on Git branches — security analysis, style checks, LLM-generated comments, optional auto-fix and PR creation.

  • "Review the feature/auth branch for security issues"
  • "Auto-fix PEP8 warnings and push the result"
  • "Open a review PR with inline LLM comments"
ansible_role_generator

Generate role Ansible, lint, commit and create PRs on a self-hosted Gitea repository via MCP. Supports clone, file-level update, branch creation and pull request automation.

  • "role_name": "nginx_hardening"
  • "Rôle Ansible pour Nginx : TLS, headers, fail2ban"
wikijs

Search, read, create and update Wiki.js documentation pages via LLM.

  • "Create a new page about API integration"
  • "Update the installation guide with latest steps"
  • "Search for authentication documentation"
sonarqube

Analyze code for bugs, vulnerabilities and standards violations via LLM.

  • "Find security vulnerabilities in this source file"
  • "Check quality gate status for production branch"
  • "List all open issues and hotspots by severity"

Skill .md file examples

One file = one agent. The YAML frontmatter configures routing, MCP servers and memory. The Markdown body is the system prompt — including the ## Mapping section that defines the commands the agent understands at execution.

---
skill_id: ssh_admin
name:     ssh_admin
type:     agent
mcp_servers: [ssh]
description: "Administration Linux distante via SSH"
version: "1.0"
tags: [linux, ssh, admin, infra]
slash_command: /ssh
at_command: true
host_required: true
memory_scope: session+global
---

## Objective
You are an expert Linux administrator. Translate user requests
into precise SSH commands and report results clearly.

## Mapping
- restart <service>  → systemctl restart <service>
- stop <service>     → systemctl stop <service>
- check <service>    → systemctl status <service> --no-pager
- logs <service>     → journalctl -u <service> -n 50 --no-pager
- disk               → df -h
- memory             → free -h
- processes          → ps aux --sort=-%mem | head -20
- ports              → ss -tlnp
- cleanup            → apt autoremove -y && journalctl --vacuum-time=7d

## First run on unknown host
Execute get_system_info to detect OS and store globally.

## Response format
✅ Success | ⚠️ Warning | ❌ Error + stderr + suggested fix

MCP Servers

AgentRAG connects agents to external services via Model Context Protocol servers. Declare the MCP server in your .md frontmatter — the backend resolves credentials and routes tool calls automatically.

SSH Server ssh

stdio

Execute commands on any Linux host over SSH. Supports key-based auth, passphrase keys, and per-session memory. Hosts registered once in DB — never in plain config.

exec_commandget_system_infoupload_filedownload_filelist_directory

WinRM Server winrm

stdio

Execute PowerShell commands on Windows hosts via WinRM. Supports NTLM, Kerberos, and Basic auth. Service management, Event Log queries, process control.

exec_powershellget_system_inforestart_servicelist_servicesget_event_logsget_running_processes

Gitea Server gitea New

HTTP

Full repository operations on a self-hosted Gitea instance (GitHub v3 API). Clone, read files, update content, create branches and pull requests — all without leaving AgentRAG.

clone_repositoryget_repo_treeget_file_contentupdate_filecommit_and_pushcreate_branchcreate_pull_request

GitHub Server github

HTTP

Interact with GitHub repositories — code review automation, PR creation, issue management, branch operations and content updates via the GitHub REST API.

get_file_contentupdate_filecreate_pull_requestlist_issuescreate_review

DataGouv datagouv New

HTTP

Search and explore the French open data catalogue — data.gouv.fr REST API v1 & v2. No authentication required. Search datasets, fetch resources, browse DINUM topics and organisations.

search_datasetsget_datasetsearch_organizationslist_topicsget_topic

Linter Server linter New

stdio

Run linters and formatters on generated code before committing. Supports Python (ruff, black, flake8), JavaScript (eslint, prettier), and shell scripts. Used automatically by the Gitea code generator.

lint_fileformat_filelint_directorycheck_syntax

Test Runner test_runner

stdio

Execute test suites as part of agent workflows. Supports pytest, jest, and custom commands. Results are parsed and returned as structured JSON — failures block commit when enabled.

run_testsrun_single_testget_coverage

WikiJS Server wikijs New

HTTP

Manage Wiki.js documentation pages — search, read, create and update content via the WikiJS API. Configuration stored in mcp_config.wikijs. No authentication required for basic operations.

search_pagesget_pagecreate_pageupdate_page

SonarQube Security sonarqube New

HTTP

Security operations — project inventory, vulnerabilities, security hotspots, quality gate, and LLM-assisted remediation (modes: projects, overview, issues, hotspots, remediate). Configuration stored in mcp_config.sonarqube. Optional - repository project (use_rag: true + project_id)

list_security_hotspotsget_security_hotspotget_ruleget_source_snippetget_quality_gateget_measures

Scheduler

Transform your autonomous agents into reliable background processes. Schedule the periodic execution of complex agents or run simple LLM prompts according to a precise calendar, with complete supervision over the task lifecycle.

Cron-Based Scheduling

Define recurring tasks with a precise cron frequency. Ideal for daily reports, maintenance, or periodic monitoring.

Deterministic Agents

Execute agents with fixed and predefined arguments. Perfect for routine tasks like system status checks or log reporting.

Periodic LLM Prompt Scheduling

Launch simple prompts directly via a calendar. Useful for regular content generation or automated market analysis.

Approval Modes

Control every execution with manual, auto, or skip-all modes. Ensure safety in case of critical tasks.

Notifications and Auditing

Receive results via in-app notification or email. Every execution is logged for complete traceability (audit trail).

Multi-Step Workflows

Chain multiple agents or steps sequentially. One agent triggers the next, ensuring a complete and reliable workflow.

Automated LLM Auditing and Verification - LLMJudge

Transform your generated responses into reliable, auditable outputs. The LLM Judge pipeline executes a multi-layered series of mechanical checks (syntax, format) followed by advanced AI judgment to ensure the answer is grounded, correct, and adheres to all specified constraints.

Structural Integrity (Sanity/Schema)

Performs mechanical checks on the response structure. Detects empty answers, truncated reasoning blocks, and validates adherence to required formats like JSON or YAML schemas.

Code Block Validation

Analyzes code snippets (Python, JS, etc.) for syntax errors, unclosed fences, and potential placeholders (TODO:). Supports linting via tools like Ruff to catch bugs and best practices violations.

Citation and Retrieval Check

Ensures every claim is supported by the provided context. Verifies that all citations [SOURCE N] point to valid, non-empty documents and checks if the retrieved context was relevant enough.

Guided Regeneration (Gate Mode)

If the initial answer fails verification, the system automatically enters a repair loop. It uses the detailed findings to prompt the LLM for regeneration, retrying up to N times until a passing score or maximum rounds are reached.

Aggregated Verdict and Score

Collects all findings (errors, warnings) from the entire pipeline into a single Verdict. Assigns a quantitative score (0.0 to 1.0) and a clear status (Passed, Failed, Warning).

LLM Judge Audit

The final, high-level audit. An advanced LLM assesses the answer for logical bugs, contradictions against sources, and overall completeness, providing a human-readable judgment.

Built withDockerLinuxPythonGitHubReact
Star or fork on GitHub ↗