Steven Antya Orvala Waskito

LLM Engineer, National University of Singapore

OTTER LLM OS

Github Link: https://github.com/stevenantya/LLM-OS-OTTER/

Paper Link: Dissertation

Overview

OTTER OS Architecture

OTTER LLM OS is a novel embedded operating system that leverages Large Language Models (LLMs) and retrieval-augmented generation (RAG) to enable prompt-driven, runtime i2 c sensor interface. OTTER OS integrates an intelligent LLM pipeline for datasheet parsing, a domain-specific intermediate language (OTTER Embedded Language or OEL), and a multithreaded execution engine (OTTER Engine) built on Mbed OS to dynamically instantiate sensor threads from natural language commands. The system supports plug-and-play functionality, multiple concurrent sensors, and reading of i2 c data in physical measurements, all without requiring manual code updates or recompilation. Experimental results show that OTTER OS achieves an 80.5% success rate in end-to-end sensor interfacing and 94.9% accuracy in context validation. OTTER OS’s modular architecture and runtime adaptability demonstrate a new paradigm in embedded sensor interfacing, bridging AI-driven reasoning with low-level hardware control to reduce development time, improve flexibility, and democratize sensor access for non-experts.

Features

OTTER LLM

OTTER LLM Process

Workflow

  1. User Input: Provide a natural language description of the sensor setup.
  2. LLM Processing: The model interprets and translates the input into OEL.
  3. OEL Execution: OTTER OS parses and executes OEL to configure sensors dynamically.
  4. Kernel Process Management: Manages multi-sensor I2C communication efficiently.
  5. Data Retrieval & Processing: Fetches, formats, and scales sensor data based on predefined rules.

Tested Hardware

Github Link

https://github.com/stevenantya/LLM-OS-OTTER/