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.1.1

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.1.1
File Size Uploaded
arkitekt_runtime-4.1.1.tar.gz 110.7 kB Details

Built distribution (wheel)

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

Total release size: 248.8 kB

Release files / arkitekt_runtime-4.1.1.tar.gz

Download URL arkitekt_runtime-4.1.1.tar.gz
Size 110.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9aa1eb14d4a681fa55768415d1919f09adb5b5f90f3f0dd8fcbc1d1b23227c1a
BLAKE2b-256 checksum
How to use checksums
a0121d2ba7e3ddb2717d442a556b464328d697ccd3c8d2d01ef6342d5dd6af1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","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.1.1-py3-none-any.whl

Download URL arkitekt_runtime-4.1.1-py3-none-any.whl
Size 138.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8b4051ad459008ade54a1c9c411ae39afc26c1d2d24044cc8c5f98ce3233eb7
BLAKE2b-256 checksum
How to use checksums
0efeb1b83f3ff4b345c539e6b0c95fe099ebe9eba4d9044f45561a1ef380f4d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","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

This release

4.1.1 This release

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