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

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.37.0.dev4-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.0.dev4-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.0.dev4-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.0.dev4-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.0.dev4-cp311-cp311-macosx_11_0_arm64.whl (420.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.37.0.dev4-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.0.dev4-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.0.dev4-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.0.dev4-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.0.dev4-cp310-cp310-macosx_11_0_arm64.whl (423.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.37.0.dev4-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.0.dev4-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.0.dev4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5e5e6ea69e4d24f9e6345427ee200f6695c2b201a542b68920f8c7c60c0dc89
MD5 6c605050f7f5f93ed706bc848804d73f
BLAKE2b-256 55d79266baddfa59054c86154e0dbccdbfe8752cf766bc750b2795d2f5f0d5ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d121b644f22d65611924efae81cf1c5a47ce079a7c61cf021efe633b0de1c72e
MD5 b5423c44716fcaa22ba44483393f98e8
BLAKE2b-256 22d7ca3685f32358bc1d3d9999321c7eade8e781d7dbdc3429411cf1b1e6adb1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1f886d3667266dd5d52e17bcd794ac72fffd4939dcd263158ad4eaf695cbefdc
MD5 47dfdd49b2c0fc0ece685bd6e34156f2
BLAKE2b-256 106b699f22e58d0baad6320da78e9584626cfc8c979b267bc8da40881af989f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3c110d87fb9cdf131072731ee5ede5c48cf4e5ad7bfc65241c251d353449f439
MD5 d178f846e91828fbb37219bf13996111
BLAKE2b-256 944c692eb5f6b9860e268f17ef7f9cda9c3ef03d592357f581d7a7df354be7a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 164c4b203a9a6477dcdf5a5215ffe1b0f8d3e233c03c5f9481824c1a20170171
MD5 6078f62c89512c7d9194227b8fbb0657
BLAKE2b-256 511c4e7f5a91f3d38f96603fd52ecd1c344fbb64c429f362293a5ac33211ba66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 783c4165f3a47cf6f11733cc8ee53ded8d48c991f3d5b8875accc6dbb7807f5d
MD5 a1b54f7706326b47c48de22c1442549d
BLAKE2b-256 feec21292b89519b22c2eba9c2e55a9d7d9f59d9277777ed04caa8cf58d18210

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b02de51446e8e41c903cd1e533c65ce95b959ca2c3e0f822d528fa1fc9e5a5e0
MD5 1813a6827b31b557cf34b5295dbb130e
BLAKE2b-256 a07c22fff7923b45eebe5ffcf8f6d989020df99e802510fc855e0feb05113947

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e88907091ffd35dd87084478267886b3fa0f651e6f3e6b49d13ed6a2aa179f79
MD5 749026e3a7b974adf8049475b3d66a17
BLAKE2b-256 b00b19aea516437b29d1957533c727cde78a98ac060390225f4c7b14b54ee6ce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e0a3d1e40c53b298d5ccb3d54ee4a44375737afe6d8c4b55fb65aa0fbff2d74a
MD5 d1653df44c150deb3ada4147ce71965b
BLAKE2b-256 ba48becae3f49d5e3de8b46148706362e2830ba4f064dec823ba0b4b41e0fff9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 70e0cb674c4d1e9a91999b461cbc082d3def1db56d867e98f21cb397ccd4b270
MD5 2703291bf6a672088dd86aa8ab503926
BLAKE2b-256 0f5e655d80af3a7ff21bd03dbc6c7478a6c61e2eee132c72ac91b3b007f8db3f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a821df8a9ea0aa92d18da6b93bcf66e7c61e43cd4693b3d3263769b57e515748
MD5 1339ffed7afd8823563728069d3bd6f9
BLAKE2b-256 2e8d0129977d7ef18c12682d5cff57d60b0518f1facfc265300693fb854498a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ef01d7843a51171fadb24a65378bb65d72301ce08d36e961e4ed904edab40e51
MD5 e985271a6317d259eec000917827be60
BLAKE2b-256 0d987391641a43c913af75697d39bc79f44bdbbf4102cf6990038fcf47686645

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b19fc6b71c91251560334da694d17c725f65c036516f57036186b31f5433306
MD5 4aad4f818599888d2f50e4fae748fe53
BLAKE2b-256 319bd1fd625cd34b1251ab1155e9fede3df32ea3527dd770697c078c9cdd6fa4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 20ef8d9813ecfbc5cd9e22562ccafdb2694edc051f6a826198d474380cb31368
MD5 48190c2d94abcdb651019203b6b31f39
BLAKE2b-256 a7c0ec68f5e84b819052794304fbe3f2596f182aaa8c450b760e265add288925

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev4-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 374a8af067217b38f37c2ea09c340f2a7f378a4fa7db5d83a2e996f77aeced20
MD5 d8cab7fc752b42f12af0200386ad9207
BLAKE2b-256 9305b1a629f289fdc564f1492dad138cdab506474a64f19240527b4130fac014

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.0.dev4-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.0.dev4 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