Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: stub release, not functional

Armature Agents

Armature Agents is a framework-agnostic reliability library for building robust agent pipelines with explicit contracts, checkpointing, tracing, and failure classification.

Install:

pip install armature

Usage:

from pydantic import BaseModel
from armature.checkpoint import CheckpointManager, InMemoryStore
from armature.contracts import ContractRegistry, NodeContract
from armature.cost import ExecutionBudget
from armature.failures import default_policy_map
from armature.runner import ArmatureRunner, RunConfig, armature_node

class InputState(BaseModel):
    value: int

class OutputState(BaseModel):
    result: int

registry = ContractRegistry()
registry.register(NodeContract(node_id="node1", input_schema=InputState, output_schema=OutputState))

store = InMemoryStore()
checkpoint_manager = CheckpointManager(store)
config = RunConfig(run_id="run1", budget=ExecutionBudget.unlimited(), policy_map=default_policy_map())
runner = ArmatureRunner(registry, checkpoint_manager, config)

@armature_node("node1", NodeContract(node_id="node1", input_schema=InputState, output_schema=OutputState))
async def node1(state: InputState) -> dict:
    return {"result": state.value + 1}

result = await runner.run([node1], InputState(value=1))
print(result.final_state)

Docs: https://example.com/docs

Metadata

Release files for stanchion 0.1.0

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

Source distribution (sdist)

Source distribution for stanchion 0.1.0
File Size Uploaded
stanchion-0.1.0.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stanchion 0.1.0
File Interpreter ABI Platform
stanchion-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.7 kB

Release files / stanchion-0.1.0.tar.gz

Download URL stanchion-0.1.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9d74e31e6a22f22ebd0fa3eb3801211058aa46da8d0146613d98f27e2bfb1f1f
BLAKE2b-256 checksum
How to use checksums
dd221bd6f6947f61a5266183d3d667607e5d0008e61330a0707f9dffa23d8da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / stanchion-0.1.0-py3-none-any.whl

Download URL stanchion-0.1.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6e5f6b8328483b605937da6b58c15c6ccd346620dd02c29e593d09308486413
BLAKE2b-256 checksum
How to use checksums
532075a6e27e4a2b03d93faf50e7932f14b5474573d58510839f69d3b51f94ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release 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