Skip to main content

kiarina-agi-runner

What is this?

kiarina-agi-runner provides agent execution, task runners, and structured output helpers for AI agents.

Dependencies

Package Version License
kiarina-agi-base >=2.7.0 MIT
kiarina-agi-data >=2.7.0 MIT
kiarina-agi-data-builder >=2.13.0 MIT
kiarina-agi-file >=2.8.0 MIT
kiarina-agi-flow >=2.11.0 MIT
kiarina-agi-text >=2.8.0 MIT
kiarina-agi-tool >=2.12.0 MIT
kiarina-utils-common >=2.8.0 MIT
kiarina-utils-file >=2.3.1 MIT
Pydantic >=2.11.7,<3 MIT
pydantic-settings >=2.10.1,<3 MIT
pydantic-settings-manager >=3.2.0 MIT

Structured output

from kiarina.agi.structured_output import generate_model

async def generate_model(
    history_input: HistoryInput,
    python_schema: type[T],
    *,
    chat_options: ChatOptions | None = None,
    prompt_options: PromptOptions | None = None,
    cost_recorder: CostRecorder | None = None,
    run_context: RunContext,
    **kwargs: Any,
) -> T: ...

T is a Pydantic BaseModel. The helper presents its schema as a tool and validates arguments from the first tool call in the final AI message using model_validate_json(). JSON arrays and date strings therefore work with strict tuple and date fields, while invalid values still raise ValidationError. Additional tool calls are ignored; an invalid first call is not replaced by a later one. The helper does not execute tools or retry validation.

Pass a custom Prompt through prompt_options to control Sections and input presentation. That Prompt must expose the generated tool definition in history.tool_infos, for example with ToolSection. The default Prompt is vanilla.

A string, event list, or history specification creates a new History. Passing an existing History reuses it and replaces its tool_infos; use a copy if those definitions must be preserved. Supplied nonempty option dictionaries are also modified (tool_choice="any", streaming=False, and the default Prompt when absent). Model/provider support determines whether tool choice can be enforced; see the remaining work.

Metadata

Release files for kiarina-agi-runner 2.37.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 kiarina-agi-runner 2.37.0
File Size Uploaded Provenance Actions
kiarina_agi_runner-2.37.0.tar.gz 14.4 kB With provenance Details for kiarina_agi_runner-2.37.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kiarina-agi-runner 2.37.0
File Interpreter ABI Platform Actions
kiarina_agi_runner-2.37.0-py3-none-any.whl Python 3 none any Details for kiarina_agi_runner-2.37.0-py3-none-any.whl

Total release size: 33.1 kB

Release files / kiarina_agi_runner-2.37.0.tar.gz

Download URL kiarina_agi_runner-2.37.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a71fe0be4a108d320f89afeb33f9da16dbdbe4a92f42596adb32a954a4689a19
BLAKE2b-256 checksum
How to use checksums
fbb03f2c2433b2893545a5a7f7099345985d6210148c6ba340dcc1c324fc16da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

Release files / kiarina_agi_runner-2.37.0-py3-none-any.whl

Download URL kiarina_agi_runner-2.37.0-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a4de231ff9a9f278a43515a1015a507a9a0c0f4c7605ba23199e681a03c6a36
BLAKE2b-256 checksum
How to use checksums
62e6d15af7e8c77736b831e6ef5f3724bf83a887e1830a904c61e96f3908fcf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

Security for kiarina-agi-runner 2.37.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for kiarina_agi_runner-2.37.0.tar.gz

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 Nov 6, 2026.

Transparency log

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