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.dev1-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.dev1-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.dev1-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.dev1-cp312-cp312-macosx_10_9_x86_64.whl (416.5 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

amesa_inference_dev-0.35.1.dev1-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.dev1-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.dev1-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.dev1-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.dev1-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.dev1-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.dev1-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.dev1-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.dev1-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.dev1-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.dev1-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.dev1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90fec77e79749f39435db555ac190dfd99ae49e6502e382607b46855aeb67638
MD5 96db564bf95f2001a42ee0fe55db5c6c
BLAKE2b-256 2470e6a73b6c129e3f32d77133271b733856932e99c875e5cc5f99d3eeae3278

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ebaa357b441e401903f95a336af16384cee57fd91beec82f7ba26cbda09a2a25
MD5 1bfac18e67f5f5f5d32b7f2c763862b3
BLAKE2b-256 56ce251f54eedeb51032bf70ad08e8e4a7652970a06c565432fa99a5c399acd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 66a3986296aa2fcf82f2cd01c13c000656e705227cd55c52b0186ce7086aa182
MD5 b63478bbab25d7540d5ae54914d2dfe9
BLAKE2b-256 411eb8378085f1a88b9df17de01bbec88245bab391e84b2024e36c151e09c9fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 95135991b811579275f0cf447f5fb13f763c1c4bb9a0f57ceb7f258710405f7e
MD5 5db2ed656ca4458cd9a0ffebde267d2c
BLAKE2b-256 a462d19a4ef7b50d5645ffe29c25cf70ddd29b632e87246028fe887f6aa25166

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 76a662283e5e763569b2bf630cd48900bb4954aaa4ed13eb4f78b0b4321bed7c
MD5 16251c7fac6f83b3dc5fd60c427ac3ad
BLAKE2b-256 a6f1fa1016c7e8cce7a49bd26a6a3bbb43292ac83bb0a326b2040d08e8320fc7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6deb47856d264a32d331df189ae0e38035ae89916240f9c0c2ada9197bca92dd
MD5 3bdf9695b8aaecbb8e1c08a59c4f9a61
BLAKE2b-256 61186f5a4ab96525e59c40275411dd654f2e74834bba89118bd90b6e10843a1f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4507a7db125b1437f9925870e3ebb18f55ec1fa80f0fdc80508be4f87e39cb93
MD5 235f50379ac7e154da120289c6c41eba
BLAKE2b-256 13408e26585118870aa02c2d998bfd9ac0f48dc679676d87c1f2a1f306ccf6ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 66e411b5d0f7e5471d122e8dc02889d6772a3689a498bd9dceb9cabe8678126d
MD5 59af79e31114ca8e3c04e00e2db4cee0
BLAKE2b-256 cb4b77eecb50bfabdaba6d38b2d7b6ca34c6ae6f9b79ddd4ca31c854f4769f7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 99e2f1165b0f95420215880327823a5bc83a2e104d0cc70d33ca19e3b09be9fd
MD5 47aacedcf03f61f3415f20484603c9ab
BLAKE2b-256 5c780fa9a05fafc6d094691c575e4b5736a1be1cad03d4107992e23e4c4cd21c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9f5af099b0a934a7de8d13fae68d0eda7477a2c46c0dee77936eee84110aa4d7
MD5 3ff2ab6c11bcf31ab4bfbb46bbe9ab96
BLAKE2b-256 fc522b0b2bcdf25d74111a5030ad93e2ebbf992f0d6502a0f2dcfe4403a2dce0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49b7d98df455cae457236643ee8beeaae8411ff8daef7d02401e4e338dc33d27
MD5 74e63226efb0ac9aa46afe9e279c8fbe
BLAKE2b-256 e8745bd17ff20e02b80b417e2b4bd9a6ffd53adc8b2fe5d3435efa088e88c9a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 390c4e39a281e54015f98bfa77b1d53737163afabd4af089f44a2580805a8c91
MD5 8472dc46b1d9c15b636486729eddb58f
BLAKE2b-256 7e38972a056eb54514b66991982d0a320c1ce2783dab9f8fb764771bacdb3fd4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 581028c985ba760810c3a584dc399cef8bf0a3b31e88bf5ed8b1672436f49c9e
MD5 926d343d89fa6c5aea05ecbb9df9c905
BLAKE2b-256 afe9af774fa6eccdfeee8d06b5ee046793cf0b59d163eb48fe80378db5ccf0ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b69471676d5fb0be663dbc6178e6957d153047eac7e52413f50bfc79411d975b
MD5 4650a6e83e86011465beb4654f905abe
BLAKE2b-256 f414d730781d25a117f303a618a1f3be43d1b5032907fe096f1d464799d5c1e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6b2b7b1548441a69d73671a9bca863c5ded47e513dd10fffd91bc9f0751e8421
MD5 1d83740907a819e8c653ce7f3db3bea9
BLAKE2b-256 70409b1d186bdac7e5a8d0ff8d6d156f5420e003d5c34e26b43ee8e86b0843b7

See more details on using hashes here.

Provenance

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