AbstractAgent 0.3.1__tar.gz → 0.3.4__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.
- {abstractagent-0.3.1 → abstractagent-0.3.4}/PKG-INFO +48 -3
- abstractagent-0.3.1/src/abstractagent.egg-info/PKG-INFO → abstractagent-0.3.4/README.md +31 -13
- {abstractagent-0.3.1 → abstractagent-0.3.4}/pyproject.toml +22 -3
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/logic/react.py +1 -1
- abstractagent-0.3.1/README.md → abstractagent-0.3.4/src/abstractagent.egg-info/PKG-INFO +58 -0
- abstractagent-0.3.4/src/abstractagent.egg-info/requires.txt +24 -0
- abstractagent-0.3.1/src/abstractagent.egg-info/requires.txt +0 -5
- {abstractagent-0.3.1 → abstractagent-0.3.4}/LICENSE +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/setup.cfg +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/__init__.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/adapters/__init__.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/adapters/codeact_runtime.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/adapters/generation_params.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/adapters/media.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/adapters/memact_runtime.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/adapters/react_runtime.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/agents/__init__.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/agents/base.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/agents/codeact.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/agents/memact.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/agents/react.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/logic/__init__.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/logic/builtins.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/logic/codeact.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/logic/memact.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/logic/types.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/repl.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/sandbox/__init__.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/sandbox/interface.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/sandbox/local.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/scripts/__init__.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/scripts/lmstudio_tool_eval.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/tools/__init__.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/tools/code_execution.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent/tools/self_improve.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent.egg-info/SOURCES.txt +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent.egg-info/dependency_links.txt +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent.egg-info/entry_points.txt +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/src/abstractagent.egg-info/top_level.txt +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_active_context_policy_adoption.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_agent_plan_review_modes.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_agents_integration_llm.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_base_agent_trace_accessors.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_builtin_tool_specs_optional_defaults.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_codeact_logic.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_codeact_runtime_verifier_policy.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_generation_params_media_policies.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_llm_call_payload_requires_prompt_or_messages.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_memact_session_memory.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_memact_workflow.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_memory_recall_tool.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_open_attachment_tool_available.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_active_attachments_disable_tools_first_iteration.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_adapter_forwards_context_attachments_media.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_delegate_agent_tool.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_logic.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_loop_context_transcript_levels.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_loop_followthrough_retry.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_loop_side_effect_dedupe_comms.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_loop_truncated_output_retry.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_max_iterations_concludes.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_planish_heuristic.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_workflow_system_prompt_and_tools_override.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_workflow_toolset_refresh.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_run_start_seeds_runtime_provider_model.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_session_memory.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_tool_observe_emits_result_for_tui.py +0 -0
- {abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_tools_editing.py +0 -0
|
@@ -1,22 +1,52 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: abstractagent
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: Agent implementations using AbstractRuntime and AbstractCore
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-File: LICENSE
|
|
8
|
-
Requires-Dist: abstractcore[tools]
|
|
9
|
-
Requires-Dist: abstractruntime
|
|
8
|
+
Requires-Dist: abstractcore[tools]>=2.13.11
|
|
9
|
+
Requires-Dist: abstractruntime>=0.4.7
|
|
10
|
+
Provides-Extra: apple
|
|
11
|
+
Requires-Dist: abstractcore[apple]>=2.13.11; extra == "apple"
|
|
12
|
+
Requires-Dist: abstractruntime[apple]>=0.4.7; extra == "apple"
|
|
13
|
+
Provides-Extra: gpu
|
|
14
|
+
Requires-Dist: abstractcore[gpu]>=2.13.11; extra == "gpu"
|
|
15
|
+
Requires-Dist: abstractruntime[gpu]>=0.4.7; extra == "gpu"
|
|
16
|
+
Provides-Extra: all-apple
|
|
17
|
+
Requires-Dist: abstractcore[all-apple]>=2.13.11; extra == "all-apple"
|
|
18
|
+
Requires-Dist: abstractruntime[all-apple]>=0.4.7; extra == "all-apple"
|
|
19
|
+
Provides-Extra: all-gpu
|
|
20
|
+
Requires-Dist: abstractcore[all-gpu]>=2.13.11; extra == "all-gpu"
|
|
21
|
+
Requires-Dist: abstractruntime[all-gpu]>=0.4.7; extra == "all-gpu"
|
|
10
22
|
Provides-Extra: dev
|
|
11
23
|
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
24
|
+
Provides-Extra: test
|
|
25
|
+
Requires-Dist: pytest>=7.0; extra == "test"
|
|
12
26
|
Dynamic: license-file
|
|
13
27
|
|
|
14
28
|
# AbstractAgent
|
|
15
29
|
|
|
16
30
|
Agent patterns (ReAct / CodeAct / MemAct) built on **AbstractRuntime** (durable execution) and **AbstractCore** (tools + LLM integration).
|
|
17
31
|
|
|
32
|
+
AbstractAgent is part of the **AbstractFramework** ecosystem:
|
|
33
|
+
- AbstractFramework (ecosystem overview): https://github.com/lpalbou/AbstractFramework
|
|
34
|
+
- AbstractCore (providers + tool schemas): https://github.com/lpalbou/abstractcore
|
|
35
|
+
- AbstractRuntime (durable workflows + storage/ledger): https://github.com/lpalbou/abstractruntime
|
|
36
|
+
|
|
18
37
|
Start here: [`docs/getting-started.md`](docs/getting-started.md) (then [`docs/README.md`](docs/README.md) for the full index)
|
|
19
38
|
|
|
39
|
+
## How it fits (high level)
|
|
40
|
+
|
|
41
|
+
```mermaid
|
|
42
|
+
flowchart LR
|
|
43
|
+
Host[Your app / service] --> Agent[AbstractAgent<br/>ReAct / CodeAct / MemAct]
|
|
44
|
+
Agent --> RT[AbstractRuntime<br/>WorkflowSpec + Effects]
|
|
45
|
+
RT --> Core[AbstractCore<br/>LLM + tool-call normalization]
|
|
46
|
+
RT --> Stores[RunStore + LedgerStore]
|
|
47
|
+
Agent --> Tools[Tool callables<br/>(abstractcore common_tools + agent tools)]
|
|
48
|
+
```
|
|
49
|
+
|
|
20
50
|
## Documentation
|
|
21
51
|
|
|
22
52
|
- Getting started: [`docs/getting-started.md`](docs/getting-started.md)
|
|
@@ -37,6 +67,16 @@ Start here: [`docs/getting-started.md`](docs/getting-started.md) (then [`docs/RE
|
|
|
37
67
|
- **Tool control**: explicit tool bundles + per-run allowlists
|
|
38
68
|
- **Observability**: durable ledger of LLM calls, tool calls, and waits
|
|
39
69
|
|
|
70
|
+
Where this lives in code (source of truth):
|
|
71
|
+
- Agents: `src/abstractagent/agents/*`
|
|
72
|
+
- Workflows/adapters: `src/abstractagent/adapters/*_runtime.py`
|
|
73
|
+
- Prompting/parsing logic (runtime-agnostic): `src/abstractagent/logic/*`
|
|
74
|
+
- Default tool bundle: `src/abstractagent/tools/__init__.py`
|
|
75
|
+
|
|
76
|
+
## Requirements
|
|
77
|
+
|
|
78
|
+
- Python `>=3.10` (see `pyproject.toml`)
|
|
79
|
+
|
|
40
80
|
## Installation
|
|
41
81
|
|
|
42
82
|
From source (development):
|
|
@@ -57,6 +97,11 @@ From PyPI:
|
|
|
57
97
|
pip install abstractagent
|
|
58
98
|
```
|
|
59
99
|
|
|
100
|
+
Native Python hardware profile cascades are available for deployment manifests:
|
|
101
|
+
`abstractagent[apple]`, `abstractagent[gpu]`, `abstractagent[all-apple]`, and
|
|
102
|
+
`abstractagent[all-gpu]`. These delegate to the matching AbstractCore and
|
|
103
|
+
AbstractRuntime profiles; AbstractAgent itself remains provider/runtime agnostic.
|
|
104
|
+
|
|
60
105
|
Note: the repository may be ahead of the latest published PyPI release. To verify what you installed:
|
|
61
106
|
|
|
62
107
|
```bash
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: abstractagent
|
|
3
|
-
Version: 0.3.1
|
|
4
|
-
Summary: Agent implementations using AbstractRuntime and AbstractCore
|
|
5
|
-
Requires-Python: >=3.10
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
License-File: LICENSE
|
|
8
|
-
Requires-Dist: abstractcore[tools]
|
|
9
|
-
Requires-Dist: abstractruntime
|
|
10
|
-
Provides-Extra: dev
|
|
11
|
-
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
12
|
-
Dynamic: license-file
|
|
13
|
-
|
|
14
1
|
# AbstractAgent
|
|
15
2
|
|
|
16
3
|
Agent patterns (ReAct / CodeAct / MemAct) built on **AbstractRuntime** (durable execution) and **AbstractCore** (tools + LLM integration).
|
|
17
4
|
|
|
5
|
+
AbstractAgent is part of the **AbstractFramework** ecosystem:
|
|
6
|
+
- AbstractFramework (ecosystem overview): https://github.com/lpalbou/AbstractFramework
|
|
7
|
+
- AbstractCore (providers + tool schemas): https://github.com/lpalbou/abstractcore
|
|
8
|
+
- AbstractRuntime (durable workflows + storage/ledger): https://github.com/lpalbou/abstractruntime
|
|
9
|
+
|
|
18
10
|
Start here: [`docs/getting-started.md`](docs/getting-started.md) (then [`docs/README.md`](docs/README.md) for the full index)
|
|
19
11
|
|
|
12
|
+
## How it fits (high level)
|
|
13
|
+
|
|
14
|
+
```mermaid
|
|
15
|
+
flowchart LR
|
|
16
|
+
Host[Your app / service] --> Agent[AbstractAgent<br/>ReAct / CodeAct / MemAct]
|
|
17
|
+
Agent --> RT[AbstractRuntime<br/>WorkflowSpec + Effects]
|
|
18
|
+
RT --> Core[AbstractCore<br/>LLM + tool-call normalization]
|
|
19
|
+
RT --> Stores[RunStore + LedgerStore]
|
|
20
|
+
Agent --> Tools[Tool callables<br/>(abstractcore common_tools + agent tools)]
|
|
21
|
+
```
|
|
22
|
+
|
|
20
23
|
## Documentation
|
|
21
24
|
|
|
22
25
|
- Getting started: [`docs/getting-started.md`](docs/getting-started.md)
|
|
@@ -37,6 +40,16 @@ Start here: [`docs/getting-started.md`](docs/getting-started.md) (then [`docs/RE
|
|
|
37
40
|
- **Tool control**: explicit tool bundles + per-run allowlists
|
|
38
41
|
- **Observability**: durable ledger of LLM calls, tool calls, and waits
|
|
39
42
|
|
|
43
|
+
Where this lives in code (source of truth):
|
|
44
|
+
- Agents: `src/abstractagent/agents/*`
|
|
45
|
+
- Workflows/adapters: `src/abstractagent/adapters/*_runtime.py`
|
|
46
|
+
- Prompting/parsing logic (runtime-agnostic): `src/abstractagent/logic/*`
|
|
47
|
+
- Default tool bundle: `src/abstractagent/tools/__init__.py`
|
|
48
|
+
|
|
49
|
+
## Requirements
|
|
50
|
+
|
|
51
|
+
- Python `>=3.10` (see `pyproject.toml`)
|
|
52
|
+
|
|
40
53
|
## Installation
|
|
41
54
|
|
|
42
55
|
From source (development):
|
|
@@ -57,6 +70,11 @@ From PyPI:
|
|
|
57
70
|
pip install abstractagent
|
|
58
71
|
```
|
|
59
72
|
|
|
73
|
+
Native Python hardware profile cascades are available for deployment manifests:
|
|
74
|
+
`abstractagent[apple]`, `abstractagent[gpu]`, `abstractagent[all-apple]`, and
|
|
75
|
+
`abstractagent[all-gpu]`. These delegate to the matching AbstractCore and
|
|
76
|
+
AbstractRuntime profiles; AbstractAgent itself remains provider/runtime agnostic.
|
|
77
|
+
|
|
60
78
|
Note: the repository may be ahead of the latest published PyPI release. To verify what you installed:
|
|
61
79
|
|
|
62
80
|
```bash
|
|
@@ -4,19 +4,38 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "abstractagent"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.4"
|
|
8
8
|
description = "Agent implementations using AbstractRuntime and AbstractCore"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
dependencies = [
|
|
12
|
-
"abstractcore[tools]",
|
|
13
|
-
"abstractruntime",
|
|
12
|
+
"abstractcore[tools]>=2.13.11",
|
|
13
|
+
"abstractruntime>=0.4.7",
|
|
14
14
|
]
|
|
15
15
|
|
|
16
16
|
[project.optional-dependencies]
|
|
17
|
+
apple = [
|
|
18
|
+
"abstractcore[apple]>=2.13.11",
|
|
19
|
+
"abstractruntime[apple]>=0.4.7",
|
|
20
|
+
]
|
|
21
|
+
gpu = [
|
|
22
|
+
"abstractcore[gpu]>=2.13.11",
|
|
23
|
+
"abstractruntime[gpu]>=0.4.7",
|
|
24
|
+
]
|
|
25
|
+
all-apple = [
|
|
26
|
+
"abstractcore[all-apple]>=2.13.11",
|
|
27
|
+
"abstractruntime[all-apple]>=0.4.7",
|
|
28
|
+
]
|
|
29
|
+
all-gpu = [
|
|
30
|
+
"abstractcore[all-gpu]>=2.13.11",
|
|
31
|
+
"abstractruntime[all-gpu]>=0.4.7",
|
|
32
|
+
]
|
|
17
33
|
dev = [
|
|
18
34
|
"pytest>=7.0",
|
|
19
35
|
]
|
|
36
|
+
test = [
|
|
37
|
+
"pytest>=7.0",
|
|
38
|
+
]
|
|
20
39
|
|
|
21
40
|
[tool.setuptools.packages.find]
|
|
22
41
|
where = ["src"]
|
|
@@ -112,7 +112,7 @@ class ReActLogic:
|
|
|
112
112
|
" Do NOT call tools just to re-open/read them.\n"
|
|
113
113
|
" - If you see 'Stored session attachments', those may not be included in the current call.\n"
|
|
114
114
|
" Only if you truly need it, use the attachment-open tool with artifact_id and a bounded line range.\n"
|
|
115
|
-
" - Never use filesystem tools on attachment filenames/paths
|
|
115
|
+
" - Never use filesystem tools on attachment filenames/paths; use the attachment-open tool instead.\n"
|
|
116
116
|
"- For fetch_url: use include_full_content=False for shorter previews; set keep_links=False to strip links when not needed.\n"
|
|
117
117
|
"- For large files, create a small skeleton first, then refine via multiple smaller edits/tool calls.\n"
|
|
118
118
|
"- Use tool outputs as evidence; do not claim actions without tool outputs.\n"
|
|
@@ -1,9 +1,52 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: abstractagent
|
|
3
|
+
Version: 0.3.4
|
|
4
|
+
Summary: Agent implementations using AbstractRuntime and AbstractCore
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Requires-Dist: abstractcore[tools]>=2.13.11
|
|
9
|
+
Requires-Dist: abstractruntime>=0.4.7
|
|
10
|
+
Provides-Extra: apple
|
|
11
|
+
Requires-Dist: abstractcore[apple]>=2.13.11; extra == "apple"
|
|
12
|
+
Requires-Dist: abstractruntime[apple]>=0.4.7; extra == "apple"
|
|
13
|
+
Provides-Extra: gpu
|
|
14
|
+
Requires-Dist: abstractcore[gpu]>=2.13.11; extra == "gpu"
|
|
15
|
+
Requires-Dist: abstractruntime[gpu]>=0.4.7; extra == "gpu"
|
|
16
|
+
Provides-Extra: all-apple
|
|
17
|
+
Requires-Dist: abstractcore[all-apple]>=2.13.11; extra == "all-apple"
|
|
18
|
+
Requires-Dist: abstractruntime[all-apple]>=0.4.7; extra == "all-apple"
|
|
19
|
+
Provides-Extra: all-gpu
|
|
20
|
+
Requires-Dist: abstractcore[all-gpu]>=2.13.11; extra == "all-gpu"
|
|
21
|
+
Requires-Dist: abstractruntime[all-gpu]>=0.4.7; extra == "all-gpu"
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
24
|
+
Provides-Extra: test
|
|
25
|
+
Requires-Dist: pytest>=7.0; extra == "test"
|
|
26
|
+
Dynamic: license-file
|
|
27
|
+
|
|
1
28
|
# AbstractAgent
|
|
2
29
|
|
|
3
30
|
Agent patterns (ReAct / CodeAct / MemAct) built on **AbstractRuntime** (durable execution) and **AbstractCore** (tools + LLM integration).
|
|
4
31
|
|
|
32
|
+
AbstractAgent is part of the **AbstractFramework** ecosystem:
|
|
33
|
+
- AbstractFramework (ecosystem overview): https://github.com/lpalbou/AbstractFramework
|
|
34
|
+
- AbstractCore (providers + tool schemas): https://github.com/lpalbou/abstractcore
|
|
35
|
+
- AbstractRuntime (durable workflows + storage/ledger): https://github.com/lpalbou/abstractruntime
|
|
36
|
+
|
|
5
37
|
Start here: [`docs/getting-started.md`](docs/getting-started.md) (then [`docs/README.md`](docs/README.md) for the full index)
|
|
6
38
|
|
|
39
|
+
## How it fits (high level)
|
|
40
|
+
|
|
41
|
+
```mermaid
|
|
42
|
+
flowchart LR
|
|
43
|
+
Host[Your app / service] --> Agent[AbstractAgent<br/>ReAct / CodeAct / MemAct]
|
|
44
|
+
Agent --> RT[AbstractRuntime<br/>WorkflowSpec + Effects]
|
|
45
|
+
RT --> Core[AbstractCore<br/>LLM + tool-call normalization]
|
|
46
|
+
RT --> Stores[RunStore + LedgerStore]
|
|
47
|
+
Agent --> Tools[Tool callables<br/>(abstractcore common_tools + agent tools)]
|
|
48
|
+
```
|
|
49
|
+
|
|
7
50
|
## Documentation
|
|
8
51
|
|
|
9
52
|
- Getting started: [`docs/getting-started.md`](docs/getting-started.md)
|
|
@@ -24,6 +67,16 @@ Start here: [`docs/getting-started.md`](docs/getting-started.md) (then [`docs/RE
|
|
|
24
67
|
- **Tool control**: explicit tool bundles + per-run allowlists
|
|
25
68
|
- **Observability**: durable ledger of LLM calls, tool calls, and waits
|
|
26
69
|
|
|
70
|
+
Where this lives in code (source of truth):
|
|
71
|
+
- Agents: `src/abstractagent/agents/*`
|
|
72
|
+
- Workflows/adapters: `src/abstractagent/adapters/*_runtime.py`
|
|
73
|
+
- Prompting/parsing logic (runtime-agnostic): `src/abstractagent/logic/*`
|
|
74
|
+
- Default tool bundle: `src/abstractagent/tools/__init__.py`
|
|
75
|
+
|
|
76
|
+
## Requirements
|
|
77
|
+
|
|
78
|
+
- Python `>=3.10` (see `pyproject.toml`)
|
|
79
|
+
|
|
27
80
|
## Installation
|
|
28
81
|
|
|
29
82
|
From source (development):
|
|
@@ -44,6 +97,11 @@ From PyPI:
|
|
|
44
97
|
pip install abstractagent
|
|
45
98
|
```
|
|
46
99
|
|
|
100
|
+
Native Python hardware profile cascades are available for deployment manifests:
|
|
101
|
+
`abstractagent[apple]`, `abstractagent[gpu]`, `abstractagent[all-apple]`, and
|
|
102
|
+
`abstractagent[all-gpu]`. These delegate to the matching AbstractCore and
|
|
103
|
+
AbstractRuntime profiles; AbstractAgent itself remains provider/runtime agnostic.
|
|
104
|
+
|
|
47
105
|
Note: the repository may be ahead of the latest published PyPI release. To verify what you installed:
|
|
48
106
|
|
|
49
107
|
```bash
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
abstractcore[tools]>=2.13.11
|
|
2
|
+
abstractruntime>=0.4.7
|
|
3
|
+
|
|
4
|
+
[all-apple]
|
|
5
|
+
abstractcore[all-apple]>=2.13.11
|
|
6
|
+
abstractruntime[all-apple]>=0.4.7
|
|
7
|
+
|
|
8
|
+
[all-gpu]
|
|
9
|
+
abstractcore[all-gpu]>=2.13.11
|
|
10
|
+
abstractruntime[all-gpu]>=0.4.7
|
|
11
|
+
|
|
12
|
+
[apple]
|
|
13
|
+
abstractcore[apple]>=2.13.11
|
|
14
|
+
abstractruntime[apple]>=0.4.7
|
|
15
|
+
|
|
16
|
+
[dev]
|
|
17
|
+
pytest>=7.0
|
|
18
|
+
|
|
19
|
+
[gpu]
|
|
20
|
+
abstractcore[gpu]>=2.13.11
|
|
21
|
+
abstractruntime[gpu]>=0.4.7
|
|
22
|
+
|
|
23
|
+
[test]
|
|
24
|
+
pytest>=7.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_builtin_tool_specs_optional_defaults.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_loop_context_transcript_levels.py
RENAMED
|
File without changes
|
|
File without changes
|
{abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_react_loop_side_effect_dedupe_comms.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstractagent-0.3.1 → abstractagent-0.3.4}/tests/test_run_start_seeds_runtime_provider_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|