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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-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.dev22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e01ad9e8938824b0d7cc0e24f3c6b2156142f04e78e7b58333c8c7e538643b4
MD5 89e2cd5ba56210d39fdacb265a243095
BLAKE2b-256 af75ece3df9b732d209368ce52f6d0b92d17e43ff3c8546d3fc711b47cdca7d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 19d8cb9115f8635660bff7f38e03e2cc2927b709ade162d718fd9d4498522169
MD5 81dc3fbae8f2abf57ce04ae1beacf06f
BLAKE2b-256 27af7bc402e24e70378682e8d589fc653884d56cd7587a68d204856f25f1828e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd24e2f0b7b9db7fc869579b4f061fed8f349e45f6b72e04ab1afbb67d0add37
MD5 977909926a0a0c9fe7e4035fe998db3f
BLAKE2b-256 c130ef078d4a12a9b981c8a73bb0215b3f89bb593d55d9441fd187ba9d95b53c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ea21591fbb8890fa9a5e186a8d9d24ec908a4a8ba8ddcbaa44e4c974639e3a4c
MD5 974ad2b67180d562341984406f2bd117
BLAKE2b-256 938a3d47e47fd700d8df58bd6da043dd11c60633d44e4314f415829c2ebfd208

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b5aa1f8b1e42948a414dbb9e0c32ff3939accd95d2af14936eab06fb2120991e
MD5 287062e0f9554acccc2b0f5b5fd1adb7
BLAKE2b-256 be3e8cc39823c9ae89abf35e6b2662793de6d09edc9489311c7e5a80fb0925b2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8fa86b29f5f410e40ab7747ef0545afe8c5433ae9eea39ca2c0fbf16ea27c964
MD5 7a5be592dbb0acbebbf47db29bf6f9e3
BLAKE2b-256 43dc67f700e125b7ce7b7aa6b8960f7eaa171d470263423ef2b4cfbdc9158caf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3667028d9dc678445e04fe396c45b64d4dbb1f78d0801ff55124b9db1faa9fe5
MD5 13245a0b72142c7329591dc81884e85f
BLAKE2b-256 c5373b1b60b9fdc600bac4d6cd7d019b63c2c334bc4ea533e9af9348a920e652

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ddecaf2b4434f795e96d0d847dced9a097c2e2d94a3e092cbb27753697e2dfbb
MD5 b9f0fab114fbda44cb2013121430922d
BLAKE2b-256 35e708295effcb55b4b46f78382a640655fb042643a76ee4093c14ab7c57c278

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cb4fbcf4d8d2bf156fe14715dd86a2f21ba22f178ce91af79f74189137379a54
MD5 7f4f4caa2f17029a26c098ff2ca7c5ce
BLAKE2b-256 83af4b75bebb7b2c3d35b6f930c60fe024c3f9ea5d64faa4eb25b509526c6c44

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 923c741fa23f26f773e9b2e9428d0d14593cf9aa9313388eeb0e538bffb3ecec
MD5 047c4d099edfafa584a0921574914441
BLAKE2b-256 d28db6353006b1420703d917e9a681ec3532ae22b2d7e651f4a4a5d546958c8c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 56b68acc091ef69ac54b8696b38970a215c7a673d34075639f823839fe554fbb
MD5 a369b6a257f2441fccc211a637e5a8c0
BLAKE2b-256 5e6c13a71a36e5518422f5dd35a4ada52dc239013e7edf7a846548db449626e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a890b42723285e44347505630884ae0c078fc2b98a4250b3648b141d71537496
MD5 075672bbfa16cf1942b0059687a20bc5
BLAKE2b-256 95c79d0046832a3fef97942b9bab437179bcc8af9ad8beb639aad65c72386ec4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af662120436e13debc9f9dc09d6335f1ef3ce52daa3ab42eceb0cf9a13f42e1c
MD5 a9c97705fbe23420abee342986d1854a
BLAKE2b-256 4736a6842e81cf88768fe6bb494696ae8fe15c2e44c29ec7262a84110b5ca323

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 55cc5e1b34aa33b1ccefc9df49faf962646957c0cbc2187a177edbca45270efc
MD5 3abe7895de6ca81f50696e1d76f8ff59
BLAKE2b-256 9d0300251f0c2d22684ec39347723148f0d7a8073c4080539f236d80c0b6fcff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev22-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e2ecc96759fd8470fb97c56ff426f51c68805c87dff8d14973e13e0e205395b4
MD5 84d8b8ba186c1603b177d1601c97318e
BLAKE2b-256 786b03bd9fcb2dfa49859fed833c319defcc9fed34f93ddad0ce8c9596a7be2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev22-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.dev22 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