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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-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.dev9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8f126fd4f04f28701be0e52680f590670446f1a6fa21ade90328caace5677b45
MD5 9f4e2e749271ab337511d8a386b4716a
BLAKE2b-256 269a8f77ec4e3251147c62416cc508248ef18b1a8f22cfce87127a424e40a915

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a16b65aaf4008415a42e39c41ddd3297a28a25068a8bbacebae43b185257e1bb
MD5 81e9021dca5b302da03137048f3c4366
BLAKE2b-256 4aed1408a1bf1c4dd63e4caa70802657b479d33bf778f9d72e9a8250608974a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d67c8acfb3e2dd0903f904dd0427ff3bb09afbfd7949e2140dc84bcfc942ab7
MD5 bad3f714fa1e7f72f25a40fc414b7085
BLAKE2b-256 d2b850c2afa50693ebae98a1cb618b3df3617cda133f5ecf3edeadb1f3a5395f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ebd5deef68a9c5145dc2c988daca328ee29e86eb8c98e9f539f6480ef119a23b
MD5 e8450568c7606ddf658dc58009acdcc8
BLAKE2b-256 ca33e75e904ec7cec68d07cb1b35c5d9473c50e3146f19c0fcd6345f72ad353f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f368744a6444cc1487580c13fe3a14e784f4012f9bac085772fabacd275112c2
MD5 a21c13d23ba8508a03ef0a4186db4f1c
BLAKE2b-256 aaea3f58ed8bf899b43ed8de7bc9004c34162f26ca0140db405671d4ef6889d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3fa3a63664af7addc85489d2ee27119e3f212fc42c2f1b3b5030f8a81bc885fb
MD5 b369cecd7457a9d97cd5cfe9f36d8b0d
BLAKE2b-256 0641cd9beca28c4c369621a9bea73dd19ecabf25cc44cff1180e4157dd395d45

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 43f6327390ce18a2865fca4b28e2a6112bac4bb9141bc148c845d4657be16c2b
MD5 81681e6f6b5815ab108da1d47195e10b
BLAKE2b-256 40398161c380c36bacb74e737dde1010ad7ce541e670a5d0c13a5c4caa5a2955

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ffa50668f33471547364715caaa144ad61f868c0cb5d8011358e3c37fb94b03
MD5 58598c4b9d51a564b26b505be03cfe97
BLAKE2b-256 0d69517c7918537c714f4e6ca56984a3cbd45ca47a49dbaab6e8570ec807c238

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e97119356e82e74b5a99b7b061db601dc369ca63ff2d05aa037cacc86d4d7b05
MD5 fc40a8ad00301b4162bbf5fe4c9eeabd
BLAKE2b-256 a0987d49f1f6b39dca0f94c65acb29a66288d5244457239832318bf09dfa28aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7ce2a47103b32820a740af9c338e50ef1fc0b6162cd73868dd78662408df2805
MD5 30652d6475707e92f64b654de0ee8a8c
BLAKE2b-256 c33063a5f39f37323bc55d8818657499b01ce23192be43b9c0e3a0ca1a296e6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39aa06e5ef796d3e8649b9a80fc4cb47d91d7574ebfa9c612d5ceb4918a5f1cd
MD5 c2a3896945bf71a0d0fb515996247d51
BLAKE2b-256 7e293e627e6bd92406fce18b3a3912369ec60c57f0ff02989ddc5315134c09b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7c6ee7bfc92e5bc7d90e28eb261613853b5b8cb7209495e6c59d7a5696dae120
MD5 10e61ffecb452595be8ef953962e3bf2
BLAKE2b-256 c7a6c0a5f33884c36489d21f58d88733f28e2324e48724627bf612b7b5bf01dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ddb161202d59c2320489bf74188bfb5c026721bab173095a68a3def327a7894
MD5 dae19632cd5f7e245b0fa4a7da36f737
BLAKE2b-256 ccc36506a4413352f1e9712a5a507569fa2abd649f32e78a9826235571879b02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 094220695e69bd074e7eda1850fe6d418d7e1b6a3f75886f27c87824b49b22c8
MD5 083d901277513f4c6335cd0267db71bc
BLAKE2b-256 ad03f893c18407e59342e1cb9e0841e5a201121b9bdff22c2e7e94576e91c467

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev9-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ca85ba4853dfeab5a6098e5320a6ba296ef3933678df06a84124a50b71d4a8f9
MD5 3e740140b842216dd4388a1a47cb1b94
BLAKE2b-256 58333d5a5146e8e18fc199a098cc17f1725b418aa868823ff0757645208792ce

See more details on using hashes here.

Provenance

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