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.35.1.dev19-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.35.1.dev19-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.35.1.dev19-cp312-cp312-macosx_11_0_arm64.whl (418.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.35.1.dev19-cp312-cp312-macosx_10_9_x86_64.whl (416.6 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

amesa_inference_dev-0.35.1.dev19-cp312-cp312-macosx_10_9_universal2.whl (832.9 kB view details)

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

amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-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.35.1.dev19-cp311-cp311-macosx_11_0_arm64.whl (419.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.35.1.dev19-cp311-cp311-macosx_10_9_x86_64.whl (419.0 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

amesa_inference_dev-0.35.1.dev19-cp311-cp311-macosx_10_9_universal2.whl (835.8 kB view details)

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

amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-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.35.1.dev19-cp310-cp310-macosx_11_0_arm64.whl (421.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.35.1.dev19-cp310-cp310-macosx_10_9_x86_64.whl (421.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

amesa_inference_dev-0.35.1.dev19-cp310-cp310-macosx_10_9_universal2.whl (840.8 kB view details)

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

File details

Details for the file amesa_inference_dev-0.35.1.dev19-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 014e1e31a3850d0898d6708d13352d68d0c95cd11dd53c60999ac5a33c4e4bed
MD5 8cc1a4873dd749e62963507ccb2ee070
BLAKE2b-256 e5474563899577e9c5d2640e0c6c3d69a9cbc6408f654cdf4ca20637fd38e07a

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cd37a6d5b6d1cd2ba4609526c0de5de4534916e68262856074ae90765dfb80b7
MD5 cb411d5575a6972062210c69c1ca1430
BLAKE2b-256 52cd8e2443592506a1397f7b8a4ef0bbad8994c5fa1d8cde3c5075b9a03dc763

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c9388a614ac50d3ebbc63c9598434e4d91027b252d5fa1ac326a23ec72a7f0ee
MD5 f29efe3a09fcb9b2d95d000f3a4b7841
BLAKE2b-256 3fb797bd714bcb38af13a27025d59ab440816ae5e6bc4c1476dbf55d847c7314

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d76b94f356199a48ed672ad4e692fe9370f2f163fecf53e71a00b509179653af
MD5 0bcdb97fe78dc0b3e88dc20e2fcab50e
BLAKE2b-256 c89f13a4ed0ba2f33d863fe2c1ef7878b7e08bdb338c25f41fd9e243dada13b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 93fb24189c3d35443bbcbeba413585ba14479e94fac9dcaf288936d8169b6822
MD5 a869fc5f949f92841aed32f564755434
BLAKE2b-256 281d5dce5b564d5607c35f4aca579e6919d402dcf315f9d31a7efdbd738c81e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 37f38ef6cb720bb63155b1779c7895b9049ba4cb7568c4367aef44d2ae37928c
MD5 c9527768f3bcadd09971ba3354bfd55e
BLAKE2b-256 a35bee2a02205ce5ad4f20b31df001627ca25aec1d245786bd0e41a449a5aaab

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 971239098db2cde9c2c4405886920416738d119711aae65aee13eb5468de228e
MD5 6f38e01a5bac70cdfc32ad315cd39438
BLAKE2b-256 d8e27f5b461dd06d9529d8e8bf3280c448c346ea066a4468ca607b716cf0bb4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e5640f4ce0a8c36308667002dd8ce3280690763237d0dd6188c8f4f86da50994
MD5 d963b9050262a1e53b8c84e863abe71b
BLAKE2b-256 4ebb7678ceb9fb28ca534450bda13a61a79a3839f7cb2818f7f9625a198255f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 715e85074c6eacdc91fd35c7e971d81190490f35f16361b12da3c7f3ff6ae789
MD5 341ff522a2c12512a558eda612065da0
BLAKE2b-256 6c85b288c7aa7ad6be84f2e9579cfe4e899abef074e56cf11df0d3e16a7e1608

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1bad3c118dab092cf8bbc65b35d8112bd255c089de93e54fd705e8a93ecea795
MD5 9fdf75b41e2897318015e4a84dc240c9
BLAKE2b-256 a156464e401c9697e764bd7921b9ea39d36abf4def31b916e60af5a0b9adf342

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 99875aee6f084eaf8e560caa582a273ae74a16bb1355c11a826425d428c0be09
MD5 7b5834053ff9d46b5f25168467ba16de
BLAKE2b-256 4090bb782438dcb712d95540a87c10653c84acd86baff37a27244d79da4c2912

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bf3bad18d73a77932c4d86c80d4a4c9d900cca6d96e27ba7e022bd26df6cd589
MD5 1ff5dfa83767b480a49b9f92dc6f0044
BLAKE2b-256 0696d0a4f980bb2ed959bfd02979c65b4dd045bed146419b5c0f64e0b529254e

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d810a8e7513525f2e557c97d066c6a89fecc4fab41df7b7ce55c9917e782248
MD5 eaabba07f507425c7b223cbb12ccf2a9
BLAKE2b-256 cb59822e4dbe73a06539e738895d9d3053d9b6da461cc8a11e467cff7e6431ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f37795a9767432532ef967a2f5c9ac05bd97ebad54bf54c717bd3b15e613372c
MD5 40cc20a19a5a11bbe1bb97265b44a2fb
BLAKE2b-256 aaa062f1c1ac2f7589efdb78252f5bb500d19692a542207857d50cb3ea31e43e

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev19-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 34be6ca398cc55e17ef15ef6519e305064844fce70fbf8e70888ebc662af6adf
MD5 09e0769b4cd43d4152d9115b49c55e01
BLAKE2b-256 b13f92696d5b951d858c6bb318b1ab95707b55efc7acd36ff9318f0382756843

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev19-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.35.1.dev19 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