Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Amesa Inference

A lightweight inference package for running Amesa agents using ONNX models without Ray or PyTorch dependencies.

Overview

composabl_inference provides a standalone inference engine for running trained Amesa agents. It uses ONNX Runtime for model inference, making it suitable for deployment scenarios where you want to avoid heavy dependencies like Ray and PyTorch.

Features

  • ONNX-based inference: Uses ONNX Runtime for efficient model inference
  • No Ray or PyTorch dependencies: Lightweight package suitable for production deployment
  • Network management: Supports both local and remote objects (agents, perceptors, controllers)
  • Compatible API: Similar interface to Trainer.package() for easy migration

Installation

pip install amesa-inference

Usage

Basic Inference

from composabl_inference import InferenceEngine
from composabl_core import Agent

# Create inference engine (only license needed for license validation)
engine = InferenceEngine(license="your-license-key")

# Load agent
agent = Agent.load("path/to/agent")
await engine.load_agent(agent)

# Package agent for inference (similar to Trainer.package())
await engine.package()

# Run inference
observation = {...}  # Your observation from the simulator
action = engine.execute(observation)

With Remote Objects

The inference engine supports remote agents, perceptors, and controllers, just like the Trainer:

from composabl_inference import InferenceEngine

# Optional: provide custom config for NetworkMgr (e.g., for remote targets)
config = {
    "target": {
        "local": {
            "address": "localhost:1337",
        },
    },
}

engine = InferenceEngine(license="your-license-key", config=config)
await engine.load_agent("path/to/agent")
await engine.package()

# The agent processor will automatically handle remote objects
action = engine.execute(observation)

Cleanup

# Clean up resources
await engine.close()

Architecture

Components

  1. InferenceEngine: Main entry point for inference operations
  2. NetworkMgr: Manages network connections (non-Ray version)
  3. ONNXInferenceEngine: Handles ONNX model loading and inference
  4. ONNXAgentProcessor: Processes agents using ONNX models instead of PyTorch

Differences from Trainer

  • Uses ONNX Runtime instead of PyTorch for model inference
  • NetworkMgr is not a Ray actor (runs in the same process)
  • No Ray initialization required
  • Lighter weight, suitable for production deployment

Requirements

  • Python >= 3.10
  • composabl-core
  • composabl-api
  • onnxruntime
  • numpy

License

Proprietary and confidential - Copyright (C) Amesa, Inc

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

amesa_inference_dev-0.37.1.dev25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

amesa_inference_dev-0.37.1.dev25-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_11_0_arm64.whl (420.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_10_9_x86_64.whl (418.7 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_10_9_universal2.whl (836.7 kB view details)

Uploaded CPython 3.12macOS 10.9+ universal2 (ARM64, x86-64)

amesa_inference_dev-0.37.1.dev25-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

amesa_inference_dev-0.37.1.dev25-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_11_0_arm64.whl (420.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_10_9_x86_64.whl (421.1 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_10_9_universal2.whl (840.0 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

amesa_inference_dev-0.37.1.dev25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

amesa_inference_dev-0.37.1.dev25-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_11_0_arm64.whl (423.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_10_9_x86_64.whl (423.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_10_9_universal2.whl (845.1 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9455c0b95ffb1a95bf93db7c4701dd8c6bb6478f696a37fb3d3e2a40c6a7ca7a
MD5 d08db95c52582a4141ba7ec44d29677a
BLAKE2b-256 6e62298bc0e3496848be4394f12302873f169299666d3bd7ad3786293cf2d9b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dc253e00d6026c1be055bdc4a728c483a5f2e61ff06703cbf35961d9ffbd6c5a
MD5 46131b45fbfeef64ca63a9fc16300700
BLAKE2b-256 9793904cfa904d8f4e0c86704d39c1b3ae8aa44344c16c98aa5598f9088d1488

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c81e680899b1745cc164fead7104d8d4a111dd7ef7b6baa476e3c0e82426045
MD5 de31cf160f6b9a870122544df67eeb70
BLAKE2b-256 feae876b022ad775b07daa42496b3eaa59087b3c5e6e0b5edba63973c451d6cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7838a00b583ed4ec2a7b8b8781c2e23cf80372036ff18294796603da1449f60b
MD5 8cbcb4e45b7ecc5972cb010f5868772f
BLAKE2b-256 a34ddc4ce5445319e77c4c3836625aef151991a8ad58ea8e9db649a8bc5c842f

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_10_9_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d51c49ec65f72caa168902b06deb8b3883d9fcc75f391f731fa28df7bd5fbd98
MD5 30579769bfa9ca237f412d95fd0c6367
BLAKE2b-256 507b54304e5349b9dbd5ee00e0cca00f16c751b9fbc6e18cbc55907631864ae4

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp312-cp312-macosx_10_9_universal2.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ec3cafa669ae45d80df08fccc7e5d2a47e10f2be794a688cc5a7a84a91b9d80c
MD5 5f094b770a33c80ddb83b052a5744faa
BLAKE2b-256 2fffc5975716e3e4f9c9705dc403561f4765776cc8c307cbdd27a0a9e44a43fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 756fa8a6b5e2a3a0b6a993d4d51a267adf8472a214e08b9798bde2e5e54199c9
MD5 ff69754263224ea043044e87fb47e47b
BLAKE2b-256 f0c39f1c9b225f37470ac0bd0264ef955a6fd1958ec82bac3e8f78176748053e

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fbfba618c82450ce841833a8a9067389d788f50df10b768273c6c162b92d3e59
MD5 a547ea32d1c29f765cc6ebb60f7c6d7a
BLAKE2b-256 8e4e7af5f0e7344284703c084c8ff9b7242b809d290efbf8468bef4810429181

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 086042de54a397b59aa097dd5a24d7ce2993ea01c0d0a2fbc8f110f072fb4e22
MD5 f2f343b16c6a4befbd014855eb36a8b5
BLAKE2b-256 dde560fda51da7e63c559bbd457dd401c13b935faff8c8e735f71eb7bdedf734

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2b4888f0fa5013e993355faa5c2fe9dc06545f544a20606035002f701ecebc1a
MD5 96f2d1ff1ee5f09f7c4694a19c2ee445
BLAKE2b-256 549388225d64b4a5e34e80eab32368b369d4bb72fc9841a3aea3764593732089

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp311-cp311-macosx_10_9_universal2.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a073b2f7a04031171a3190f94dc20334b2623c5d974e9ab8ead9021f13a1369a
MD5 6f2a681fa6d12f5510dca6cc20417784
BLAKE2b-256 24eaf081b1f0e8ce4cea519a9ced94be35c192dd63444a7080a9a35597ff33e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 484922f88a84c4cb5b30f4bf35a8211afbb789cef35d3537643d2cb510e83150
MD5 684b476781bedcc1a95aea3b3033ce0b
BLAKE2b-256 67064717d856b8da7d58fbd19d7beb8212527e52a59eedbae068dabe080de3f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 100330f1ae906d35296309dadce060b7ebf65c43289e05979f48166f2f593b54
MD5 1deda64a029f910845105c86212d55ca
BLAKE2b-256 b2dd655ff09082731f0af4b764376099266f6de97d948813c82aee4e6ad99c7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e5e249395c69a5d308c3929d4922ba557ce49e448fe5a98d608d68a2b65e6b18
MD5 41380f01bc3a6782bb4aa854009f1b1e
BLAKE2b-256 56ea3dfa30fae310c6d4a0367c2f5e8f30d1d4e30abfe2766c7df09de48c10a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_10_9_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

File details

Details for the file amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e61cc2b3bd3115c805e5a4c3b14dc9f1767b8fba793310ccf782e9c7d58f03a1
MD5 2cc2d9af5bb823ad69a94387c3f2735d
BLAKE2b-256 04c3b6d968bdf703b59e7f8a60e51293f8b444d19b938f8ad5c9eefc9403f7ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev25-cp310-cp310-macosx_10_9_universal2.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

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

Release history Release notifications | RSS feed

This release

0.37.1.dev25 This release

15 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page