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

Metadata

Release files for amesa-inference-test 0.42.5.dev66

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for amesa-inference-test 0.42.5.dev66
File
amesa_inference_test-0.42.5.dev66-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
amesa_inference_test-0.42.5.dev66-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
amesa_inference_test-0.42.5.dev66-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
amesa_inference_test-0.42.5.dev66-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
amesa_inference_test-0.42.5.dev66-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details
amesa_inference_test-0.42.5.dev66-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
amesa_inference_test-0.42.5.dev66-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
amesa_inference_test-0.42.5.dev66-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
amesa_inference_test-0.42.5.dev66-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
amesa_inference_test-0.42.5.dev66-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details

Total release size: 18.7 MB

Release files / amesa_inference_test-0.42.5.dev66-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL amesa_inference_test-0.42.5.dev66-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.6 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
684a5a7a50cb4627fbb1501464bbd345657b2472332a4599006d92ce1e965e8c
BLAKE2b-256 checksum
How to use checksums
3bb01d0dc56842fcd6bc82111019114d3280360949f6a3d203f8f21c1caedf91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev66-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL amesa_inference_test-0.42.5.dev66-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.6 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
84b53c0306e54488927ad8ff533cbad0bd91c3a9177b954201e39d349271ec1a
BLAKE2b-256 checksum
How to use checksums
2297240c023ee7e4e0b16692ef0b0cd5eb5df2432ece6582a2ae5fe7a733dd98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev66-cp311-cp311-macosx_11_0_arm64.whl

Download URL amesa_inference_test-0.42.5.dev66-cp311-cp311-macosx_11_0_arm64.whl
Size 553.7 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
258f4c0a2699d0c39d4b51715424bf2a33bbece9540f59b26b63811c55e5d8cc
BLAKE2b-256 checksum
How to use checksums
afe4f7104215773dc1dcc2651e9bf3378ed3eb59ff06173f3565d84f55c652c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev66-cp311-cp311-macosx_10_9_x86_64.whl

Download URL amesa_inference_test-0.42.5.dev66-cp311-cp311-macosx_10_9_x86_64.whl
Size 564.3 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
90863e936c530dc704c699e7ec8577d0b783b352caf74d195b8362cf2c0a4fdd
BLAKE2b-256 checksum
How to use checksums
2c686d5a192a3c36f9f7604c3ab70b30b28619937eef902f0d8544ec6fdbf155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev66-cp311-cp311-macosx_10_9_universal2.whl

Download URL amesa_inference_test-0.42.5.dev66-cp311-cp311-macosx_10_9_universal2.whl
Size 1.1 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
0c3e63c85a6c38f62041c1391382bbd29a57589468374376679f68337fad95e3
BLAKE2b-256 checksum
How to use checksums
219fddbb951f96103e088d4e2615737729a1b87f38c07fbe703945046b4e43ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev66-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL amesa_inference_test-0.42.5.dev66-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
77075cb5c536519fe14e2d6dde556cd384915b5d6f775c05e745b14a4a274215
BLAKE2b-256 checksum
How to use checksums
5fc180d0a53b6d14f18fe2b23fc8368171352ef99c97750d8e9ae5179eac0056
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev66-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL amesa_inference_test-0.42.5.dev66-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.5 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
61cceef8e0d9fa86964cb1dccb3599f824b3994a4e8eaa867df31def04ac83d2
BLAKE2b-256 checksum
How to use checksums
b9aa5563cc8ea9a2f6a02e861b9277364abd985cd0bf53e82f13cbe7dc11d995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev66-cp310-cp310-macosx_11_0_arm64.whl

Download URL amesa_inference_test-0.42.5.dev66-cp310-cp310-macosx_11_0_arm64.whl
Size 561.1 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
45e423bfc75a2c6360acd771c1e5fdfdf3b634df8d7c474e10309960da84672d
BLAKE2b-256 checksum
How to use checksums
dae7e863356a4c40e553c9658da029669c352feeb814c8504841ffdfe2f610f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev66-cp310-cp310-macosx_10_9_x86_64.whl

Download URL amesa_inference_test-0.42.5.dev66-cp310-cp310-macosx_10_9_x86_64.whl
Size 569.9 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
9a0d3f0bc09c8f6609be64a052fe78d3cf3a2039a8baac77956ae8ed41543a34
BLAKE2b-256 checksum
How to use checksums
afafba4696c7e0adf339cc3aca3d34eca3fef74315969e381767ab4828d42627
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev66-cp310-cp310-macosx_10_9_universal2.whl

Download URL amesa_inference_test-0.42.5.dev66-cp310-cp310-macosx_10_9_universal2.whl
Size 1.1 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
7f0683f6541a5071598a731dabda97a7822b266427ef1e3bcd9e0ba16a1d65fa
BLAKE2b-256 checksum
How to use checksums
2d5cffa797d5fd046e3794f838971ae768b26a10dd70981197a6592b50f8acea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

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