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

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev4-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.34.2.dev4-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.34.2.dev4-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.34.2.dev4-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.34.2.dev4-cp311-cp311-macosx_11_0_arm64.whl (419.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev4-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.34.2.dev4-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.34.2.dev4-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.34.2.dev4-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.34.2.dev4-cp310-cp310-macosx_11_0_arm64.whl (416.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev4-cp310-cp310-macosx_10_9_x86_64.whl (422.4 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

amesa_inference_dev-0.34.2.dev4-cp310-cp310-macosx_10_9_universal2.whl (837.2 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file amesa_inference_dev-0.34.2.dev4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd5a32b15e0f99afdd63f50172433a9b2bb5b3d48d290703cb0ef5bf5454bd72
MD5 f807acfc0f67b16510b4484eff4a637b
BLAKE2b-256 0b809cfcfe8034f1db931b131986ffaf789e0bdff34271c699e4585be623d32d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 44fac1acf98ae53145c71dd046be28e3667c923fb51ac503deb5ff84460bef22
MD5 f4ac733101b1ff75dd9a38cc3d5ac0b1
BLAKE2b-256 a6917cff56fc8817caca413da53238e64952df85b700ebb9269f46b5d6506b56

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3a7adad7f80b6d521698f6799b69f87c9c59f9678afe40dd28679170fb63f0c8
MD5 56aaba8f8cd48eb3a16433af794db0fa
BLAKE2b-256 b52f0344088c60e6f8818cea2f118878eb792aac2bc88ab38de091bca15a405d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4c1880666bda9710730fe99ef5049ed03244dd8dbdb4c32b9bc633ffda84b65a
MD5 72064bce0900c1a972f009ef755622e6
BLAKE2b-256 b5e81bf9d56a8472b6590f634528e6d3a74f24293070898b4c883972086cc451

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ca366be925130863090d8bebf1403e2ea03bfc48c123012cff3ca1205a9ccc02
MD5 1b63b0be36e444bc7e0ccadfd7e1e2ec
BLAKE2b-256 09d86c39220fca4cf6abc68b977aa8540f7880483cbea717f14850a4d07ab623

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2b72054cbe268bf9bc4e5867eccceb746ed25c3ea6f70b6fede52affce8fce00
MD5 f0b66bc54938c341f1a85ec0efd198fc
BLAKE2b-256 51519a27a6f436a126e1e9c9e1d662caf88e2ccd34613251369101432e3bb96f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d28f1ed6ed3e423862acbaa7843500227d37ba34c67d3cffb2697dd2b081f85b
MD5 e2392ec725eed954471279fbe077a25e
BLAKE2b-256 942906eee5e909c0911b670f3c9cc0e676d4d9c9b0c4c2edf0ea60f40a8f88ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee942835a8b5bb41bd714451e3de8e596ce69142b1f06c6d21cea0cae243e9cf
MD5 3bf560b88f7b708c8ee80be75b570383
BLAKE2b-256 c4c1eac57afe5c13c493d3685c8d5060d1d104f7d880e5b9872d182dd110abcd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d61fed58fb0b74635df01229e981bd5afefa081343fc1c7ac3cb1d0806658d6d
MD5 9341e165e8cbd37476e93a106acac0ef
BLAKE2b-256 db046e44590166f7c9eb7612b5ff719adc0a2c3d1c89b58d4668909071981370

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a3357e727ba8f8a9c6f5141c3687fcf908cb84bd2ef6b2b07adccfbd4e1ee6bc
MD5 3ee84fc5172d243a1bca3fa88e57ebc7
BLAKE2b-256 fe5aaa6f54873a41abddcebe16ea2fcdf0e5c04a5dbd063868cf2d1dd57fafd3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a74deb7661cb4278ac65688da89daf7600ef558ca3b5b3e7bc468b991146abf2
MD5 fe7cca438b821649e4cc91d896900432
BLAKE2b-256 8d7878205b8f5e3b6e9fedbb889e4ec0eb9cfeb1d1b88163d12e89cce738d21c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a4b06f552ed117114be002f173c873bf8b276c43541b3f78817b9ce3898314e3
MD5 8a62113c99ae2ee1f060a7bbc4f7ca6f
BLAKE2b-256 d2a734a76897075a3279f9c03289e561c0d5d0ae0f28ef477d11e0b5639d48f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9a5d750e6e4d8420390d7566d47bac6ed4bdde01d354793926446d9ac7a2a8b4
MD5 b9ac8ce899990add02ea6bd9ebc52afe
BLAKE2b-256 e63c98009ffd4e0365c789a83f503d0d45f8512ba7f2dbf05e94c7faeed3e949

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c0abcaae8dd317d7c9889f9fce165b46592941c03d29bc73f6d11b408f8ca88c
MD5 70aae1d71ddf4e91f4438b8522440be6
BLAKE2b-256 51e7ad240c1308f37ec1a76f243036916ba55cd8210df65d293403209e437ebe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev4-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 87ad61640099983f8871c47646fbdd5617c3ff303bba526481cb8533cc9cb496
MD5 8684539ead52a6f06e3dd0152338ef95
BLAKE2b-256 0dbe6ef4d7faba5621a6748a2e18a0ecc89b124a4278c1dfcbb8a73b064cd92b

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev4-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.34.2.dev4 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