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

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.36.2.dev7-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.36.2.dev7-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.36.2.dev7-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.36.2.dev7-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.36.2.dev7-cp311-cp311-macosx_11_0_arm64.whl (420.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.36.2.dev7-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.36.2.dev7-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.36.2.dev7-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.36.2.dev7-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.36.2.dev7-cp310-cp310-macosx_11_0_arm64.whl (423.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.36.2.dev7-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.36.2.dev7-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.36.2.dev7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5003f2fa883c22235c55fd99435ab66bd61c750953431e86b9836f76ede1e88d
MD5 f7461d8c01917ae0bc7930cfd0c013fb
BLAKE2b-256 cd64a4e25e495ab521dc32769dc3a0632746850a1e178a334c4862d6c998bce0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 94334ec80ea74b86103aed5123c2a3aa6446e47d6608ca4688114c8f7e8fae98
MD5 17bc106cbc40e5be75191c3dbec7e098
BLAKE2b-256 47008f35c5d4257400955ff07639b000ef403afead5bc169f88ace4cde4b394a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5cec4aeaac12b5fe58634c2d231a40fbeb13596ae153add08434510f2c891feb
MD5 e3e581689578f902c9f4fa33f1c5f6ba
BLAKE2b-256 f3c1a8b063ba1f0913eede2376592a4600f765e3ae5557f8c40c2cb4e6bd3e01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7f8152950129e24e8ffdd627e4aaa2a31c26c676d5f2821d133e241fe6d171d1
MD5 115b2b4fbd318aecff36b85ecf362c6a
BLAKE2b-256 4808acdce9fd537cc916c4d4fced1b0bce736fe1e9766ec5a665f038e7187e53

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1270f36ddebea6ed4769a8063db21cc2184faf8bbc76aaf1ab192258ae94cf67
MD5 eda90674c9f63bc4bcc597390b955529
BLAKE2b-256 b6eb896a8b68c81b601caaccc29c7d36355eaf46dfb8949109fb6ce89fd56cfc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a6f716d745be99872a3c2f8f4be36c9a84ae79b2e065bd6c38cfbbc633c85cf
MD5 729999aab82d1025ea81c9cdbb2db247
BLAKE2b-256 4548059c76674b8466656b4d0a7c0d6b9cea037adb9bc94ec947c644aecd19b5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 643433c4e0c7ab49b323aed96c2974367428406ebc83d0622f0c9b02f52013ac
MD5 818d4526dc712f4072d7c0374f5872b0
BLAKE2b-256 4709a655fba61fc1550663e15202a81e7be474059ed0d9b3c23402c2b804eb2b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f5dd59b328f8d1e7c22eda89b1bd5a37c855c74708dbf0d1a7045765eb2aa27
MD5 1a0101479fe25a5853cb1a9463ce09ff
BLAKE2b-256 30a0acc0a0f32724c26d9171004dd467cb504d93ddd5a10b9810adfe7b753a59

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6d4f8e723c5df2666348e3100b5ad2fbb7f95132003454875c1583b221f0d290
MD5 0ecadf9755daee4b0b9f498039ec6a96
BLAKE2b-256 0af38e0222519fdbbfb4260ef2a6ac0c0b2d19c45f578b187f4207707e5339bd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f1adcbd44189708e0b8498c07cb20ccae3df4022c719153f44a99c39617e989a
MD5 b6686c2d94a69255c17c881562003ef8
BLAKE2b-256 f4835ddc73df07e6631bce0a0f556cfd03f7888c252fcecf3cbdc63a17b3ed70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c93fe1a9b2f315eb80138642ac3dca2b1ae2c42227375792f3f2f704975eca4
MD5 ddaf3416d78da0dc38b8b7c33ec6374d
BLAKE2b-256 37214c7b1aadad51f07bcc0d9ba08196505a148d0a331e1c208371b70299670b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d9c8f25e26c1779f49912417fe005a3468108dbaf74e1fbafc66a3f5641d3233
MD5 ecc4c0dfe3c83eeaf85137c8e0a8e60a
BLAKE2b-256 109071bde9f4417a8d29761829aea364ae5783d580a59b8583724c732a92caa5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 56a26b7290be87984c7b5d46440ff1262440491de4c473b8ab2fbc6059009d92
MD5 252aee9e1136ae038d824470c3806ba3
BLAKE2b-256 2944818c14b6073dc840a7ea8108e38d5ba93dbbd40d43b8fe9b0842588e1899

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 deb8733986b149bdc1e2413020b0d45381924c1d8d893b9c4648a32769a264d6
MD5 17470d883683e2bcabe97f39f1d6d970
BLAKE2b-256 faf833f691bc82180e16df2275f5944ffbf729263d9bdcfc7ea7de359d869f9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev7-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f264e6a3949ece6f9e378a10192f91542b5f98ac0efdfa55e9104d91fcb5a1ac
MD5 f167aaff4b9ead889dcb9219f09b6be7
BLAKE2b-256 77eb63b2e8229061e682dff5aedae910836bf2d7af6310bd1108425399542f57

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev7-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.36.2.dev7 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