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.38.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.38.0
File Size Uploaded Provenance Actions
kiarina_agi_runner-2.38.0.tar.gz 14.4 kB With provenance Details for kiarina_agi_runner-2.38.0.tar.gz

Built distribution (wheel)

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

Total release size: 33.2 kB

Release files / kiarina_agi_runner-2.38.0.tar.gz

Download URL kiarina_agi_runner-2.38.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ead479e332e4d896f07ea81233f121427505eeb4d296c3bff1f71735e89b3ccf
BLAKE2b-256 checksum
How to use checksums
d8d9f4c6fc06e18f3b85e7d3f87da41d34fee516e544d836e215b0332920d61e
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.38.0-py3-none-any.whl

Download URL kiarina_agi_runner-2.38.0-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aba1f9b4eddd95e7058709a77fbd0a7e5a174e56dac94e3e1d140ef39d2cb023
BLAKE2b-256 checksum
How to use checksums
6dfe3f7a9ec8d8c65386bc507ffeb6e7425ae238de36ee851b72e3cd995ccbdd
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.38.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.38.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