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

Uploaded CPython 3.12macOS 10.9+ x86-64

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d825f37fd28727e3345098dead242a33b4cad2d00209dea59a18eff26889423b
MD5 bd0f4d985afb1473a6ffe506769ed6f2
BLAKE2b-256 c9cde5985a76364e839cbe6bd49ad8481065f20ac2ce24463d63ca768f422c28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3b4190c04ae82eb764256ec60332904485f521d277b72bac3719ed7d0f929dc3
MD5 cdf17815960c39dba9dcbe314ae91218
BLAKE2b-256 0f77c41df577cc8e1b0000d1847a00fe4908fecc3354ba88c1c65712a5bac242

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d136104dce7a2995cbdb4db9e4d3b47b92e87dab76a686225931946cc24a12df
MD5 13ddc0c0abe5c52ec2280c2253bd221c
BLAKE2b-256 612a19c8f5cb595e0bbf749d216cf26a58fbda791991d8c520d887293b7fcc15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d91f144c4a3ee217a11656cc1c8581abec47c88fea9e5391852cb510114af09b
MD5 f5a7b1027a6db8bf526232591e372523
BLAKE2b-256 4662258d7ca29421bacebb1be38a5e6ccff89987113b6481c72ba6c7052bb720

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5918369f7a8706588479ad7ac848cb41794c714d64cfaf5b2c9f15d299879976
MD5 6d80e99c5b157cee677634b612a3c789
BLAKE2b-256 ae00cf27e3c44b157376db7665923bd1cc183509f187323ffb4e50ad4146373a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a672c5fd52ad6f7646be77d7f2371f582f073ca5d64efcab8575cf1a64c24ba6
MD5 b4cefc79ff74709dd9cf480c7fa7528d
BLAKE2b-256 7f742860482549e9803f616febc301484287b0acdcb9e21b27bde8e5d6406b0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3156667cd58c690c526f9f149f6216f9918ad1a3959cd5bf6c9e30c31cf292ac
MD5 56d79b448cadf35742853fa40ffe054b
BLAKE2b-256 b3cbf6b5881582e7d81c343b7b25c962556ea047035da6488d27f7804921ac2b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6041ce9036b54e3dc4268a19789035fd7c9a33e385a8aa4f5a0bcb0a21f680da
MD5 6bfe659b0f4578223f9ee9710f70d219
BLAKE2b-256 5471f6217e2c24eb13437ade92a61d6ac1274996b4dbb4216832a6b7ab83e5f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 303c5c3a1c0eec8bfaff04304d633a6cd62c3c2223caa385fe875eec1d77f32b
MD5 2dac124a54ae8f0dfdf7d1b0c6e86c72
BLAKE2b-256 fef3b796499bab6f39a988d57e32dc09367d0550e47d22f74c65023468ed9f2e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ae40081ac2bdf830e45424c49911eb8fbc5e2c2f0debca46e7ce7a984bcc222b
MD5 0687593bca015fb2bd32365975f1cdf4
BLAKE2b-256 118fad2e71ab8ba9d9c9482108eaeb32d922a1f91d1b4bbfb4ae284609183d84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 957cca86ba8fcf2d7c704035bed934a8981a689011a8c51ad1ae2dcceca4aad4
MD5 06b3f91a1c2ec479e5a7e8d6b93c4c28
BLAKE2b-256 8044b3d82f86010d7901ba2f1f2f31de0318f858f6543fe838abc1e7225e4c51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2d1f192f00e227006d1c7ec2795a3c6c43978fe823a6a57a2ebc70bb573d7d3a
MD5 80242ea1c83c4d7479dd4f01648e4f8d
BLAKE2b-256 b4b354b1e74d7e26c49df43c9ef638b48b868b01fed141d3426bfe66f47ba0b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ee051a4468a576356c415a6eb0c8f6ce532ed889db9e0a8ba5a10a2748f3f70
MD5 68b5d36cc9a67a8b0ab28c32b11e53c9
BLAKE2b-256 bfc618dfecd378a1c149ba8d7e678cfda0c14f7783befaacf88dc1e0b0280673

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 82ac0927bcdab05f6f65e6e2c3d4b9fc126b63a7a09e8fe90b412d4a5b6dded4
MD5 6233b2eae35e95b2aed628e8bdfc0abf
BLAKE2b-256 ccceab135a7f1a7de877e7fc48548c12c5089d7398f5c20d6e9faa9364d17407

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev15-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 67ea664a6a3f39f3caacdb8ac74adfe87780b441538c55bcea68c8dcc79b4364
MD5 34aba1e7fda9d232c41a08af90bdfbfa
BLAKE2b-256 109017ee9e20afc7801d8c60d169b553718a3c445358f3d17033bc314db6aa43

See more details on using hashes here.

Provenance

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