Alibaba Cloud Linux 4 Agentic Edition (ANOLISA) Product Overview

Updated at:

Alibaba Cloud Linux 4 Agentic Edition, also known as ANOLISA, is an Agent-first operating system of Alibaba Cloud, specially designed for AI Agents

Mirror introduction

ANOLISA is a derivative operating system designed for Agent based on Alibaba Cloud's self-developed operating system Alibaba Cloud Linux. It provides the best operating environment for Agent and improves the experience of Alibaba Cloud customers using Agent. ANOLISA is fully compatible with all capabilities of Alinux4 (kernel optimization, cloud native support, etc.), and builds a new OS architecture around the Agent's cognitive style and working mode.

Hierarchy

components

illustrate

Encapsulating interaction layer

cosh

An alternative to the default shell that natively hosts bash/zsh and receives natural language tasks in the same terminal.

OS Skills

With the built-in skill package mechanism, Agent interacts with the runtime layer and basic system layer through Skill instructions to obtain "hands-on capabilities" such as deployment, operation and maintenance, diagnosis, and observability.

runtime layer

AgentSecCore

AgentSecCore is a security product specially built for AI Agents. It focuses on core threats in the Agent life cycle such as prompt injection, dynamic code execution, skill security, intention deviation, and system environment risks. It builds a multi-dimensional, deep, closed-loop defense mechanism on the OS side of "perception-decision-blocking-tracing", and supports non-intrusive integration into Agent frameworks such as cosh and OPENCLAW.

AgentSight

An AI Agent observability tool based on eBPF technology, which can be used without intrusion and zero modification.Real-time monitoring of AI Agents running on Linux systems, capturing their LLM API calls, token consumption and process behavior.

Tokenless

Reduce the token consumption of the interaction between Agent and LLM from two dimensions: context compression and command filtering. Automatically intervenes through plug-ins and Hook mechanisms, supporting multiple Agent frameworks such as cosh, OpenClaw, Hermes, Claude Code, Codex, Qoder, and Qwen Code.

AgentMemory

The file-form Agent memory MCP server provides persistent, searchable, and sandbox-protected memory space for AI Agents. Through file system semantic reading and writing memory, combined with BM25/vector hybrid retrieval and automatic capture and recall mechanisms, cross-session context continuation is achieved.

ws-ckpt

AI Agent workspace snapshot and rollback tool allows users to manually create snapshots before key operations or enable automatic snapshots at the end of each round of Q&A. It supports one-click rollback to any historical state to ensure the rollback of the execution process.

SkillFS

Agent Skill's on-demand mounting file system is based on FUSE and only exposes the currently required Skill subset to the Agent. The remaining Skills are discovered on demand. SKILL.md is compiled on-the-fly according to the target release when reading, and the Skill can be hidden or rolled back to a trusted snapshot based on security decisions.

Basic system layer

Alinux4

Compatible with all capabilities of Alinux4 (kernel optimization, cloud native support, etc.)

Scope of application

ANOLISA application scope description:

  • Applicable to multiple instance specification families, including elastic bare metal servers. For more information, seeInstance family overview

    • Only supports X86 CPU architecture

    • Supported instance memory recommended >= 2GB

  • Suitable for various Agent scenario workloads, including OpenClaw,qwenpaw、Claude Code and other mainstream agent frameworks

cost

ANOLISA is a free operating system image, but when using the image, you need to pay for other resources, such as large model calls, vCPU, memory, storage, public network bandwidth, snapshots, etc.

Stability and compatibility

ANOLISA is built on the base system layer of Alibaba Cloud Linux 4 Standard Edition, which shares the same alnx4 kernel. Agentic Edition adds AI Agent-related components (including cosh, AgentSecCore, AgentSight, OS Skills, etc.) on this basis, without affecting the stability of the original system functions.

Standard Linux operations (such as yum/dnf package management,systemctl service management,bash shell, etc.) on the Agentic Edition behave the same as the standard version, ensuring backward compatibility, and existing operation and maintenance scripts and usage habits can be continued.

ANOLISA has built-in diagnostic tools that can be anolisa doctor Diagnose component problems,anolisa status View component health status; AgentSight provides eBPF-based AI Agent observability to help troubleshoot common Linux performance and stability issues.

Core advantages

  • Ultimate Token Economy
    Encapsulate complex OS expert knowledge into standardized Skills, significantly reducing the token overhead of execution environment understanding and trial-and-error exploration, and achieving a zero-delay closed loop from intention to execution.

  • Natural language redefines human-computer interaction
    For the first time, cosh is used as the default interaction portal. Users can drive the operating system to complete daily operation and maintenance operations such as environment deployment and tool installation through natural language. They say goodbye to complex command line memory and bring about fundamental changes in operation methods.

  • Skill Full-link security encryption to build an endogenous security line of defense
    Implement digital signature and encryption protection for each Skill, enforce identity authentication and integrity verification before calling, and combine with hardware-level security sandbox to isolate abnormal behaviors to ensure that the Agent runs safely in a controlled, auditable, and minimally privileged environment from the OS kernel level.

Introduction to core components

Alibaba Cloud Linux 4 Agentic Edition(ANOLISA)Contains the following core components:cosh, AgentSecCore, AgentSight, OS Skills, Tokenless, ws-ckpt, AgentMemory, all are currently open source, open source linkhttps://github.com/alibaba/anolisa

Cosh

cosh is the default interactive shell of Alibaba Cloud Linux 4 Agentic Edition (ANOLISA), replacing bash as the first entry after system login.

The core design concept of cosh is "native Shell host + Agent enhancement". It directly hosts a real bash or zsh session. Shell commands are executed according to native semantics without prefixes and no need to fall back to an independent bash environment. When troubleshooting or processing larger tasks, the user directly describes the intention in Chinese or English, and the Agent carries the nearest terminal context to take over the execution; the slash command at the beginning of the line is used to control the session itself. The three types of input are automatically diverted at the same prompt, and there is no need to switch environments during the whole process.

On the basis of retaining complete bash/zsh compatibility, cosh adds capabilities such as natural language understanding, Skill calling, MCP tool integration, and multi-level approval control. It further consolidates system operation and maintenance operations into a cross-distribution structured command interface cosh-cli, and opens the Agent runtime into an interfaceless integration interface cosh-core. cosh abstracts complex system-level capabilities into natural language interaction and integrates OS Skills instructions, which lowers the threshold for using the operating system and enables both human users and Agent agents to drive the operating system to complete tasks in a simple way.

cosh mainly provides the following capabilities:

ability

illustrate

Native shell experience

Directly hosted bash/zsh sessions, interactive programs, pipes, redirects, job control, user profiles, and Ctrl+C all work with native semantics

natural language tasks

Use Chinese or English to describe the troubleshooting or operation and maintenance goals. The Agent automatically carries the latest terminal evidence for execution and returns the results in a streaming manner in the terminal.

proactive analysis

When a command fails or diagnostic output is generated, it evaluates whether it is worthwhile to intervene and gives suggestions for the next step. It supports smart, auto, and manual gears.

Multi-level approval

Before calling the tool, press the recommend, auto, or trust modes to determine automatic execution or display the approval card, and force manual confirmation for unrecoverable operations such as restarting and shutting down the machine.

Skills and MCP

Load skills according to the four priority levels of workspace, user, extension and system, and access external tools provided by MCP service

session resume

Sessions are isolated and persisted by workspace, supporting listing, recovery, and compression to facilitate long-term troubleshooting.

Structured OS operations

cosh-cli provides software packages, system services, workspace snapshots and security audit operations with a unified JSON contract, shielding distribution differences

No interface integration

cosh-core provides Agent runtime via JSONL protocol for integration with other front-ends and automated processes.

OS Skills

OS Skills is an operating system user manual written by ANOLISA for AI Agent.

Traditional operating system documentation is geared toward human users and relies on natural language descriptions, screenshot examples, and underlying industry consensus. When the Agent reads this type of document, it needs to consume a large amount of Tokens to understand it. OS Skills instructions reorganize operating system knowledge into a structured format that Agent can directly understand and execute - SKILL. Agent no longer needs to "read the document and then operate", but "can do it as soon as it is read".

The OS Skills manual covers two major areas:

Manual area

Corresponding knowledge domain

Cover content

system-admin

System management

User and permission management, system service management, kernel upgrade and other basic system management operations

security

System security

System security baseline inspection, vulnerability scanning and repair, etc.

system-ops

System operation and maintenance

Provides diagnostic capabilities for common Linux performance and stability issues

After receiving the user's intention, the Agent automatically matches the corresponding Skill and executes it without manually specifying the calling path.

AgentSecCore

AgentSecCore is an operating system-level security kernel for the AI ​​Agent running platform. In the context of AI Agents gradually gaining operating system-level execution capabilities (including file reading and writing, network access, process management, etc.), traditional application security boundaries are no longer applicable. AgentSecCore builds an in-depth defense system for Agents from the OS level to ensure that Agents can run safely in a controlled, auditable, and minimally privileged environment.

AgentSecCore has built a three-layer defense system in depth around the two pillars of "intent security" and "system-level security" - even if the previous layer is breached, subsequent layers can still contain it. The architecture from bottom to top is:

Hierarchy

Protective ability

Technical implementation

First layer: draw boundaries before execution (prevention)

Prompt Scanner

Code Scanner

Skill Ledger

Tip injection and jailbreak detection engine (three-level progression of rules + ML + vector retrieval)

Security interceptor before code execution (28 detection rules, supports Shell/Python)

Skill integrity tamper-proof engine (snapshot signature + append-only version chain + four-stage security scan)

The second layer: sensing (detection) during execution

Safe and observable

Covering the three domains of sandbox isolation, system reinforcement, and asset integrity, structured security events are persisted, and security summary reports are generated on demand.

The third layer: the bottom layer is used as a cover (containment)

Security baseline inspection

OS-level isolation and monitoring

Automatically scan the OS-level security hardening rule base to detect damage caused by agents to the system's safety level, and generate deviation reports and repair suggestions.

Relying on Linux kernel security primitives (Namespace/Cgroup/seccomp/Capability), it provides process-level sandbox isolation, system call monitoring and interception, and fine-grained permission control.

AgentSight

AgentSight is an operating system-level observable component for the AI ​​Agent running platform. It solves the problem of Token consumption during Agent running far exceeding expectations and users lacking perception and traceability methods. It realizes fine-grained data collection and correlation analysis of the entire Agent operation link without intruding business logic.

AgentSight mainly provides the following three capabilities:

  • Token consumption analysis: Comprehensive measurement and attribution of Token consumption during Agent operation. Supports flexible query by time period or the last N hours, supports splitting consumption sources by multiple dimensions such as agents, tasks, roles, etc., and the analysis granularity can be accurate to a single LLM call.

  • behavioral audit: Full-link recording of Agent’s LLM calls and process execution behaviors. It completely retains metadata such as provider and model version of each call, synchronously captures process command line parameters, and supports filtering and visual summary statistics by time, session and other dimensions.

  • Dashboard visualization:Provides a web visual interface that supports direct access through a local browser after remote deployment. It can view token consumption trends in real time, monitor Agent process status, and provide abnormal restart capabilities. It also supports layer-by-layer in-depth viewing of the complete trace link of each session, including user input, model prompt words, inference process, and token consumption distribution at each step.

ws-ckpt

ws-ckpt is ANOLISA's file-level snapshot and rollback tool (AI Agent Workspace Checkpoint) for AI Agent workspace.

AI Agent will make a large number of modifications to the workspace files when performing tasks. Once the operation is made incorrectly or the results are not as expected, users often face difficulties in recovering. The ws-ckpt snapshot mechanism provides lightweight snapshot management capabilities for the workspace. Users can manually create snapshots before key operations, or enable automatic snapshots at the end of each round of Q&A. When rollback is needed, restore to any historical state with one click, making Agent operations reversible and traceable.

The core design concept of ws-ckpt is to "insure the Agent's work". Users can manually create snapshots through natural language or CLI before performing dangerous operations, or enable automatic snapshots at the end of each round of Q&A when performing frequent file modification tasks. The system automatically completes initialization when a snapshot is created for the first time, without additional configuration.

ws-ckpt mainly provides the following capabilities:

ability

illustrate

Manual snapshot

Users manually create workspace snapshots through natural language or CLI commands before critical operations

Automatic snapshot

When users perform frequent file modification tasks, turn on the automatic snapshot switch at the end of each round of Q&A (currently OpenCalw and Hermes are supported)

One-click rollback

Supports rolling back to any historical snapshot and restoring the complete state of workspace files to a specified point in time.

Snapshot management

Provides snapshot list viewing and deletion capabilities, and supports user-defined snapshot identification and description

dual-mode interaction

Supports both natural language interaction (conversation through Agent) and CLI command operation modes

Tokenless

Tokenless is the token optimization component of ANOLISA, which reduces the token consumption of the interaction between Agent and LLM from two dimensions: context compression and command filtering.

As the tasks undertaken by Agents become increasingly complex, the expansion of tool definitions, the redundancy of structured responses, and the noise of command output will quickly fill up the context window, which not only increases the cost of reasoning, but also squeezes out the space for communicating effective information. Tokenless

Build an intelligent optimization pipeline between Agent and LLM: at the front end, the description information defined by the tool is automatically streamlined, and low-value fields in the response are identified and filtered; at the middle stage, structured data is compactly encoded to further compress the volume; at the back end, interference content in the command execution output is intelligently filtered. The three work together to significantly reduce token overhead without changing the semantics of Agent behavior.

Tokenless is designed to allow Agents to use fewer Tokens to complete the same task. The entire optimization process is automatically intervened through plug-ins and Hook mechanisms, and is completely transparent to the upstream Agent framework without modifying the business code. All compression effects are quantitatively recorded, providing data support for evaluating optimization benefits.

Tokenless supports seven Agent frameworks: cosh, OpenClaw, Hermes Agent, Claude Code, Codex, Qoder CLI, and Qwen Code. Among them, cosh is integrated by default and takes effect automatically after rpm installation without additional configuration. The other frameworks complete plug-in registration with one click through scripts/install.sh in each adapter directory.

Tokenless mainly provides the following capabilities:

ability

illustrate

Context compression

Streamline Function Calling tool definitions, filter interference information in CLI command responses, and compactly encode and compress structured data.

Statistics tracking

Automatically record comparisons before and after compression, and summarize savings by type

Transparent integration

Automatic intervention through plug-ins and Hooks, zero intrusion into the Agent framework

AgentMemory

Agent-Memory is ANOLISA's file-form memory MCP server, which provides AI Agents with persistent, searchable, and sandbox-protected memory space.

Agents face the problem of memory fragmentation when performing cross-session tasks: each new conversation starts from scratch, and previous analysis results, decision records, and user preferences cannot be reused. Agent-Memory uses the file system as the memory model and builds a standardized access pipeline between the Agent and the memory warehouse: on the storage side, the Agent reads and writes memory content like operating files, supporting namespace isolation and path sandboxing; on the retrieval side, it uses BM25 and dense vector mixed retrieval to recall relevant memory fragments according to semantics; on the governance side, it provides git version control and snapshot backup to ensure that the memory is traceable and rollable. The three work together to allow the Agent's memory to cross session boundaries and achieve context continuation.

Agent-Memory is designed to allow Agents to use fewer Tokens to complete cross-session tasks. The entire service exposes 37 standard tools through the MCP protocol, supports any stdio MCP client such as Claude Code, Cursor, and Continue, and is completely transparent to the upstream Agent framework without modifying the business code. The kernel-level security sandbox (openat2) protects the memory warehouse from path traversal or symbolic link escape, and prompt injection detection and escape packaging ensure that the injected LLM memory content is safe and controllable.

Agent-Memory mainly provides the following capabilities:

ability

illustrate

File form memory

Read and write memory based on file system semantics, support namespace isolation and path sandbox, and provide 11 file operation tools such as reading, writing, appending, editing, searching, and deleting.

Hybrid semantic search

BM25 + dense vector + RRF fusion retrieval, supports OpenAI and Ollama embedding provider, and is equipped with Chinese-friendly trigram word segmentation

Transparent integration

OpenClaw provides 37 standard tools through the MCP protocol. OpenClaw installs plug-ins with one click through scripts/install.sh, with zero intrusion into the Agent framework.