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.dev3-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.dev3-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.dev3-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.dev3-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.dev3-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.dev3-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.dev3-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.dev3-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.dev3-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.dev3-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.dev3-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.dev3-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.dev3-cp310-cp310-macosx_11_0_arm64.whl (423.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 12ed0fd01ae46d48c3db585778586e486ac000748cd64956ad961a938485ac19
MD5 a2c2d1daa2ee5e98a7c1eb02dd710605
BLAKE2b-256 68df3fd9c3561e4b936fee52282d4c9eeac79a7df3379f73ab25072e774c2bc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d0334c404ba14947fa8a8b7dae2612ea9e86587de7931020eca1e008be735697
MD5 391f2b4c529a82206c8d58afdf1ec936
BLAKE2b-256 f8b8eb23992bd17ce3652f987c281b87f9082e4887b3aabc31cf98f7bb931276

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5820468a8e4b89a8538b90e997fc78955d16c6ad7e77fba5f5232c2c7cce5907
MD5 88f33ee0cb2385060629b47528cb04b8
BLAKE2b-256 cf56f6525784cc648b49e936e3595e0f8aee69e483587687d5cdb7fb6ad42532

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0352aaf9a55f2adcd1b2de3bffe7cbb64a4ebe599775f1e30239a890b7efc97a
MD5 3cef13c72c7c1628522e7225de870972
BLAKE2b-256 4967d500002adb130a19540f0a90f14d9540bddba47ce48d9c6f85376b39e391

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 925ec1275479e82d94e19c648ccefbd32a28071033ff3bac9608f968893c9362
MD5 1f0a7dd5753c6c354f9943093498d7e3
BLAKE2b-256 7eb517962c183110a863600287114a059e44d92244e0034d37961802e4863b50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 60b8c9007f78f05be279975f9abf2d11fe388c24aac6f5cac4d219e39df43b75
MD5 55a10b656aa8e21a916c94f5e3d09622
BLAKE2b-256 62abd29b5ff0bd90d148b3bd344b3c65b89210bf699d54063d26bb83026dd20f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ca425a433c8643bd42b368df709c5d7ab804cbbfdb09cee865fc844fc3b73d6a
MD5 b8fc13d9434ced8f2fd79781418bbb7c
BLAKE2b-256 240c6efbe1c06ecd385387d174b06a564b7dcd7e83b401b0242181a6fa6b519d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a5007e05fb5ebdf1efb561da82edbbfbd15c6f9d1d9aa6b1ea84a44b08d51213
MD5 b3be42f789569b735e6ec2e7fb941a88
BLAKE2b-256 82ddb0e7e20b935d0241c14fce728ebdba2f4038f3b450e96c5ddf0c898d95ce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 33d1990b9f2bf37df28b99dc62781ba447c5b4ad4b63a922f7903070dfb87b13
MD5 d322171d717853e16b470613347543ce
BLAKE2b-256 3dd98ae465b802a0db1297e5e2018a12f88fce01a073d8a431b66e0f738a343b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 15d0ae44f59e9f6ddf2956dd8faa3a2ef7928ff88491e719fa98c062ea08c5b1
MD5 72299ea932caab4b8268bfbcb0149ad7
BLAKE2b-256 c65596f76c8d95ded167cf1ff2c1a0e294f2a8fce95792523a7861da066c4620

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 51c67abb430ded7a240bd63ca78dbe1243aecaecd7f721eca5e7e239974b9f45
MD5 fc35a4239b20ef6a018a67a9092804ba
BLAKE2b-256 3d13b7de06942ae4b40fe00b79c3f70762431af30e3b0a3e9a685346e2b3d753

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 615f9e87be3148a55550e43d6311f915e0a3bd5a9397a80002f19e2a35794a46
MD5 2b69bc75b45c569a611f7aa0e66c4a05
BLAKE2b-256 f03f21144dd3df4f0d4af1b345e044bbd9174494b1dbbe03a5d88e4ad98364ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f0d1e964cc64bec611eff02f448bb17b13a2fff0d3bdb03ce02ce17f5e79f7e7
MD5 84910093571872c2e5bd3eea120fcf3a
BLAKE2b-256 f64d3b573d03b8b10fc2acfa660b70938a4ead5a3e77bc18b95a224be0444f94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9fa9b05434c2944a3eea858552a2e7fad3e24b2ad093856de7dd5feda7eabb76
MD5 0646036c9f6349093badadf57b7da0b7
BLAKE2b-256 6a90cd0c5cce7b8c770c4574cf8658f848efbf04fe09e369e8e048d0bda1f1af

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev3-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7559e28d6da6aabfd6ceabf464d624f3c5ebb1503a41b84ad52d0b7da9ca2d7e
MD5 8a1e885c66ab9e69b172b310a717963b
BLAKE2b-256 647793eb6856ac23c1a68ceddbd4aa2f3d5749aca3c64a2ec0ed9be41fff013d

See more details on using hashes here.

Provenance

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