Knowledge Base updated: 2026-11-22
OpenSRE knowledge base
Orientation
OpenSRE is an operational-agent platform: it runs AI-assisted investigation and automation through agent sessions, tools, skills, integrations, and service transports.
The main subsystems are the agent runtime; integration catalog, setup, and verification; gateway and interactive entrypoints; scheduled and alert-driven automation; and configuration, identity, persistence, and evidence services.
Critical runtime state spans configuration and environment resolution, integration credentials and setup state, agent/session memory, scheduler and infrastructure persistence, and captured evidence.
flowchart TD
Users[Operators and external systems] --> Surfaces[CLI, shell, Slack, web]
Surfaces --> Entrypoints[Service entrypoints]
Entrypoints --> Gateway[Gateway runtime]
Gateway --> Harness[Agent harness]
Harness --> Agent[Agent runtime]
Agent --> LLM[LLM provider abstraction]
Agent --> Tools[Tool framework]
Tools --> Integrations[Integration platform]
Integrations --> External[Cloud, observability, SaaS, MCP servers]
Agent --> Memory[Agent memory]
Agent --> Skills[Skill lifecycle]
Entrypoints --> Automation[Alert and scheduled automation]
Automation --> Delivery[Delivery and deployment services]
Automation --> Analytics[Operational analytics]
Agent --> State[Configuration, state, and evidence]
Glossary
- Integration — a configured external capability whose tools and verification behavior are exposed to agent workflows.
- Skill — versioned operational guidance and content that can be released and made available to agent turns.
- Harness — the turn-execution layer that assembles prompts, grounding, sessions, and messages around the core agent.
- MCP server integration — an integration that discovers and bridges remote Model Context Protocol tools into OpenSRE.
- Evidence — persisted operational artifacts captured for investigation, execution, and later review.
Codebase-wide invariants
- External capabilities are invoked through registered tool contracts rather than directly from agent logic; evidence:
tools/**andintegrations/**. - Integration usability is established through setup and verification flows, not catalog presence alone; evidence: integrations/setup_flow.py and integrations/verify.py.
- Runtime identity and sensitive configuration are resolved through configuration boundaries; evidence:
config/**. - Agent execution is separated from model-vendor implementation by provider abstractions; evidence:
agent/**andllm/**. - Remote MCP capabilities are adapted into integration tools through configuration, discovery, schema, bridge, setup, summary, and verification components; evidence:
integrations/mcp_servers/**.
Routing table
agent/**-> Agent execution architectureagent/harness/**-> Agent harness and turn executionllm/**-> LLM invocation and provider abstractiontools/**-> Agent tool frameworkmemory/**-> Agent memory lifecycleskills/**-> Skill lifecycle and releasesworkspace_knowledge/**-> Workspace knowledgeintegrations/**-> Integration platform- integrations/_catalog_impl.py -> Integration catalog and registry
- integrations/registry.py -> Integration catalog and registry
- integrations/setup_flow.py -> Integration setup and credentials
- integrations/store.py -> Integration setup and credentials
- integrations/verify.py -> Integration verification and probes
- integrations/…/verifier.py -> Integration verification and probes
- integrations/mcp_client.py -> Hosted gateway integration
integrations/mcp_servers/**-> MCP server integrations- main.py -> Service entrypoints and transports
gateway/**-> Gateway runtimecli/**-> CLI and interactive user surfacestools/interactive_shell/**-> CLI and interactive user surfacesalerts/**-> Operational automationscheduler/**-> Alert intake and scheduled workservices/delivery/**-> Delivery and deployment servicesanalytics/**-> Operational analytics and telemetrygithub_ci/**-> GitHub CI repair automationconfig/**-> Configuration and security boundariesconfig/constants/**-> Configuration resolution and identitystorage/**-> State, evidence, and file storage