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.36.2.dev6-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.36.2.dev6-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.36.2.dev6-cp312-cp312-macosx_11_0_arm64.whl (420.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-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.36.2.dev6-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.36.2.dev6-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.36.2.dev6-cp311-cp311-macosx_11_0_arm64.whl (420.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-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.36.2.dev6-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.36.2.dev6-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.36.2.dev6-cp310-cp310-macosx_11_0_arm64.whl (423.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-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.36.2.dev6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f77c812a3c15f7429b8ccf4efdea7cf3b7777880409af120fb45c4b30a8b9638
MD5 5159784e6a028e87f1feadf0f9d63901
BLAKE2b-256 c173a94b59b324f09f76e3d1ba612c593df82da72d596f76a13aafb016e8a084

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e5c5fe8515e175aa04abb0178ade9654545a641f8f60d9c9445dda107047ddcb
MD5 f670a15618543d1bb6e9a88d005b5e1d
BLAKE2b-256 f6aa943ed8b36462dbf1748416a55f9bbd4267d337f11eea6b392109f108db00

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d5eb23307052b90e6ed02690d8d5f7c3653ba15414053866c779e806a769ec9
MD5 291412a523b0c746c420d8e70d6ff6ad
BLAKE2b-256 96f95d42c5df9cf41622c3cc3a4c7de7307e1c6e8709c88b6edbf348954838f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6fc041259ca19377a1188896c80ed2e42b5ef83b1d8efbb36cf4d19cfcf93ea2
MD5 ea03395f3bf4902cccfbd053cc3dafbc
BLAKE2b-256 09f0866fca28d3ac92b0971297c1e1d12053673f80b0eea27bd6da2d2b9ccb39

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c67c8a255c3ce309fc332369df66256a68c24cc72b76bbd8591b3e47bd4878ab
MD5 5d76fcc631e39a942b532b69a32a7843
BLAKE2b-256 991bbed76656303595546aa007464107fa9b884372f8fe203552816e366f1707

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b67ddc0f1746195aa31e46ddb1594f4802f099285c1cebdff5d2e744818050bb
MD5 8a3920586dde1a700e75f2375aea81f8
BLAKE2b-256 8daf4efbe5d8bf3b5d24baa785f8c66790e533734558c8c5b358f24eb784d5b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 331557b0262e692be4ef3e2291b7a48c582b5fa1ec297664539fc283d7748397
MD5 a60a54a02c6850570ec026d2b6b74bd9
BLAKE2b-256 4df8c77cd07e8ad8feb289baacf26c205c07795e7ffb80a16708c3b3a0c4a72e

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a688135585c9e9726d2a0465c4bdbc58f7a57c05667e10ca8920916aa856bd28
MD5 b490c2f577d53bff59c2ee4500fbcaa1
BLAKE2b-256 43731a5b47244ebe6210eb75458f8a552b80fc0824fb9d9f1898d3cecba4b333

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8ae88722927817b7cba409b694859b78869122d35e02750a56f515a342a81c67
MD5 43fb74d2a4a76c22a385a7ffeb75e621
BLAKE2b-256 f78628a22ab36c96cb7f5fb8eab91029fd4591d5744832f463b0992e54d61568

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 860b1889e0d616abc9e7c0de2833b01ff361d08f8408f30eab883134416aaf27
MD5 b2c3cd058ceffce6f784b992e505c2e8
BLAKE2b-256 80c7b627570ff43f5d5e3a8034d2d1022dd927c055fa8edcfff6175ed687bfd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b2d3bb1ba4b33f1dd7567985ae00a3a00ed9ed0c4ea6e81231c198910cc2b57
MD5 b20c043f983766a95b840dea9c65d6ea
BLAKE2b-256 45734ddae5afc57de13652d88a98fed1389d8ebe649c77968b53d83e16f04540

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 826eb55371b53ec917f22c0197dbf518f115e55f920a9dbbca7a29ae72fcfc43
MD5 1cb61f863cfd0f25ff834530896ff8e2
BLAKE2b-256 70d091bfa6ffafede1a84298147e13fac69a4715e16bbb61dfbc9f971160589b

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 49df497f553f7237ed6f597b88bafbe2e7d9c488aee8919400c5967bff2a5833
MD5 d7081140016243c80ebca2865d38ef03
BLAKE2b-256 eed3ee2d0370ed7d9ca3cf4adafbb0d753c4b0496934cc85471939e99a1f3e45

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d36b3a26ff30c0bb2382c700e9e2a8abac30a354e93f7370a5f0b3ada91b70e2
MD5 2c8cd5b1278851b72ef47ad88f7ccba7
BLAKE2b-256 1f15793d7583237811418fa8fc26cd61443e472d172a8a04c41a43fffd5033be

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev6-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 59dba961007463406921680bf8f351a02969cf391d693b5c65e5994570abb8c3
MD5 6adf1009f7016fe187e829dea9cf4233
BLAKE2b-256 cf1e2a8a3ac80ae570c5741196d1b3fd080a882a134a992922437693d3614bab

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev6-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.36.2.dev6 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