Skip to main content

The Experimental AI Microkernel OS

Project description

FyodorOS

PyPI version Python 3.8+ License: MIT

███████╗██╗   ██╗ ██████╗ ██████╗  ██████╗ ██████╗
██╔════╝╚██╗ ██╔╝██╔═══██╗██╔══██╗██╔═══██╗██╔══██╗
█████╗   ╚████╔╝ ██║   ██║██║  ██║██║   ██║██████╔╝
██╔══╝    ╚██╔╝  ██║   ██║██║  ██║██║   ██║██╔══██╗
██║        ██║   ╚██████╔╝██████╔╝╚██████╔╝██║  ██║
╚═╝        ╚═╝    ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝
          The Experimental AI Microkernel

FyodorOS is a simulated operating system designed from the ground up for Autonomous AI Agents. Unlike traditional OSs designed for humans (GUI/CLI) or servers (API), FyodorOS exposes the entire system state as a Document Object Model (DOM), allowing Agents to "perceive" and interact with the kernel natively.

🚀 Vision

We believe that for AI Agents to be truly useful and safe, they need an environment built for them. FyodorOS provides:

  • Structured Observation: The OS state (Filesystem, Processes, Users) is a queryable DOM tree.
  • Cognitive Loop: Built-in ReAct (Reasoning + Acting) loop at the kernel level.
  • Safety Sandbox: A strict, rule-based verification layer that constraints Agent actions before execution.
  • Agent-Native Apps: Standard tools (browser, explorer, calc) that return structured JSON/DOM instead of plain text, minimizing token usage and parsing errors.
  • Cloud Integration (v0.5.0): Native Docker and Kubernetes support.
  • Long-Term Memory (v0.7.0): Persistent semantic storage allowing agents to learn and recall information.

📝 What's New

[0.7.1] - Virtual RootFS & Unified CLI

FyodorOS v0.7.1 introduces a standardized "Virtual RootFS" and a unified CLI.

  • Unified CLI: The fyodor command is now the single entry point.
  • Virtual RootFS: A strict directory structure rooted at ~/.fyodor/.
  • Enhanced Security: All file operations are confined to the virtual root with path traversal protections.

[0.7.0] - Persistent Memory & Performance

FyodorOS v0.7.0 introduces a major capability for Autonomous Agents: Memory.

  • Semantic Storage: Agents can now store and recall information using sys_memory_* syscalls, backed by ChromaDB.
  • Auto-Recall: The Agent loop automatically searches for relevant past memories before starting a new task, enabling context-aware execution.
  • Persistence: Memory state is preserved in ~/.fyodor/var/memory across system reboots.
  • Optimization: Significant performance improvements in filesystem path resolution (sys_ls).

✨ Key Features

🧠 Kernel-Level Agent

The OS integrates an LLM-powered agent directly into the shell.

  • Command: fyodor agent "Research the latest news on AI"
  • Mechanism: The agent perceives the system via SystemDOM, creates a To-Do list, and executes actions in a sandboxed loop.

💾 Persistent Memory

The Agent now remembers.

  • Semantic Recall: Uses vector embeddings (ChromaDB) to find relevant past interactions.
  • Auto-Injection: Relevant context is automatically injected into the Agent's prompt.
  • Commands: sys_memory_store, sys_memory_search, sys_memory_delete.

🛡️ Safety Sandbox (Verified v0.6.0)

Every action taken by the Agent is intercepted by the C++ reinforced AgentSandbox.

  • Virtual Filesystem: The agent is jailed in ~/.fyodor/sandbox. All paths are virtualized.
  • Path Traversal Protection: C++ layer prevents escaping the sandbox.
  • App Whitelisting: Only authorized "Agent Apps" can be executed.

📦 Installation & Usage

  1. Clone the Repository

    git clone https://github.com/Kiy-K/FyodorOS.git
    cd fyodoros
    
  2. Install Package You can install FyodorOS as a Python package.

    Via pip (Recommended):

    pip install .
    playwright install chromium
    

    Via Conda:

    conda env create -f environment.yml
    conda activate fyodoros
    playwright install chromium
    
  3. Launch the OS

    First run:

    fyodor init
    

    To start:

    fyodor start
    

    Run Agent Task

    fyodor agent "Create a file named hello.txt in /home"
    

🤝 Contributing

FyodorOS is an experimental sandbox. We welcome contributions to:

  • Expand the standard library of Agent Apps.
  • Improve the DOM representation of system state.
  • Implement more complex Sandbox rules.

Built for the future of Autonomous Computing.

Star History

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fyodoros-0.7.1.tar.gz (68.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fyodoros-0.7.1-py3-none-any.whl (81.0 kB view details)

Uploaded Python 3

File details

Details for the file fyodoros-0.7.1.tar.gz.

File metadata

  • Download URL: fyodoros-0.7.1.tar.gz
  • Upload date:
  • Size: 68.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fyodoros-0.7.1.tar.gz
Algorithm Hash digest
SHA256 0541a198e3287b917222924354afcc9b1e5eb04990ed02e04ce35a2b809ca8c5
MD5 8de73fde28060f12b54204a7fa7e363d
BLAKE2b-256 beb409e76753aa8e7a0b4e1b39ce86e3e22f20d43d23ca711703e0f3708b4952

See more details on using hashes here.

Provenance

The following attestation bundles were made for fyodoros-0.7.1.tar.gz:

Publisher: python-publish.yml on Kiy-K/FyodorOS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fyodoros-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: fyodoros-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 81.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fyodoros-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b47e0c57e595975c6cc9e89fae22f2c8f7c1b0fe5d78a2cc03939df98ee1236
MD5 a5bcdf301e42b65b3b495ab51071ded9
BLAKE2b-256 e0df1d5f84b21fcc8d44663e807b319d7022f89ff0c0e9730692ea013978f781

See more details on using hashes here.

Provenance

The following attestation bundles were made for fyodoros-0.7.1-py3-none-any.whl:

Publisher: python-publish.yml on Kiy-K/FyodorOS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page