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.1.dev2-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.1.dev2-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.1.dev2-cp312-cp312-macosx_11_0_arm64.whl (418.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.36.1.dev2-cp312-cp312-macosx_10_9_x86_64.whl (416.5 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

amesa_inference_dev-0.36.1.dev2-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.36.1.dev2-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.1.dev2-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.1.dev2-cp311-cp311-macosx_11_0_arm64.whl (419.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.36.1.dev2-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.36.1.dev2-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.36.1.dev2-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.1.dev2-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.1.dev2-cp310-cp310-macosx_11_0_arm64.whl (421.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.36.1.dev2-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.36.1.dev2-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.36.1.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d451d5baaebcfea3a2c32420ffeab26788fc5e7a526c882660409c4f959a8eda
MD5 f9d3e4a6df1bc7ae5bda1a3c51b93111
BLAKE2b-256 fb661898247c6f0b1d21cf15d7c96849d9fd8b211f0b2ab41122ed3af80806d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2e5d9d203cdae0be104a81a906de41da384daf2b34ee51efe5bb091d99504dd9
MD5 330025c125fe88ad18e3fb08372baf7c
BLAKE2b-256 820f7e603ca43e05d62db0466459649e6815cb48633c1a70d9d75c9d313cec44

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac34b957c7352875fe7016cd8e3aa52906f01deb4512b0f8d15b1e49e9f8af76
MD5 113c16a1fb3ae7fcb89a05e426d2bba5
BLAKE2b-256 90f4130ffd28e0bb4a5ce3aceb55339a6b3bee5b183e2e27b5fb8deef4aafa61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fbbae37392388669405bfcaf351acf10988d2f4d5e8f14418a970cad86cd30fc
MD5 afd342dbb1f3711b298657e732b0c53c
BLAKE2b-256 5f646b8a3951cced123b7da20a0be3e074d9daaa6ca402730810e4fe97c71a88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 38cfd8484a2672ffaaae7b71201280db39f5b9050d2e29a84c6a97a2bb986316
MD5 b80737e4a2b29ab8e02759b5a6e9e786
BLAKE2b-256 053067af0df890e42f5fb75fd0693f1aeda4bc09dd748e9d03b5667719390973

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c44d5c314f7f88da9e52b71a18d40308bd312a112304b930969f98dbc80bb86f
MD5 0c98150f48bc0e06135d184abb4de5e9
BLAKE2b-256 b7afaced5db244f81d0168c284f4fda526afe76d6206373e5b21c111b6b93b88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 71bdacc77b640299428336c1b4e312b32a4d14c3f9c842430594b92f3c0f094f
MD5 88beb6fb0dae4a437ed9eea7b28a2c4f
BLAKE2b-256 43cd536004fc813444a44729460248c9ecfb876fcf164b911ef23608d3748cf3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cb331f23d8fa47fbc4ac214526e3196f6d43361d201a0674d396da8f0a25fa01
MD5 3d0a4a2bedbce30a7691dbdc2261bd38
BLAKE2b-256 6ebbcfe60faaa3a51aab9c79f73b569cae21a7c0c6865343b0c04af5d83fdb3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 96549b11658e2e40b7d2da033613b190e1018be11b610f2ff0729065a1f0fc44
MD5 8b6d840f3086d7d058a259f4992675e6
BLAKE2b-256 8815ccc09044d65a823664469a8036cd15a18d4bda89b4569d7a77eed7fbc668

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 48fb53515cf6f4e3ccac22dc92e0b7dd19ce26f10239189cc64cb7838ff77b82
MD5 034a2abf89042ee2cb655b2725550730
BLAKE2b-256 e82480796949274146177d36949a5f55350414172714765633906b8e7511f661

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b16040a4e7d87f124622f708ccca01234f48dee4b2b5ee294893393a500c455a
MD5 f9b0ec5ab84249297f374ecc2c94a8a8
BLAKE2b-256 78e5c1fab8b3f65853a90eae41cdd2ef41f8404f2034718fc8c1ded3af3ddc9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 325019f4b16fb2710d62a0d5acdbe4cedeb8082527edee39a64c95f7084d2023
MD5 2cc529f5f15d855db4d2fbc5e0167217
BLAKE2b-256 7e35dfde6a7239364ba56634ab438f6afe19a54c6d40c838aab2ebd00839755a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ffa7dacbb2690c2ccb80eda2d72154dc9364a05e4f1110f574aaecf584bc690
MD5 af02428873a915996ecca95687046473
BLAKE2b-256 877532216247b927f0c89d054edcb67666cc06fb4f36cb8087a8f78cf473c9ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b2e6cab298e73f7171e01881dbe2ace27a54115bb0042555f69eb517205c7646
MD5 ac043219aa8856d7e30501283bc71e07
BLAKE2b-256 1a7491e84ad43a0c87b2d796d443586b315c1c9a67ec8c4163565693c2c39bde

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.1.dev2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e0fa75135ffb9cf4043440a26c3afcf92627752359887d5e176144d82df7994d
MD5 b09cc5b66cd19342a85f4037f588e383
BLAKE2b-256 413468433a8c32f98eb8f8dacad7784f83ddb16539a65072754486862f2216ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.1.dev2-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.1.dev2 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