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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-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.dev24-cp310-cp310-macosx_10_9_universal2.whl (845.2 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.dev24-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 298a1ce94b6d003d15c1649efed6670960fe1e446c5d67e07cac692b404e1d1a
MD5 a83a6d7f87e561d56b293a2443938c74
BLAKE2b-256 03ef24ab190c5cbc00a30e77895c2750bbce530c45e3eca3232f91d790881114

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 663e2f8f3eff233119bbcdfee4337fbc97318825013cf6e9c6c62a19980ceed4
MD5 7455c273ce4023a888da787520a3110d
BLAKE2b-256 afe820c3f55711a975261f93a327e0c437c1bffb543f050627ee75ba240b6f56

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e5f137c59ed65feac4047fb0d2af403a4a218ba5356d91b217d06219ba28791f
MD5 c823ae1bc24d52bfb7d6818e1eeb18ef
BLAKE2b-256 aa4ad992d0cc7ee884e7587cb616c9f47c7880200dc3ed72c3cb65b6b650e4e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fbbd938891449caeecc01e0cc1dd53eb9218b3a5d1d0a09ced137698e2d095b3
MD5 6b51b596609d93c331cbabc65170a1e5
BLAKE2b-256 343ff281e3c834a315ada7aa7915e4ed163d4fb03f1e82fb34558727ed320861

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9b862473b49a45bceba7ad417b8d26454f59f4ffd1e8728bc93355f435077b49
MD5 de3414c6ee4c552d7dd4c69cc88ce49e
BLAKE2b-256 9030019fc0ba1b627b4de3b70346490985fdef1b69258ad4568998b5f07a0072

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 baa5b008c402b1545208e9d0631bc4f99871a8b389714a043fcb5f0df997e460
MD5 deb8f55589e9c1c3a02cde960f5fcbf7
BLAKE2b-256 4b55876ecec75bd5d23ba88dd3026dcabd0d902423cf3ec0f3b78e061368ab05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e796c4e266aa12046df5b66fcf4c8a40d8c3adb446b6080ef8c22a04594bcdd8
MD5 ca494eba4377b0e424fdf2ff58f2aed7
BLAKE2b-256 090ad31ba415252d89899ee034d1aceed61dc5b5ceb449b4ca04dc34892b3d4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b63a8d7c7dab86b09ef29d9bc07a65caa8b1b357cee3a23de1a68f72a2d70e06
MD5 ca41c2f8d0103143f01030b4a5ae7dd2
BLAKE2b-256 5e30042dabd3913149d69ab0523f0b1d7f7b49d6fff4d4ecafaa9af6b814cab5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 076994c06e9134e31842265be13250e5b7a358f63a2f90c746053633897101e0
MD5 6f1b8793a0c2d4d9c4f17dc10987b7c6
BLAKE2b-256 7be3932018349cf4c616141de061ba72efbc1a9964614d78b2e3af01e9409b04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 eae3bb1e5e8da418999f516322830534488961d398c6bbb024eaa316ade17742
MD5 1c7399b474ff3ff7d516db2a91ab0a68
BLAKE2b-256 c82c969f53c2a92fb4cd17a217ef8abe04075907b4e0459ec55041fa0f5ace51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aff4e93c5ee9d1faf4a6d4df5c2dd7cc14ab6abef4ada50f177fd8cbdbba6b4f
MD5 e91ec2c9f1c39c9d6d7655b4d588e8e6
BLAKE2b-256 f1b8449af9d5a2db5adddfc120fea33b0bee3dded67fc04520f9c00cec0a77a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 31dc00e251edd8a4b784ff4b4c88b28d4286734f557156de2932e1d316375e76
MD5 4126acce6fd0f76865373074240fc630
BLAKE2b-256 2748a8115bf3df5f086e28d4d12fd55ad27db9ce850998175f053d535597ef84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eba10933ecd9d6973748c6ce8850ded75339319dc28fae12aa176292c8b82119
MD5 020e77295e7a4fcccf3456d561bdddee
BLAKE2b-256 b18196920eff35a47b100d8add42080d7572630c69ff6979303475cba2ae0128

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f63ec90751d543ae0d022c3c4d48ad14d31c5a3ee1649616a18cb7b21e42ab72
MD5 202a06a3470e8d00c845174b7bd84fae
BLAKE2b-256 873387f531a2be730dc0ce2231c1721dd7713b34aac571c8b45f0d4cc928801c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev24-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6daf46b6203315f556c5a215075c7eb23d4f41657f4959c9c17cfe9f404c9cb4
MD5 da9424397c62096aaeb24d597a6f2f14
BLAKE2b-256 80473d94957aa477cdfd93d45fa9b765e4e4209919a1ea64fc8bded078e2b7b3

See more details on using hashes here.

Provenance

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