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

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.38.0.dev3-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.38.0.dev3-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.38.0.dev3-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.38.0.dev3-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.38.0.dev3-cp311-cp311-macosx_11_0_arm64.whl (420.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.38.0.dev3-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.38.0.dev3-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.38.0.dev3-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.38.0.dev3-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.38.0.dev3-cp310-cp310-macosx_11_0_arm64.whl (423.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.38.0.dev3-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.38.0.dev3-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.38.0.dev3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f34b213115d387f456060f4861d563d9f001edcffde9d1f442de8666a5b951f8
MD5 f2aa69390c14be2c296c7b955bdbd6f5
BLAKE2b-256 bafd04afdce05bc0cb07ff3916d8c34f61cfad7939fd29ae36a947d709dbe39e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5d074d6be0f437d654b6fc528c1676df82c998bfdc5048193b2525a8618634f7
MD5 170dcbdcadf1b0f328a0d40a1a498ec7
BLAKE2b-256 9c807e6d2955df0adf6966634ae80fa3015d6136e8b039f3e5580ca664afa456

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3af49e3fb4a75f9017ef580a3834ffde6cdf53f341fef84cec9d26ff5cdcd4b
MD5 b308888cd76e3ad24004cac1ecf7f63b
BLAKE2b-256 d6da90204b615d6cb337e046afa5ba207c4c944cbe12094c93325303a3ac952a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 40a9473937f8f874b8c249ae5df85bbefda663fa0f7ab9c5ad3b928af07ea752
MD5 63b1c7b9e240df8f92caece646c100f9
BLAKE2b-256 1e3437b73827a698461188a45e34b31bf8fdad46b0e9aa0b754a7c7b76461a47

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 321cc8f7944871046ac9426966348c10267dd2d8aabb4efc5e1eb5bbc95d67e2
MD5 2c7f91f2b5ff18f3dab613277a4905d3
BLAKE2b-256 12d200216a79127c3ba77807bb3acc7639d77b769df5aa10b8d5b043c115264e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bacdad1c0c50b8d95a1a1969a7f31e022bf7227b3ddf30e69469c4ba3022d641
MD5 1b0ca07a7bd288eece6140478b1e824f
BLAKE2b-256 54b1605658a279f80d8ef13a7dfca4dcffdac222e4d886bfd6728f00ff6f1d07

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ad96e57ff9a49b1b4f0a2871c5aaae6b3da7bd02ffadaf7229ba878006ef7531
MD5 0cc4c4d57e896be43014e76f26344e66
BLAKE2b-256 6894a4cbce179db425672afc39ed4c1cc48789174c067fd03d3fce1a0c291156

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8b374a284563ec6105a2583cc8584743340ce460d019496d7e46b70304889bba
MD5 d3c1b88d68df3ca9e6ba8f98c499465b
BLAKE2b-256 849483057f493e85ed890b7512dfd25599460858577f26d819d8c47f74141731

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 908d28f1c57adc71db79fd5ccb013ef7e98efb913b2695c09132a326b4e7209f
MD5 11ffb680af5943a7fdc740003107d79e
BLAKE2b-256 00179f1d04f3ca18ed6208a6eb419f3cbaab44f92607090053a9e2f314188678

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 56ca6d0e454093a19928193978e3027e441801ae04aeb990c5ef483624bcc41b
MD5 24e69b9dd05595d32b3ec16b75f1af2f
BLAKE2b-256 7d231d626dcb12e8cf6702f80ed4107bf6f73d6298b10bb5fe94f9903f8e4a67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d132df2a4052eb95d217f17c5013dc4a06f833ba2e9b617ea8cdb5edd0aaaa3
MD5 c50dd1e313cda5401d4b929040d92fb0
BLAKE2b-256 ad3e0b316fc372faf51bf22622ddf01101392b73cecf943268c6b90c28c0ea13

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 631f0cd8cc421da0eaf29907b54069ebf1b52f6d7a93a1f1e31449f40c5c55f4
MD5 61eda34d440e9015bc5e989f8c4b2d5b
BLAKE2b-256 9152bed9369d9da91d258998f04039614a36aabbef34c5375b3eb166095b3c2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15606557b18adb0cc316134e3898d003889f0ddaafb55e9e09d9787c92350e53
MD5 42528cf29e98a80a497fc8ccd24cd975
BLAKE2b-256 40867cc4920490377f03c254636bb927e31edc7a7f930e19a1732c6354114e8c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a7dc14f9866da6189385eca58c994fb575d9d1ee6c5b5c1a2fd7f6f880b9ef0d
MD5 053ef85e39a79b35a15e81896bfa01a6
BLAKE2b-256 c4c000cab97102b6c9fcffbb0946f7d956a690ed5997bf021d6548c07ae96b04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.38.0.dev3-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a6c4b038b6fc7d1f0cb7061781c8a2431e6603bdfdbccc055d1e25f3be3b8989
MD5 2a71c2ca264634742849c079e4a74710
BLAKE2b-256 7f544e2a2fc6f560c2148a247ef2b7967d783b1e3e0109608ca3ed1d8e14c9fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.38.0.dev3-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.38.0.dev3 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