Workflow framework for LLM pipelines and tool-calling agents.
Project description
openarmature-python
Python reference implementation of OpenArmature — a workflow framework for LLM pipelines and tool-calling agents.
Status: alpha. Implemented against spec v0.10.0.
Install
Not yet on PyPI. For local use, install from a checkout:
uv add --editable /path/to/openarmature-python
Quick example
import asyncio
from typing import Annotated
from pydantic import Field
from openarmature.graph import END, GraphBuilder, State, append
class S(State):
log: Annotated[list[str], append] = Field(default_factory=list)
async def hello(_state: S) -> dict[str, list[str]]:
return {"log": ["hello"]}
async def world(_state: S) -> dict[str, list[str]]:
return {"log": ["world"]}
graph = (
GraphBuilder(S)
.add_node("hello", hello)
.add_node("world", world)
.add_edge("hello", "world")
.add_edge("world", END)
.set_entry("hello")
.compile()
)
final = asyncio.run(graph.invoke(S()))
print(final.log) # ['hello', 'world']
See tests/conformance/ for fixtures covering conditional routing, subgraph composition, and the canonical compile- and runtime-error categories.
Spec
The spec lives in openarmature-spec and is pinned here as a git submodule. Conformance fixtures from the spec are exercised by tests/conformance/.
The pinned spec version is recorded in tool.openarmature.spec_version (in pyproject.toml) and exposed as openarmature.__spec_version__.
License
Apache-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openarmature-0.5.0.tar.gz.
File metadata
- Download URL: openarmature-0.5.0.tar.gz
- Upload date:
- Size: 467.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81b16f5bbcf8d7c05736f644d30d0ccb0898e0987cc84da45c615e1967553ac7
|
|
| MD5 |
b69ee62c0e25f9a25807952b25e6d4bb
|
|
| BLAKE2b-256 |
f2a75c37ad2989f7acc977d8cc5d1e217d9d0ef30879763c0ef63d317af2f48d
|
Provenance
The following attestation bundles were made for openarmature-0.5.0.tar.gz:
Publisher:
release.yml on LunarCommand/openarmature-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openarmature-0.5.0.tar.gz -
Subject digest:
81b16f5bbcf8d7c05736f644d30d0ccb0898e0987cc84da45c615e1967553ac7 - Sigstore transparency entry: 1500859552
- Sigstore integration time:
-
Permalink:
LunarCommand/openarmature-python@c30103d86b1d43659d10ebd5c1d5170803a96560 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/LunarCommand
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c30103d86b1d43659d10ebd5c1d5170803a96560 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openarmature-0.5.0-py3-none-any.whl.
File metadata
- Download URL: openarmature-0.5.0-py3-none-any.whl
- Upload date:
- Size: 112.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b4b353daf117bcf1111bc5fe4eeb539efd6d4349d5f2ff4a8b757ba90ddf3f3
|
|
| MD5 |
79207553c4e6160413a98fa88a4b1b99
|
|
| BLAKE2b-256 |
e57e48630991f2b900e1558287826674d327f13c5776a3232bcd69d04ac924e7
|
Provenance
The following attestation bundles were made for openarmature-0.5.0-py3-none-any.whl:
Publisher:
release.yml on LunarCommand/openarmature-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openarmature-0.5.0-py3-none-any.whl -
Subject digest:
7b4b353daf117bcf1111bc5fe4eeb539efd6d4349d5f2ff4a8b757ba90ddf3f3 - Sigstore transparency entry: 1500859584
- Sigstore integration time:
-
Permalink:
LunarCommand/openarmature-python@c30103d86b1d43659d10ebd5c1d5170803a96560 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/LunarCommand
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c30103d86b1d43659d10ebd5c1d5170803a96560 -
Trigger Event:
push
-
Statement type: