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.34.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.34.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.34.2.dev6-cp312-cp312-macosx_11_0_arm64.whl (414.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev6-cp312-cp312-macosx_10_9_x86_64.whl (416.4 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

amesa_inference_dev-0.34.2.dev6-cp312-cp312-macosx_10_9_universal2.whl (829.1 kB view details)

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

amesa_inference_dev-0.34.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.34.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.34.2.dev6-cp311-cp311-macosx_11_0_arm64.whl (419.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev6-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.34.2.dev6-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.34.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.34.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.34.2.dev6-cp310-cp310-macosx_11_0_arm64.whl (421.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev6-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.34.2.dev6-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.34.2.dev6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 766a03db16265651270357b38474d369bcc9a5c8ee33ab35e24b0c01f8151be7
MD5 0638ee0697bc91cd5b309cb4e6537c16
BLAKE2b-256 f460a12a0947eb43cc7379a052de0147e30bb739bb75f899c9dfbdd7f2115147

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e7329e0fdba2640de352e57de1510422c22c9028208f87da80fdb920802ba63e
MD5 b6d8046dc77bb98776a11786cb2445a3
BLAKE2b-256 7f1d235538d164dcf279c1f0317e9dcf68e39d514f0cec579d4a7c868820e9d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f6a95dbf6ff1f2a27440bc2a1f53181e076e106257e5bd9218fa6feb1212a021
MD5 881a5cb9a902cea647d60d8bec5aad81
BLAKE2b-256 fc4e5764f2d9e8c89ca4a716c43dd87a4227b5cd7af4c00f0fe4e2ae8f5b2eaa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 388e4aa95857d050b43ed0d73106c7571ce4bc1257755caf86c697b827650ebd
MD5 b846ef0047bc26a3043088c370fd16c0
BLAKE2b-256 c61d012f58f4572248e174a59512631a234675cfe2f53b1d78dfc078b168b15e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2576ed073d293ea4db8081738afe9d5c335e1285dd409b85edacd4ad34b6e057
MD5 bb6e0bb47b1985b715dace0c08a2008b
BLAKE2b-256 21835bedda556bedceb6870c68feb7055093175a80810eaa5ff1b49a807948d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d374b4630cda367959031d71c24afaf452cb38dd8de005f9ada6e99e2e485c07
MD5 07f96b1ac853ee11ec01a394303d265c
BLAKE2b-256 3bc167fc1b46c0f115d6d23e02124027e52f7a880aeed50aa227f0e62af59f1b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4c938d41376fe46be072dfe01d53603068f7ddb256169a28073facd263279317
MD5 7195ca1e3a15b87bc3b93b1852e86e0d
BLAKE2b-256 5f51bd5e5319fd8a5e29b343f6e09334081f75eb643f57d3b701027fe6a35183

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3a9bc5dbc70d27c1bc49f699e7630e1ade22b82ae7ba7b4b37c0910d1233837
MD5 9a54c70cd2c6c023a2eb47d37968ad2d
BLAKE2b-256 46c2e1240cc9bfb8134d0728959125314ca01479584c1a404e473620dff898c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4790dc31771b855bc87df1ff1483f421514b27aecc32757d85f65e890162e07c
MD5 681902ef86cf8154b28e410018cf27ba
BLAKE2b-256 86b523db16a0e633b0067ea6632ae3838c08422858b4274dfb39a00243f6685b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 23100f03970ba39e8f92b514a0432c28ae22ffb66faceab04415a0bcfc80184e
MD5 f8a95edaa7a4438738f80105873b0657
BLAKE2b-256 60a3d7caaeaf32c5734b4ddd63a7297f84adbd9c82f1947cc1ea4b9b8c87f020

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58d6f98122b825de75c4e781f398c9a595ce51894af520b7de0b096d4fbeeefc
MD5 5e2cbb5e6dd7b729f1cd2ace760c7904
BLAKE2b-256 8c6207526aa6f58f0486f16a6e8fb8c4582e4c60b0646ae0135ec7d4ab7cc629

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e26b910d68fadfa33f856fa1fa854f180a89535be5941067df4795bb9e186571
MD5 8118b066795d0b8afc10b6295fbd84bf
BLAKE2b-256 18b8945d3153a58ce81700412aadf73852e90a516854797cb100351c2ed2b0ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 736f08f9627357ca03a6baa4a247be3b6365a225b6208d54e1acb8cf2696ff1c
MD5 1679d508cd32fad42acf211c7a9bb7f1
BLAKE2b-256 43f4cc5c2e64c2681096c841b7dee718c534ec9a7ac20eac560c4592a10da6c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 09a8f7ba6913a649502f4b6f80839b9b125a928c9f1b8498eb079cf57b7d6a2d
MD5 f8e26bcb16efe020dd44473f55191456
BLAKE2b-256 d8dfb6dfe0928e0c97f38cbb58473fc3bfa4a78b0945f38ce29cbff9bdd864ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev6-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cb6e43d198fc543e5390cc533f8bbd37918d54f9c051df6b5d7a50b283f5d1ae
MD5 283adebfd8b4c23c6ca25531b450f20a
BLAKE2b-256 bc8c084f27c1636281c6fa9b76adb715c8ab5aea7a279330492941100ef8a85d

See more details on using hashes here.

Provenance

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