Skip to main content

arkitekt-runtime

The execution core of an Arkitekt app: what every runtime needs to run a declared app.

An app is declared with arkitekt-spec. A runtime executes it: rekuest in distributed mode (a socket agent registered with a rekuest server), arkitekt-fastapi in server mode (an HTTP service). Both build on this package: the agent's assignment handling, actors, Task, the journal, state, locks, hook runners and structure serialization.

It carries no transport and no client -- no websockets, rath or graphql-core. A runtime plugs in its transport (agents.transport.base.AgentTransport), its caller (to call other actions) and its task scope (e.g. rath's, so service clients attribute requests to the running task).

It is also where a workflow's recovery runs: the replay of recorded values (task.now(), task.random(), task.sleep(), task.record(fn)) from the journal an Assign resumes with, task.retry / task.hold / task.guard, and the rule that only a WORKFLOW implementation may call other actions (NotAWorkflowError). A dependency method annotated as a generator streams the remote action's yields (iterate / aiterate). The design is described in rekuest's workflows guide.

Metadata

Release files for arkitekt-runtime 4.2.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 arkitekt-runtime 4.2.0
File Size Uploaded
arkitekt_runtime-4.2.0.tar.gz 111.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arkitekt-runtime 4.2.0
File Interpreter ABI Platform
arkitekt_runtime-4.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 250.3 kB

Release files / arkitekt_runtime-4.2.0.tar.gz

Download URL arkitekt_runtime-4.2.0.tar.gz
Size 111.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1d236322e6b436b311319397df326fa11685fcd3e593bc6d08d2f48161b3a00f
BLAKE2b-256 checksum
How to use checksums
20fedf526e5656cebcd53b494e4c4edd39d8b1fd566d2b2588ce20b5d41e0b3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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 / arkitekt_runtime-4.2.0-py3-none-any.whl

Download URL arkitekt_runtime-4.2.0-py3-none-any.whl
Size 139.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df224c017ecef354f0ccf741aca66b49bc64073e5f5e30fc3f65b94ee0d27772
BLAKE2b-256 checksum
How to use checksums
cbb6072bb90c5ec62211883995e422c73f78a9618f28a24f0b6c075b13a46a9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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 history Release notifications | RSS feed

4.6.0

2 release files

4.5.0

2 release files

4.4.0

2 release files

4.3.0

2 release files

This release

4.2.0 This release

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

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