-
Notifications
You must be signed in to change notification settings - Fork 2
Project Structure
Dmitry Dimcha edited this page Jan 3, 2026
·
1 revision
EMBODIOS is organized into several key components that work together to create an AI-powered operating system.
embodios/
├── src/embodi/ # Main Python source code
│ ├── core/ # Core OS components
│ ├── builder/ # Container and image builders
│ ├── cli/ # Command-line interface
│ ├── runtime/ # Runtime environment
│ ├── models/ # Model management
│ └── installer/ # Bundle and ISO creation
├── kernel/ # Bare-metal kernel (C/Assembly)
├── docs/ # Documentation
├── models/ # Model storage
├── scripts/ # Utility scripts
└── examples/ # Example Modelfiles
The heart of EMBODIOS:
-
embodi_os.py- Main OS entry point -
kernel.py- Kernel operations -
runtime_kernel.py- Runtime management -
hal.py- Hardware Abstraction Layer -
inference.py- AI inference engine -
nl_processor.py- Natural language processing
Docker-like interface for EMBODIOS:
-
main.py- CLI entry point -
commands.py- Command implementations (build, run, bundle)
Container and image management:
-
builder.py- Image builder -
modelfile.py- Modelfile parser -
converter.py- Model format conversion
Runtime environment management:
-
runtime.py- Main runtime -
container.py- Container management -
image.py- Image handling
Deployment tools:
-
bundle/bundler.py- Bundle creator for bare-metal deployment -
iso/create_iso.py- ISO builder -
hardware/detect.py- Hardware detection
Bare-metal kernel in C/Assembly:
-
core/- Kernel core (console, panic, interrupts) -
mm/- Memory management (PMM, VMM, heap) -
ai/- AI inference engine -
arch/x86_64/- x86_64 architecture support -
include/- Header files
docs/
├── getting-started.md # Quick start guide
├── architecture.md # System architecture
├── modelfile-reference.md # Modelfile syntax
├── hardware.md # Hardware support
├── api.md # API reference
├── bare-metal-deployment.md # Deployment guide
└── performance-benchmarks.md # Performance data
models/
└── README.md # Model storage info
Models are stored here when downloaded or converted.
-
Python Development: Work in
src/embodi/ -
Build Image: Use CLI
embodi build -
Test: Use CLI
embodi run -
Deploy: Create ISO with
embodi bundle
-
setup.py- Package configuration -
requirements.txt- Python dependencies -
CONTRIBUTING.md- Contribution guidelines -
CHANGELOG.md- Version history -
README.md- Project overview
EMBODIOS follows a layered architecture:
- Hardware Layer: Direct hardware access via memory-mapped I/O
- HAL Layer: Unified interface for different hardware
- Kernel Layer: Core OS functionality
- AI Layer: Language model inference
- Application Layer: Natural language interface