AbstractRuntime 0.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,54 @@
1
+ # Operating System Files
2
+ .DS_Store
3
+ .DS_Store?
4
+ ._*
5
+ .Spotlight-V100
6
+ .Trashes
7
+ ehthumbs.db
8
+ Thumbs.db
9
+
10
+ # IDE and Editor Files
11
+ .idea/
12
+ .vscode/
13
+ *.swp
14
+ *.swo
15
+ *~
16
+
17
+ # Build and Dependency Directories
18
+ node_modules/
19
+ dist/
20
+ build/
21
+ out/
22
+ target/
23
+ *.pyc
24
+ __pycache__/
25
+ *.class
26
+
27
+ venv/
28
+
29
+ # Environment and Configuration
30
+ .env
31
+ .env.local
32
+ .env.*.local
33
+ *.log
34
+ npm-debug.log*
35
+ yarn-debug.log*
36
+ yarn-error.log*
37
+
38
+ # Testing and Coverage
39
+ coverage/
40
+ .coverage
41
+ .pytest_cache/
42
+ htmlcov/
43
+
44
+ # Temporary Files
45
+ *.tmp
46
+ *.temp
47
+ *.bak
48
+ *.backup
49
+
50
+ # Project-specific (uncomment as needed)
51
+ # /docs/_build/
52
+ # /.pytest_cache/
53
+ # /.tox/
54
+ # /.eggs/
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 AbstractRuntime Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+
@@ -0,0 +1,89 @@
1
+ Metadata-Version: 2.4
2
+ Name: AbstractRuntime
3
+ Version: 0.0.0
4
+ Summary: Placeholder for AbstractRuntime: a durable graph runner designed to pair with AbstractCore.
5
+ Project-URL: AbstractCore (website), https://www.abstractcore.ai/
6
+ Project-URL: AbstractCore (GitHub), https://github.com/lpalbou/abstractcore
7
+ Author: AbstractRuntime Contributors
8
+ License: MIT
9
+ License-File: LICENSE
10
+ Keywords: agents,checkpoint,durable,graph,llm,resume,workflow
11
+ Classifier: Development Status :: 1 - Planning
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+
23
+ ## AbstractRuntime
24
+
25
+ **Status:** placeholder package (planning stage). **No runtime implementation yet.**
26
+
27
+ AbstractRuntime is intended to be a **durable graph runner** designed to pair with **AbstractCore** (unified LLM interface: [website](https://www.abstractcore.ai/), [GitHub](https://github.com/lpalbou/abstractcore)).
28
+
29
+ ### Problem this package is meant to solve
30
+
31
+ Agentic systems are inherently **multi-step** and frequently **interruptible**:
32
+
33
+ - **External calls** (LLM providers, tools, jobs) can fail transiently, time out, or be rate-limited.
34
+ - **Human-in-the-loop steps** require pausing, collecting input, and resuming later.
35
+ - **Long-running workflows** must survive process restarts and redeploys.
36
+
37
+ AbstractRuntime’s goal is to provide a **general-purpose execution substrate** that can:
38
+
39
+ - **Interrupt → checkpoint → resume** at *any* step boundary
40
+ - Support heterogeneous step types (LLM call, tool call, wait-until time, wait-job, ask-user, subgraph, etc.)
41
+ - Maintain a durable **step ledger** (append-only history of attempts and outcomes)
42
+
43
+ ### Design targets (intended capabilities)
44
+
45
+ - **Durable execution model**
46
+ - Steps are executed with **durable state transitions** persisted to storage.
47
+ - A run can be safely resumed after crash/restart without losing progress.
48
+ - Clear semantics for retries and backoff without “double-applying” effects.
49
+
50
+ - **Interrupt / resume primitives**
51
+ - Explicit “pause points” for ask-user / wait steps.
52
+ - Resume via a stable run identifier + persisted checkpoint.
53
+
54
+ - **Step ledger (audit + debugging)**
55
+ - Append-only records for: step identity, inputs, outputs, errors, timestamps, attempt numbers, and metadata.
56
+ - Designed to support observability, replay analysis, and compliance/audit needs.
57
+
58
+ - **Step type extensibility**
59
+ - A common “step contract” that can represent:
60
+ - LLM calls (with AbstractCore)
61
+ - Tool calls (side-effecting or pure)
62
+ - Wait-until (time-based scheduling)
63
+ - Wait-job (external job orchestration)
64
+ - Ask-user (HITL)
65
+ - Subgraph / dynamic branching
66
+
67
+ - **Storage backends (planned)**
68
+ - Pluggable persistence for checkpoints + ledgers (e.g., SQLite/Postgres/file).
69
+ - Strong focus on correctness and durability over early optimization.
70
+
71
+ ### Relationship to AbstractCore
72
+
73
+ AbstractCore provides a **provider-agnostic LLM interface** and media/tooling primitives (see [AbstractCore website](https://www.abstractcore.ai/) and [AbstractCore GitHub](https://github.com/lpalbou/abstractcore)). AbstractRuntime is intended to orchestrate *when* and *how* those calls happen in larger workflows, with durability guarantees.
74
+
75
+ ### Non-goals (initially)
76
+
77
+ - A full workflow DSL or UI.
78
+ - A distributed queue system replacement.
79
+ - A specific persistence backend mandate (storage will be abstracted).
80
+
81
+ ### Installation
82
+
83
+ This package is currently a placeholder for PyPI name reservation and documentation.
84
+
85
+ ### License
86
+
87
+ MIT (see `LICENSE`).
88
+
89
+
@@ -0,0 +1,67 @@
1
+ ## AbstractRuntime
2
+
3
+ **Status:** placeholder package (planning stage). **No runtime implementation yet.**
4
+
5
+ AbstractRuntime is intended to be a **durable graph runner** designed to pair with **AbstractCore** (unified LLM interface: [website](https://www.abstractcore.ai/), [GitHub](https://github.com/lpalbou/abstractcore)).
6
+
7
+ ### Problem this package is meant to solve
8
+
9
+ Agentic systems are inherently **multi-step** and frequently **interruptible**:
10
+
11
+ - **External calls** (LLM providers, tools, jobs) can fail transiently, time out, or be rate-limited.
12
+ - **Human-in-the-loop steps** require pausing, collecting input, and resuming later.
13
+ - **Long-running workflows** must survive process restarts and redeploys.
14
+
15
+ AbstractRuntime’s goal is to provide a **general-purpose execution substrate** that can:
16
+
17
+ - **Interrupt → checkpoint → resume** at *any* step boundary
18
+ - Support heterogeneous step types (LLM call, tool call, wait-until time, wait-job, ask-user, subgraph, etc.)
19
+ - Maintain a durable **step ledger** (append-only history of attempts and outcomes)
20
+
21
+ ### Design targets (intended capabilities)
22
+
23
+ - **Durable execution model**
24
+ - Steps are executed with **durable state transitions** persisted to storage.
25
+ - A run can be safely resumed after crash/restart without losing progress.
26
+ - Clear semantics for retries and backoff without “double-applying” effects.
27
+
28
+ - **Interrupt / resume primitives**
29
+ - Explicit “pause points” for ask-user / wait steps.
30
+ - Resume via a stable run identifier + persisted checkpoint.
31
+
32
+ - **Step ledger (audit + debugging)**
33
+ - Append-only records for: step identity, inputs, outputs, errors, timestamps, attempt numbers, and metadata.
34
+ - Designed to support observability, replay analysis, and compliance/audit needs.
35
+
36
+ - **Step type extensibility**
37
+ - A common “step contract” that can represent:
38
+ - LLM calls (with AbstractCore)
39
+ - Tool calls (side-effecting or pure)
40
+ - Wait-until (time-based scheduling)
41
+ - Wait-job (external job orchestration)
42
+ - Ask-user (HITL)
43
+ - Subgraph / dynamic branching
44
+
45
+ - **Storage backends (planned)**
46
+ - Pluggable persistence for checkpoints + ledgers (e.g., SQLite/Postgres/file).
47
+ - Strong focus on correctness and durability over early optimization.
48
+
49
+ ### Relationship to AbstractCore
50
+
51
+ AbstractCore provides a **provider-agnostic LLM interface** and media/tooling primitives (see [AbstractCore website](https://www.abstractcore.ai/) and [AbstractCore GitHub](https://github.com/lpalbou/abstractcore)). AbstractRuntime is intended to orchestrate *when* and *how* those calls happen in larger workflows, with durability guarantees.
52
+
53
+ ### Non-goals (initially)
54
+
55
+ - A full workflow DSL or UI.
56
+ - A distributed queue system replacement.
57
+ - A specific persistence backend mandate (storage will be abstracted).
58
+
59
+ ### Installation
60
+
61
+ This package is currently a placeholder for PyPI name reservation and documentation.
62
+
63
+ ### License
64
+
65
+ MIT (see `LICENSE`).
66
+
67
+
@@ -0,0 +1,43 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27.0"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "AbstractRuntime"
7
+ version = "0.0.0"
8
+ description = "Placeholder for AbstractRuntime: a durable graph runner designed to pair with AbstractCore."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = { text = "MIT" }
12
+ authors = [
13
+ { name = "AbstractRuntime Contributors" },
14
+ ]
15
+ keywords = [
16
+ "workflow",
17
+ "graph",
18
+ "durable",
19
+ "checkpoint",
20
+ "resume",
21
+ "agents",
22
+ "llm",
23
+ ]
24
+ classifiers = [
25
+ "Development Status :: 1 - Planning",
26
+ "Intended Audience :: Developers",
27
+ "License :: OSI Approved :: MIT License",
28
+ "Programming Language :: Python :: 3",
29
+ "Programming Language :: Python :: 3 :: Only",
30
+ "Programming Language :: Python :: 3.10",
31
+ "Programming Language :: Python :: 3.11",
32
+ "Programming Language :: Python :: 3.12",
33
+ "Programming Language :: Python :: 3.13",
34
+ ]
35
+
36
+ [project.urls]
37
+ "AbstractCore (website)" = "https://www.abstractcore.ai/"
38
+ "AbstractCore (GitHub)" = "https://github.com/lpalbou/abstractcore"
39
+
40
+ [tool.hatch.build.targets.wheel]
41
+ packages = ["src/abstractruntime"]
42
+
43
+
@@ -0,0 +1,8 @@
1
+ """
2
+ AbstractRuntime
3
+
4
+ Placeholder package for a durable graph runner (interrupt → checkpoint → resume).
5
+ Implementation intentionally not included yet.
6
+ """
7
+
8
+