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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 468ab853cfc2e14d1aadeb367bf0b98831baef6337f398b70c43a1f738cb07c1
MD5 a261c916d4f703ae061657b2c6da6730
BLAKE2b-256 4024d70f47c7c734945d49f561ec4d1d42119a9e187d195762df5e12fa6e5c4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 93115a38f9c04f8da065d39c6aeb6276fe89ae65f4b0ac6f55323b9f6e48f06c
MD5 3572b45e12c4484efe3f7c63a50902d2
BLAKE2b-256 2fe5fbb0da6943d516e8c7d48bd424978b7f261dc41c39d1e59d096459b0d6f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f5b1370438b82b2876963b2b96e92b92bca461a7aeacf3377ce708b3eb7519c8
MD5 2305e0795d2c99a7abceeb334bf2fd56
BLAKE2b-256 efb316adf5a22eda65388dd95b07c947d1f690c0d493929832d630f5f39f07b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 86f9d9f8f2196f24a4851bd4b6991d5928a06fabf1678ec3521e3d0750e80f59
MD5 c65763ab986793411c8a5cae4f45feb0
BLAKE2b-256 783fc2e7904463393174880863d6e135ab00b520f697c0e051463adeb60415c6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3ff827724b66ae70905fd861501f1f3df32a987b16a55febdf198de5cce95797
MD5 b7b4f63aba88ca19d3e4dc8251d4b9fc
BLAKE2b-256 90a250bf2cfc1078abd74aaf0a27c18c167caea46c323550818163fe9b5f615a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b41b0a0dbbd296a73172bd08a2df9ce7662a75fc916c8a821cc7c87025539d78
MD5 2db90aa68a391e9ad1233977b77b2033
BLAKE2b-256 4f581859707d355a83f7598157d981ff46880c1d7be86040e921fdb7c7d232b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1994469925210d74683e97dfdfe6b5da285e72dced1f8591a65d2be0838962e4
MD5 c5104ec016f977bc91a9fe8cbb44bc90
BLAKE2b-256 f571c17bebfbc9f897a557037d570865bbc9b8a9ced6a0087c160dbbe4405c55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 01f3ff236998b7764e6392a404c5009383891e58d48a3868189b73a5dce9af98
MD5 bea21cf2fff306611747e599df11c470
BLAKE2b-256 973d3ae3937965c400bdebdf7cb2cfb179b82274099b905758bd1ae5442cc2de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4395a9a9cd0821b09f37e4bab93a43bf102929b17e23287e8da980f07702f18b
MD5 f5e84320c126a45885b8af85ebd92cf2
BLAKE2b-256 b6d13249a1d18d2ae5738d62c050ac651e4772efa84bee09d2bf05618b68fa10

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c89a9d7e91b57cd1dc7418383ef44c7663ca4b5d6fd28f63686dcc9e49a086f7
MD5 99573d520e998da7216ac90ae8ca595b
BLAKE2b-256 f8946cf9c7bc73c4ac2be80759efd158f3e21538eee17f12892f4b0fe3c3efef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 574c550ee854fab60f91cf7cec22dd04f890162b479056a4318fb110af7ac253
MD5 e2047b8df98f197b3a09696459c3c201
BLAKE2b-256 b74c93945e707dd53f8233f9825884f5fb99725fd277e3771d8da1a4271179f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1a9ddb86fbd744cdd6f1d4167b30157a1a3de36b08e640ba746df4525bd2c0f0
MD5 58189f57d7355faf45ab4dcb43766a27
BLAKE2b-256 d610a02939519881a1be697c5535944fe11b2ec67baa947e48a0e16ee977caaa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ab835b43da13e71397cb6fc52cbdc574fe96c539d6d971f0b3697bb51e22e73
MD5 077c949de86f03a122f53e1d8c946dfc
BLAKE2b-256 9e7a54fcd79bcdaa274a5ee6b5ace48cc926984b7a2f6b4e985d619d5a9d4c48

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9f71d570cb1f6c341637b91b3f99ac7a1338803ee4a5f9199b58fca42d04776e
MD5 b9ab6a67b4e79117a2f036874958ee8d
BLAKE2b-256 78ce73b576a761d152fe88cd8667d37de920988786bf5bb8c39b6e48256cc0ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.0.dev1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 851b1c55d3074d29e80a479bbaf4a110d3a3e54a9f6f9537f372d07c3fb5dacb
MD5 09a85e1a1eff15f4958df92d80a0896b
BLAKE2b-256 e21a13b30ec8706e21abd02b5d0e749f507df853b57d5d7f9d1b97bcbaf61866

See more details on using hashes here.

Provenance

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