sre is a free, open source orchestration & scheduling project written in TypeScript and released under MIT. It has 1,293 GitHub stars, 203 forks and 35 open issues, and was last pushed 6 months ago. On this registry it ranks #83 of 123 tracked projects in Orchestration & Scheduling, with 5 head-to-head comparisons available.

What is sre?

The SmythOS Runtime Environment (SRE) is an open-source, cloud-native runtime, SDK, and command-line interface that developers use to build, run, and manage agentic AI across local, cloud, and edge environments.

What it is

SRE is the kernel, software development kit, and CLI of the SmythOS project, written in TypeScript and released under the MIT licence. It is described as an operating system for agentic AI: just as a traditional operating system kernel manages hardware resources and exposes APIs to applications, SRE manages AI resources — large language models, vector databases, storage, and caching — and exposes a unified API that behaves identically across every provider. The repository contains the SRE kernel, the SDK for creating agents in code, and the CLI for running them. A separate repository, the SmythOS Visual Agent Studio, targets users who prefer a drag-and-drop interface instead.

The concrete problem it solves is provider lock-in and integration glue. Rather than writing and maintaining a separate adapter for each LLM, vector store, cache, or storage backend, a developer writes agent logic once and swaps the underlying provider without rewriting the code. The same interface applies whether a file is stored locally or on S3, and whether inference runs against OpenAI, Anthropic, or another model provider. That abstraction is the whole point of the project: it sits in the Infrastructure & Operations / Orchestration & Scheduling category and replaces the bespoke plumbing teams otherwise assemble per provider.

Key capabilities

  • Unified resource abstraction: every provider exposes the same functions and APIs, so storage (local, S3), vector databases, cache (Redis, RAM), and LLMs (OpenAI, Anthropic) interchange without code changes.
  • Ships with 40+ production-ready components included in the runtime.
  • Provides three surfaces — the SRE Kernel, the SDK, and the CLI — for both running agents and creating them in code.
  • Kernel architecture is inspired by operating system design, covering agent orchestration and lifecycle management.
  • OS-level abstractions for LLMs, vector databases, storage, and caching.
  • Topic coverage includes multi-agent systems, retrieval-augmented generation (RAG), MCP, LLMOps, and orchestration.

Who uses it and how

  • Teams building multi-agent systems that need orchestration and lifecycle management rather than one-off scripts.
  • Developers prototyping locally and deploying the same agent logic to cloud or edge without changing provider integrations.
  • Engineers who want to swap an LLM, vector store, or cache backend as requirements change, without rewriting agent code.
  • Platform teams standardising agent infrastructure across an organisation on a single SDK interface.
  • Users who prefer visual construction can pair it with the separate SmythOS Visual Agent Studio repository.

Getting started

The README directs users to the SDK documentation, the SRE Core documentation, and the examples directory in the repository, and states that setup can start in minutes. No npm package name, Docker image, or compose file is named in the material available here, so the documented path is the linked SDK and Core docs plus the code examples.

How it compares

No list of paid products it replaces is provided. The topics place it alongside frameworks such as LangChain, workflow automation such as n8n, and autonomous agent projects such as AutoGPT. Its stated position is lower in the stack than those: a runtime and kernel layer for agents rather than a visual builder or a single-model toolkit.

When to use it — and when not to

A self-hoster still operates the underlying services the runtime abstracts — a vector database, a cache such as Redis, storage, and LLM provider credentials — so the abstraction reduces code, not operational surface. Anyone expecting a drag-and-drop studio should use the separate SmythOS Visual Agent Studio repository instead. The material here does not name an exact install command or package name, so teams needing a one-line, fully documented deploy should check the linked SDK and Core documentation before committing.

project readme (upstream, from github) — read inline

SmythOS - The Linux of AI Agents

Reliable Agent Engineering starts with great, open source infrastructure. This repository contains the Smyth Runtime Environment Kernel (SRE), the Software Development Kit (SDK) and Command Line Interface (CLI) for running agents and creating them with code. If you prefer visual drag & drop agent interfaces instead, check out our open source SmythOS Visual Agent Studio! Great community, support, tutorials. Start in minutes!

SRE Banner


Homepage  SmythOS Visual Agent Studio 


SmythOS Runtime Environment (SRE)

SRE is an open-source runtime and SDK for production AI agents. It provides OS-level abstractions for AI resources—LLMs, vector databases, storage, and caching—with a unified API that works identically across all providers. Write your agent logic once, scale it anywhere. Built-in security, observability, and 40+ production-ready components included. The operating system layer AI agents have been missing.


Inspired by the architecture of operating system kernels, SmythOS provides a robust and scalable foundation for agent orchestration and lifecycle management, giving every builder the tools to act, not just imagine.


SDK Documentation  |  SRE Core Documentation  |  Code Examples  |  Contributing


Why SmythOS exists

  1. Shipping production-ready AI agents shouldn’t feel like rocket science.
  2. Autonomy and control can, and must, coexist.
  3. Security isn’t an add-on; it’s built-in.
  4. The coming Internet of Agents must stay open and accessible to everyone.

Design Principles

SmythOS provides a complete Operating System for Agentic AI. Just as traditional operating systems manage resources and provide APIs for applications, SmythOS manages AI resources and provides a unified SDK that works from development to production.

SRE Diagram

Unified Resource Abstraction

SmythOS provides a unified interface for all resources, ensuring consistency and simplicity across your entire AI platform. Whether you're storing a file locally, on S3, or any other storage provider, you don't need to worry about the underlying implementation details. SmythOS offers a powerful abstraction layer where all providers expose the same functions and APIs.

This principle applies to all services - not just storage. Whether you're working with VectorDBs, cache (Redis, RAM), LLMs (OpenAI, Anthropic), or any other resource, the interface remains consistent across providers.

This approach makes your AI platform easy to scale and incredibly flexible. You can seamlessly swap between different providers to test performance, optimize costs, or meet specific requirements without changing a single line of your business logic.

Key Benefits:

  • Agent-First Design: Built specifically for AI agent workloads
  • Developer-Friendly: Simple SDK that scales from development to production
  • Modular Architecture: Extensible connector system for any infrastructure
  • Production-Ready: Scalable, observable, and battle-tested
  • Enterprise Security: Built-in access control and secure credential management

Quick Start

We made a great tutorial that's really worth watching:

Watch Video

Method 1: Using the CLI (Recommended)

Install the CLI globally and create a new project:

npm i -g @smythos/cli
sre create

The CLI will guide you step-by-step to create your SDK project with the right configuration for your needs.

Method 2: Direct SDK Installation

Add the SDK directly to your existing project:

npm install @smythos/sdk

Check the Examples, documentation and Code Templates to get started.


Note: If you face an issue with the CLI or with your code, set environment variable LOG_LEVEL="debug" and run your code again. Then share the logs with us, it will help diagnose the problem.

Repository Structure

This monorepo contains three main packages:

SRE (Smyth Runtime Environment) - packages/core

The SRE is the core runtime environment that powers SmythOS. Think of it as the kernel of the AI agent operating system.

Features:

  • Modular Architecture: Pluggable connectors for every service (Storage, LLM, VectorDB, Cache, etc.)
  • Security-First: Built-in Candidate/ACL system for secure resource access
  • Resource Management: Intelligent memory, storage, and compute management
  • Agent Orchestration: Complete agent lifecycle management
  • 40+ Components: Production-ready components for AI, data processing, and integrations

Supported Connectors:

  • Storage: Local, S3, Google Cloud, Azure
  • LLM: OpenAI, Anthropic, Google AI, AWS Bedrock, Groq, Perplexity
  • VectorDB: Pinecone, Milvus, RAMVec
  • Cache: RAM, Redis
  • Vault: JSON File, AWS Secrets Manager, HashiCorp

SDK - packages/sdk

The SDK provides a clean, developer-friendly abstraction layer over the SRE runtime. It's designed for simplicity without sacrificing power.

Why Use the SDK:

  • Simple API: Clean, intuitive interface that's easy to learn
  • Type-Safe: Full TypeScript support with IntelliSense
  • Production-Ready: Same code works in development and production
  • Configuration-Independent: Business logic stays unchanged as infrastructure scales

CLI - packages/cli

The SRE CLI helps you get started quickly with scaffolding and project management.

Code examples

The SDK allows you to build agents with code or load and run a .smyth file. .smyth is the extension of agents built with our SmythOS builder.

Example 1 : load and run an agent from .smyth file

async function main() {
    const agentPath = path.resolve(__dirname, 'my-agent.smyth');

    //Importing the agent workflow
    const agent = Agent.import(agentPath, {
        model: Model.OpenAI('gpt-4o'),
    });

    //query the agent and get the full response
    const result = await agent.prompt('Hello, how are you ?');

    console.log(result);
}

Want stream mode ? easy

Click to expand: Stream Mode Example - Real-time response streaming with events
    const events = await agent.prompt('Hello, how are you ?').stream();
    events.on('content', (text) => {
        console.log('content');
    });

    events.on('end', /*... handle end ... */)
    events.on('usage', /*... collect agent usage data ... */)
    events.on('toolCall', /*... ... */)
    events.on('toolResult', /*... ... */)
    ...

Want chat mode ? easy

Click to expand: Chat Mode Example - Conversational agent with memory
    const chat = agent.chat();

    //from there you can use the prompt or prompt.stream to handle it

    let result = await chat.prompt("Hello, I'm Smyth")
    console.log(result);

    result = await chat.prom

readme truncated — read the full docs on github

Frequently asked questions

Is sre free to use?

sre is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does sre do?

The SmythOS Runtime Environment (SRE) is an open-source, cloud-native runtime for agentic AI. Secure, modular, and production-ready, it lets developers build, r

What is sre written in?

sre is primarily written in TypeScript. Its source is publicly available at https://github.com/SmythOS/sre, and it has 1,293 GitHub stars.