Skip to content
Projets

À propos

Plateforme SRE basée sur l’IA proposant des diagnostics d’infrastructure en lecture seule, des investigations approfondies, une gouvernance de la sécurité et la collaboration en équipe

Systèmes et infrastructure

Comment ces chiffres sont mesurés

What you can do

  • Deep Investigation — A 4-phase workflow for evidence gathering, hypothesis testing, and root-cause analysis
  • Investigation Memory — Learns from past incidents to improve future investigations
  • Read-Only by Default — Investigates and recommends next steps without changing your environment directly
  • Team Workflows — Shared web UI, credentials, channels, triggers, and scheduled patrols

Progression mesurée des étoiles

in 24h
Mise à jour retardée
in 7 days
0
in 15 days
+1
in 1 month
Mise à jour retardée

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original
Siclaw Logo

Siclaw

Read-only investigation copilot for DevOps and SRE teams

npm CI Node.js TypeScript License Slack

Website | Live Preview | Documentation | Slack


Siclaw is an open-source AI agent for DevOps and SRE teams. It is built for read-only infrastructure diagnostics: gather evidence, form hypotheses, validate them, and return a clear root-cause analysis without changing your environment directly. Describe a problem in plain language and Siclaw investigates it from the web UI, your team's chat channels, or a non-interactive CLI invocation.

A hosted preview of the Portal UI — 4 specialist agents, recorded investigation sessions, and the built-in diagnostic skill set — is available at siclaw.ai/demo.

Features

  • Deep Investigation — A 4-phase workflow for evidence gathering, hypothesis testing, and root-cause analysis
  • Investigation Memory — Learns from past incidents to improve future investigations
  • Read-Only by Default — Investigates and recommends next steps without changing your environment directly
  • Team Workflows — Shared web UI, credentials, channels, triggers, and scheduled patrols
  • Reusable Skills — Turn repeated diagnostic playbooks into reviewable runbooks
  • Extensible — Connect external tools and data sources through MCP
  • Multi-Channel Access — Use Siclaw from the web UI, chat channels, or non-interactive CLI
  • Agent Tracing — Export agent behavior (LLM calls, tools, tokens) to Langfuse, Phoenix, or any OTLP backend; configured in the web UI and hot-reloaded live

Architecture

Siclaw System Architecture

Control plane (Portal + Gateway + shared DB) stores the curated agents and their bound resources — Skills, a versioned Knowledge wiki, MCP servers, and Credentials. Sessions use an AgentBox (one Pod per user in Kubernetes, or in-process in local dev). The headless CLI embeds the same core directly. The Agent Brain runs a Deep Investigation Engine against its bound capabilities — read-only across every target it touches.

Prerequisites

  • Node.js >= 22.19.0 — Download
  • npm — Comes with Node.js
  • kubectl — Optional, only needed if you want Siclaw to investigate Kubernetes clusters

Quick Start

Start with the local Web UI, or deploy to Kubernetes for a team. The CLI also supports non-interactive diagnostic runs. For local usage, start from a dedicated working directory because Siclaw stores most runtime data in .siclaw/ relative to where you launch it.

mkdir -p ~/siclaw-work
cd ~/siclaw-work

1. Local Server — VM or laptop, recommended for daily use

A lightweight web UI backed by SQLite. No MySQL, no Docker required.

npm install -g siclaw

# Start the server
siclaw local

# Open http://localhost:3000
# On a fresh local workspace: sign in with admin / admin
# Configure providers in Models
# Import kubeconfigs in Clusters
Build from source
git clone https://github.com/scitix/siclaw.git && cd siclaw
npm ci && make build-portal-web && npm run build
npm link                 # register `siclaw` command globally

siclaw local             # start local server

# Uninstall: npm unlink siclaw -g

A fresh local workspace creates the bootstrap account admin / admin. Open the Web UI and change its password in Account. Configure a model and select an agent to begin an investigation.

Data locations (defaults, override with env vars):

  • Database: .siclaw/data/portal.db — override with DATABASE_URL=sqlite:///custom/path.db or DATABASE_URL=mysql://...
  • Secrets: .siclaw/local-secrets.json — auto-generated JWT / Runtime / Portal secrets, 0600 perms

Non-interactive CLI

In another terminal, use the same working directory to run a single investigation with the local Portal's configuration:

siclaw agents
siclaw --agent sre-oncall --prompt "Why is pod nginx-abc in CrashLoopBackOff?"
siclaw --agent sre-oncall --continue --prompt "Check recent events"

Use a name returned by siclaw agents. A single configured agent is selected automatically; with multiple agents, --agent is required. The invocation prints the final answer and exits. Missing input or model configuration produces an error instead of a setup prompt.

The CLI reads Portal configuration through a local authenticated snapshot API. Each invocation materializes skills, knowledge, and credentials under a private .siclaw/.portal-snapshot/run-<random>/ root and removes only that root on exit. Web UI changes apply to the next invocation. For custom ports, set PORTAL_PORT on the server and SICLAW_PORTAL_PORT on the CLI to the same value.

When Portal is unavailable and no agent was selected, the CLI uses .siclaw/config/settings.json and local resources. A selected agent must load successfully; snapshot failures stop execution. See CLI configuration below and the Portal integration guide.

Terminal interface migration: Bare siclaw now shows help. Use siclaw local for interactive investigations. Terminal slash commands and the setup wizard have been removed; --continue requires a new --prompt. Existing --print --prompt "..." scripts remain supported.

2. Kubernetes — Team / enterprise

Production deployment uses Helm plus three container images: runtime, portal, and agentbox.

Build and push images if you are using your own registry:

make docker REGISTRY=registry.example.com/myteam TAG=latest
make push  REGISTRY=registry.example.com/myteam TAG=latest

Then deploy the chart with a MySQL URL:

helm upgrade --install siclaw ./helm/siclaw \
  --namespace siclaw \
  --create-namespace \
  --set image.registry=registry.example.com/myteam \
  --set image.tag=latest \
  --set database.url="mysql://user:pass@host:3306/siclaw"

The default chart exposes the Portal Service on service port 3003 and NodePort 31003. Runtime and AgentBox run as ClusterIP-only services (internal traffic).

Configuration

Headless CLI

  • A reachable local Portal supplies providers and agent-bound resources. Configure these in its Web UI.
  • Without Portal, prepare .siclaw/config/settings.json before running siclaw --prompt "...".
  • For cluster and host access, import credentials in the local Web UI and run the CLI from that workspace.
  • Investigation traces are written to .siclaw/traces/ relative to the working directory.

Minimal example:

{
  "providers": {
    "default": {
      "baseUrl": "https://api.openai.com/v1",
      "apiKey": "sk-YOUR-KEY",
      "api": "openai-completions",
      "models": [{ "id": "gpt-4o", "name": "GPT-4o" }]
    }
  }
}

Local Server / Kubernetes

All configuration happens through the web UI:

  • Configure LLM providers in Models
  • Import kubeconfigs in Clusters
  • Import SSH hosts and credentials in Hosts
  • Configure Slack, Lark, Discord, and Telegram in Channels
  • Configure MCP servers in MCP
  • Manage users and roles in Users
  • Schedule recurring investigations in My Tasks

Documentation

Tech Stack

Layer Technology
Runtime Node.js 22+ (ESM-only)
Language TypeScript 5.9
Agent pi-coding-agent
Database (portal) MySQL (prod) or SQLite (local, via node:sqlite) — single DDL, driver chosen by DATABASE_URL scheme
Database (memory) node:sqlite + FTS5 + bge-m3 embeddings
Frontend React + Vite + Tailwind CSS
K8s Client @kubernetes/client-node
MCP @modelcontextprotocol/sdk
Realtime WebSocket (ws)

Community

Contributing

See CONTRIBUTING.md for development setup, architecture overview, and pull request guidelines.

Looking for a place to start? Check out issues labeled good first issue.

License

Apache License 2.0

Explorer des projets similaires

Chargement…