Skip to main content

AgentRunner

Swarmauri

Downloads Hits Python License Release

Run model tool calls and resume checkpointed human interactions.

Features

  • Run model tool calls and resume checkpointed human interactions.
  • Supports Python 3.10 through 3.12.

Installation

uv add swarmauri_agent_runner
pip install swarmauri_agent_runner

Usage

from swarmauri_agent_runner import AgentRunner, SqliteRunStore
from swarmauri_standard.tool_llms.OpenAIToolModel import OpenAIToolModel

model = OpenAIToolModel(api_key="your-api-key")
runner = AgentRunner(model.propose_tool_step, SqliteRunStore("runs.db"))
state = runner.start("Ask me which package to inspect.")
if state.status == "input_required":
    from swarmauri_standard.messages.AnswerMessage import AnswerMessage

    question = state.event().question
    reply = AnswerMessage(question_id=question.question_id, answer=input(question.content))
    state = runner.resume(state.run_id, reply)

Reopen the same SQLite database and configure the same model and tools to resume a pending question or approval in another process. The application authenticates the caller before exposing a run or accepting a decision. Set a stable approval scope that identifies the workspace and permissions. A run interrupted during tool dispatch records that state for reconciliation. Runtime tool instances and open process handles live in the application process.

Metadata

Release files for swarmauri_agent_runner 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 swarmauri_agent_runner 0.1.0
File Size Uploaded Provenance Actions
swarmauri_agent_runner-0.1.0.tar.gz 9.3 kB Without provenance Details for swarmauri_agent_runner-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 21.7 kB

Release files / swarmauri_agent_runner-0.1.0.tar.gz

Download URL swarmauri_agent_runner-0.1.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0e31752185244dbce3f771661ef6dea8059dc7f19e1bda1e1bbc4d57a631d082
BLAKE2b-256 checksum
How to use checksums
2aff80fc6ccab8e2d4c0f7beb4bc38f94c4980f671f0eaa7eb4558007fa17326
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL swarmauri_agent_runner-0.1.0-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0540ba9bca22154435a18a49871555885ecdafd2ad89973d288f2596c72a56d9
BLAKE2b-256 checksum
How to use checksums
756f37907b3d772f82563a4cd28ae9f68fa8b27bbb8845e377a84b02f5ce0539
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for swarmauri_agent_runner 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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