Core

Composabl Core API Documentation

Overview

The Composabl Core API provides the fundamental building blocks for creating autonomous agents. It includes components for agents, skills, sensors, scenarios, perceptors, and the networking infrastructure for simulator communication.

License Management

from composabl_core.utils import license_util

# Validate license (done automatically)
is_valid, error, info = license_util.validate(license_key)

if not is_valid:
    print(f"License error: {error}")
else:
    print(f"License valid for: {info['organization']}")

Code Organization

# Recommended project structure
project/
├── agents/
│   ├── __init__.py
│   └── temperature_controller.py
├── skills/
│   ├── __init__.py
│   ├── teachers/
│   │   ├── maintain_temp.py
│   │   └── optimize_energy.py
│   └── controllers/
│       └── emergency_shutdown.py
├── perceptors/
│   ├── __init__.py
│   └── filters.py
└── scenarios/
    ├── __init__.py
    └── training_scenarios.py

Last updated