jarvis-agent-core 0.9.5__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.
Files changed (50) hide show
  1. jarvis_agent_core-0.9.5/LICENSE +21 -0
  2. jarvis_agent_core-0.9.5/PKG-INFO +143 -0
  3. jarvis_agent_core-0.9.5/README.md +93 -0
  4. jarvis_agent_core-0.9.5/pyproject.toml +53 -0
  5. jarvis_agent_core-0.9.5/setup.cfg +4 -0
  6. jarvis_agent_core-0.9.5/src/jarvis_agent_core.egg-info/PKG-INFO +143 -0
  7. jarvis_agent_core-0.9.5/src/jarvis_agent_core.egg-info/SOURCES.txt +48 -0
  8. jarvis_agent_core-0.9.5/src/jarvis_agent_core.egg-info/dependency_links.txt +1 -0
  9. jarvis_agent_core-0.9.5/src/jarvis_agent_core.egg-info/top_level.txt +1 -0
  10. jarvis_agent_core-0.9.5/src/jarvis_core/__init__.py +270 -0
  11. jarvis_agent_core-0.9.5/src/jarvis_core/agents.py +177 -0
  12. jarvis_agent_core-0.9.5/src/jarvis_core/artifacts.py +109 -0
  13. jarvis_agent_core-0.9.5/src/jarvis_core/autonomous.py +482 -0
  14. jarvis_agent_core-0.9.5/src/jarvis_core/benchmarks.py +60 -0
  15. jarvis_agent_core-0.9.5/src/jarvis_core/calibration.py +153 -0
  16. jarvis_agent_core-0.9.5/src/jarvis_core/capabilities.py +85 -0
  17. jarvis_agent_core-0.9.5/src/jarvis_core/context.py +220 -0
  18. jarvis_agent_core-0.9.5/src/jarvis_core/evals.py +58 -0
  19. jarvis_agent_core-0.9.5/src/jarvis_core/evidence.py +109 -0
  20. jarvis_agent_core-0.9.5/src/jarvis_core/messages.py +121 -0
  21. jarvis_agent_core-0.9.5/src/jarvis_core/platform.py +88 -0
  22. jarvis_agent_core-0.9.5/src/jarvis_core/policy.py +96 -0
  23. jarvis_agent_core-0.9.5/src/jarvis_core/prompts.py +104 -0
  24. jarvis_agent_core-0.9.5/src/jarvis_core/py.typed +0 -0
  25. jarvis_agent_core-0.9.5/src/jarvis_core/quality.py +298 -0
  26. jarvis_agent_core-0.9.5/src/jarvis_core/recovery.py +83 -0
  27. jarvis_agent_core-0.9.5/src/jarvis_core/reliability.py +437 -0
  28. jarvis_agent_core-0.9.5/src/jarvis_core/resilience.py +120 -0
  29. jarvis_agent_core-0.9.5/src/jarvis_core/review.py +71 -0
  30. jarvis_agent_core-0.9.5/src/jarvis_core/sandbox.py +165 -0
  31. jarvis_agent_core-0.9.5/src/jarvis_core/search.py +74 -0
  32. jarvis_agent_core-0.9.5/src/jarvis_core/teams.py +163 -0
  33. jarvis_agent_core-0.9.5/src/jarvis_core/telemetry.py +135 -0
  34. jarvis_agent_core-0.9.5/src/jarvis_core/tokens.py +211 -0
  35. jarvis_agent_core-0.9.5/src/jarvis_core/tracing.py +78 -0
  36. jarvis_agent_core-0.9.5/src/jarvis_core/verification.py +101 -0
  37. jarvis_agent_core-0.9.5/tests/test_agents.py +39 -0
  38. jarvis_agent_core-0.9.5/tests/test_autonomous.py +121 -0
  39. jarvis_agent_core-0.9.5/tests/test_context.py +93 -0
  40. jarvis_agent_core-0.9.5/tests/test_evidence_independence.py +62 -0
  41. jarvis_agent_core-0.9.5/tests/test_messages.py +36 -0
  42. jarvis_agent_core-0.9.5/tests/test_more.py +96 -0
  43. jarvis_agent_core-0.9.5/tests/test_platform.py +80 -0
  44. jarvis_agent_core-0.9.5/tests/test_platform_v06.py +75 -0
  45. jarvis_agent_core-0.9.5/tests/test_quality.py +84 -0
  46. jarvis_agent_core-0.9.5/tests/test_reliability_v07.py +128 -0
  47. jarvis_agent_core-0.9.5/tests/test_runtime.py +161 -0
  48. jarvis_agent_core-0.9.5/tests/test_sandbox.py +81 -0
  49. jarvis_agent_core-0.9.5/tests/test_tokens.py +47 -0
  50. jarvis_agent_core-0.9.5/tests/test_world_class.py +120 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Abdullah Al Rifat
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.
@@ -0,0 +1,143 @@
1
+ Metadata-Version: 2.4
2
+ Name: jarvis-agent-core
3
+ Version: 0.9.5
4
+ Summary: Provider-neutral, token-efficient runtime contracts for Jarvis agents
5
+ Author: Abdullah Al Rifat
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 Abdullah Al Rifat
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://github.com/abdullahalrifat/jarvis-core
29
+ Project-URL: Documentation, https://github.com/abdullahalrifat/jarvis-core#readme
30
+ Project-URL: Repository, https://github.com/abdullahalrifat/jarvis-core
31
+ Project-URL: Changelog, https://github.com/abdullahalrifat/jarvis-core/blob/main/CHANGELOG.md
32
+ Project-URL: Issues, https://github.com/abdullahalrifat/jarvis-core/issues
33
+ Project-URL: PyPI, https://pypi.org/project/jarvis-agent-core/
34
+ Keywords: ai,agent,llm,orchestration,tool-calling
35
+ Classifier: Development Status :: 4 - Beta
36
+ Classifier: Intended Audience :: Developers
37
+ Classifier: License :: OSI Approved :: MIT License
38
+ Classifier: Operating System :: OS Independent
39
+ Classifier: Programming Language :: Python
40
+ Classifier: Programming Language :: Python :: 3 :: Only
41
+ Classifier: Programming Language :: Python :: 3.10
42
+ Classifier: Programming Language :: Python :: 3.11
43
+ Classifier: Programming Language :: Python :: 3.12
44
+ Classifier: Programming Language :: Python :: 3.13
45
+ Classifier: Typing :: Typed
46
+ Requires-Python: >=3.10
47
+ Description-Content-Type: text/markdown
48
+ License-File: LICENSE
49
+ Dynamic: license-file
50
+
51
+ # Jarvis Core
52
+
53
+ [![Validate](https://github.com/abdullahalrifat/jarvis-core/actions/workflows/validate.yml/badge.svg)](https://github.com/abdullahalrifat/jarvis-core/actions/workflows/validate.yml)
54
+ [![Release](https://img.shields.io/github/v/release/abdullahalrifat/jarvis-core)](https://github.com/abdullahalrifat/jarvis-core/releases)
55
+ [![PyPI](https://img.shields.io/pypi/v/jarvis-agent-core.svg)](https://pypi.org/project/jarvis-agent-core/)
56
+ [![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/)
57
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
58
+
59
+ `jarvis-agent-core` is the small typed dependency-free Python contract/runtime library shared by standalone Jarvis and AI Stack Server. It standardizes portable agent behavior without owning product-specific tools, storage, credentials, deployment policy or OS isolation.
60
+
61
+ ## Install
62
+
63
+ Python 3.10+ is required. Once a release is published to PyPI, install it normally:
64
+
65
+ ```bash
66
+ python -m pip install jarvis-agent-core
67
+ ```
68
+
69
+ For a reproducible consumer dependency, pin a specific published release:
70
+
71
+ ```bash
72
+ python -m pip install "jarvis-agent-core==X.Y.Z"
73
+ ```
74
+
75
+ For development:
76
+
77
+ ```bash
78
+ git clone https://github.com/abdullahalrifat/jarvis-core.git
79
+ cd jarvis-core
80
+ python -m pip install -e . -r requirements-dev.txt
81
+ python -m pytest
82
+ ```
83
+
84
+ ## Capabilities
85
+
86
+ Core provides typed deterministic contracts/primitives for token accounting, context compaction, artifacts, evidence/verification, model routing/calibration, failure recovery, multi-agent orchestration, instructions/memory, MCP permissions, schedules/remote execution, leases, proof records, citations and evaluation cases.
87
+
88
+ Core deliberately does **not** access repositories, execute commands, call model endpoints, start MCP processes, persist product sessions, run cloud workers, enforce tenancy, implement OS sandboxes or approve changes. Jarvis/Server must wire contracts into the real execution path.
89
+
90
+ See [docs/contract-boundaries.md](docs/contract-boundaries.md) for the enforcement and trust boundary.
91
+
92
+ ## Contract enforcement matters
93
+
94
+ A Core field is not automatically a security control. Consumers must enforce approval before dispatch, durable lease predicates for cloud state, real execution-derived proof, and credential isolation. Independent evidence must also have a verifiable identity and must not be satisfied by reference-only or duplicate evidence for the same claim.
95
+
96
+ ## Compatibility and release policy
97
+
98
+ - semantic versioning is used while the pre-1.0 API stabilizes;
99
+ - patch releases should remain compatible within a minor line;
100
+ - breaking contracts require coordinated Core/Jarvis/Server releases;
101
+ - publish Core first, then pin consumers to the released package version;
102
+ - an existing GitHub Release is never silently replaced;
103
+ - PyPI publication uses GitHub Actions Trusted Publishing; no long-lived PyPI API token is stored in GitHub.
104
+
105
+ Current coordinated line:
106
+
107
+ | Core | Jarvis | AI Stack Server | Python |
108
+ | --- | --- | --- | --- |
109
+ | **0.9.4 GitHub release / PyPI pending** | **0.9.1** | **0.9.3 consumer target** | 3.10+ |
110
+
111
+ ## Development
112
+
113
+ ```bash
114
+ black --check src tests
115
+ ruff check src tests --select E9,F63,F7,F82
116
+ pytest -q --cov=jarvis_core --cov-report=term-missing --cov-fail-under=85
117
+ python -m build
118
+ python -m twine check dist/*
119
+ ```
120
+
121
+ Read [CONTRIBUTING.md](CONTRIBUTING.md), [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md), [SUPPORT.md](SUPPORT.md) and [SECURITY.md](SECURITY.md) before contributing/reporting issues.
122
+
123
+ ## Releases and supply chain
124
+
125
+ A version bump merged to `main` is validated against the exact commit, built as a wheel and sdist, checked with Twine, smoke-tested in a clean environment, checksummed, provenance-attested and published as a GitHub Release. The same release workflow then publishes the exact validated distributions to PyPI using Trusted Publishing. Existing immutable releases are never replaced.
126
+
127
+ ### Release flow
128
+
129
+ ```text
130
+ merge to main
131
+ -> validate + test
132
+ -> build wheel/sdist
133
+ -> clean-environment install check
134
+ -> SHA-256 checksums + provenance attestation
135
+ -> GitHub Release vX.Y.Z
136
+ -> PyPI Trusted Publishing
137
+ ```
138
+
139
+ Consumers should depend on the PyPI package rather than a Git checkout or mutable branch. During local development, use an editable install of a checked-out `jarvis-core` repository.
140
+
141
+ ## License
142
+
143
+ Jarvis Core is available under the [MIT License](LICENSE).
@@ -0,0 +1,93 @@
1
+ # Jarvis Core
2
+
3
+ [![Validate](https://github.com/abdullahalrifat/jarvis-core/actions/workflows/validate.yml/badge.svg)](https://github.com/abdullahalrifat/jarvis-core/actions/workflows/validate.yml)
4
+ [![Release](https://img.shields.io/github/v/release/abdullahalrifat/jarvis-core)](https://github.com/abdullahalrifat/jarvis-core/releases)
5
+ [![PyPI](https://img.shields.io/pypi/v/jarvis-agent-core.svg)](https://pypi.org/project/jarvis-agent-core/)
6
+ [![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/)
7
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
8
+
9
+ `jarvis-agent-core` is the small typed dependency-free Python contract/runtime library shared by standalone Jarvis and AI Stack Server. It standardizes portable agent behavior without owning product-specific tools, storage, credentials, deployment policy or OS isolation.
10
+
11
+ ## Install
12
+
13
+ Python 3.10+ is required. Once a release is published to PyPI, install it normally:
14
+
15
+ ```bash
16
+ python -m pip install jarvis-agent-core
17
+ ```
18
+
19
+ For a reproducible consumer dependency, pin a specific published release:
20
+
21
+ ```bash
22
+ python -m pip install "jarvis-agent-core==X.Y.Z"
23
+ ```
24
+
25
+ For development:
26
+
27
+ ```bash
28
+ git clone https://github.com/abdullahalrifat/jarvis-core.git
29
+ cd jarvis-core
30
+ python -m pip install -e . -r requirements-dev.txt
31
+ python -m pytest
32
+ ```
33
+
34
+ ## Capabilities
35
+
36
+ Core provides typed deterministic contracts/primitives for token accounting, context compaction, artifacts, evidence/verification, model routing/calibration, failure recovery, multi-agent orchestration, instructions/memory, MCP permissions, schedules/remote execution, leases, proof records, citations and evaluation cases.
37
+
38
+ Core deliberately does **not** access repositories, execute commands, call model endpoints, start MCP processes, persist product sessions, run cloud workers, enforce tenancy, implement OS sandboxes or approve changes. Jarvis/Server must wire contracts into the real execution path.
39
+
40
+ See [docs/contract-boundaries.md](docs/contract-boundaries.md) for the enforcement and trust boundary.
41
+
42
+ ## Contract enforcement matters
43
+
44
+ A Core field is not automatically a security control. Consumers must enforce approval before dispatch, durable lease predicates for cloud state, real execution-derived proof, and credential isolation. Independent evidence must also have a verifiable identity and must not be satisfied by reference-only or duplicate evidence for the same claim.
45
+
46
+ ## Compatibility and release policy
47
+
48
+ - semantic versioning is used while the pre-1.0 API stabilizes;
49
+ - patch releases should remain compatible within a minor line;
50
+ - breaking contracts require coordinated Core/Jarvis/Server releases;
51
+ - publish Core first, then pin consumers to the released package version;
52
+ - an existing GitHub Release is never silently replaced;
53
+ - PyPI publication uses GitHub Actions Trusted Publishing; no long-lived PyPI API token is stored in GitHub.
54
+
55
+ Current coordinated line:
56
+
57
+ | Core | Jarvis | AI Stack Server | Python |
58
+ | --- | --- | --- | --- |
59
+ | **0.9.4 GitHub release / PyPI pending** | **0.9.1** | **0.9.3 consumer target** | 3.10+ |
60
+
61
+ ## Development
62
+
63
+ ```bash
64
+ black --check src tests
65
+ ruff check src tests --select E9,F63,F7,F82
66
+ pytest -q --cov=jarvis_core --cov-report=term-missing --cov-fail-under=85
67
+ python -m build
68
+ python -m twine check dist/*
69
+ ```
70
+
71
+ Read [CONTRIBUTING.md](CONTRIBUTING.md), [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md), [SUPPORT.md](SUPPORT.md) and [SECURITY.md](SECURITY.md) before contributing/reporting issues.
72
+
73
+ ## Releases and supply chain
74
+
75
+ A version bump merged to `main` is validated against the exact commit, built as a wheel and sdist, checked with Twine, smoke-tested in a clean environment, checksummed, provenance-attested and published as a GitHub Release. The same release workflow then publishes the exact validated distributions to PyPI using Trusted Publishing. Existing immutable releases are never replaced.
76
+
77
+ ### Release flow
78
+
79
+ ```text
80
+ merge to main
81
+ -> validate + test
82
+ -> build wheel/sdist
83
+ -> clean-environment install check
84
+ -> SHA-256 checksums + provenance attestation
85
+ -> GitHub Release vX.Y.Z
86
+ -> PyPI Trusted Publishing
87
+ ```
88
+
89
+ Consumers should depend on the PyPI package rather than a Git checkout or mutable branch. During local development, use an editable install of a checked-out `jarvis-core` repository.
90
+
91
+ ## License
92
+
93
+ Jarvis Core is available under the [MIT License](LICENSE).
@@ -0,0 +1,53 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "jarvis-agent-core"
7
+ version = "0.9.5"
8
+ description = "Provider-neutral, token-efficient runtime contracts for Jarvis agents"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = {file = "LICENSE"}
12
+ authors = [
13
+ {name = "Abdullah Al Rifat"},
14
+ ]
15
+ keywords = ["ai", "agent", "llm", "orchestration", "tool-calling"]
16
+ dependencies = []
17
+ classifiers = [
18
+ "Development Status :: 4 - Beta",
19
+ "Intended Audience :: Developers",
20
+ "License :: OSI Approved :: MIT License",
21
+ "Operating System :: OS Independent",
22
+ "Programming Language :: Python",
23
+ "Programming Language :: Python :: 3 :: Only",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
28
+ "Typing :: Typed",
29
+ ]
30
+
31
+ [project.urls]
32
+ Homepage = "https://github.com/abdullahalrifat/jarvis-core"
33
+ Documentation = "https://github.com/abdullahalrifat/jarvis-core#readme"
34
+ Repository = "https://github.com/abdullahalrifat/jarvis-core"
35
+ Changelog = "https://github.com/abdullahalrifat/jarvis-core/blob/main/CHANGELOG.md"
36
+ Issues = "https://github.com/abdullahalrifat/jarvis-core/issues"
37
+ PyPI = "https://pypi.org/project/jarvis-agent-core/"
38
+
39
+ [tool.setuptools.packages.find]
40
+ where = ["src"]
41
+
42
+ [tool.setuptools.package-data]
43
+ jarvis_core = ["py.typed"]
44
+
45
+ [tool.pytest.ini_options]
46
+ testpaths = ["tests"]
47
+ pythonpath = ["src"]
48
+
49
+ [tool.black]
50
+ target-version = ["py310"]
51
+
52
+ [tool.ruff]
53
+ target-version = "py310"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,143 @@
1
+ Metadata-Version: 2.4
2
+ Name: jarvis-agent-core
3
+ Version: 0.9.5
4
+ Summary: Provider-neutral, token-efficient runtime contracts for Jarvis agents
5
+ Author: Abdullah Al Rifat
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 Abdullah Al Rifat
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://github.com/abdullahalrifat/jarvis-core
29
+ Project-URL: Documentation, https://github.com/abdullahalrifat/jarvis-core#readme
30
+ Project-URL: Repository, https://github.com/abdullahalrifat/jarvis-core
31
+ Project-URL: Changelog, https://github.com/abdullahalrifat/jarvis-core/blob/main/CHANGELOG.md
32
+ Project-URL: Issues, https://github.com/abdullahalrifat/jarvis-core/issues
33
+ Project-URL: PyPI, https://pypi.org/project/jarvis-agent-core/
34
+ Keywords: ai,agent,llm,orchestration,tool-calling
35
+ Classifier: Development Status :: 4 - Beta
36
+ Classifier: Intended Audience :: Developers
37
+ Classifier: License :: OSI Approved :: MIT License
38
+ Classifier: Operating System :: OS Independent
39
+ Classifier: Programming Language :: Python
40
+ Classifier: Programming Language :: Python :: 3 :: Only
41
+ Classifier: Programming Language :: Python :: 3.10
42
+ Classifier: Programming Language :: Python :: 3.11
43
+ Classifier: Programming Language :: Python :: 3.12
44
+ Classifier: Programming Language :: Python :: 3.13
45
+ Classifier: Typing :: Typed
46
+ Requires-Python: >=3.10
47
+ Description-Content-Type: text/markdown
48
+ License-File: LICENSE
49
+ Dynamic: license-file
50
+
51
+ # Jarvis Core
52
+
53
+ [![Validate](https://github.com/abdullahalrifat/jarvis-core/actions/workflows/validate.yml/badge.svg)](https://github.com/abdullahalrifat/jarvis-core/actions/workflows/validate.yml)
54
+ [![Release](https://img.shields.io/github/v/release/abdullahalrifat/jarvis-core)](https://github.com/abdullahalrifat/jarvis-core/releases)
55
+ [![PyPI](https://img.shields.io/pypi/v/jarvis-agent-core.svg)](https://pypi.org/project/jarvis-agent-core/)
56
+ [![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/)
57
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
58
+
59
+ `jarvis-agent-core` is the small typed dependency-free Python contract/runtime library shared by standalone Jarvis and AI Stack Server. It standardizes portable agent behavior without owning product-specific tools, storage, credentials, deployment policy or OS isolation.
60
+
61
+ ## Install
62
+
63
+ Python 3.10+ is required. Once a release is published to PyPI, install it normally:
64
+
65
+ ```bash
66
+ python -m pip install jarvis-agent-core
67
+ ```
68
+
69
+ For a reproducible consumer dependency, pin a specific published release:
70
+
71
+ ```bash
72
+ python -m pip install "jarvis-agent-core==X.Y.Z"
73
+ ```
74
+
75
+ For development:
76
+
77
+ ```bash
78
+ git clone https://github.com/abdullahalrifat/jarvis-core.git
79
+ cd jarvis-core
80
+ python -m pip install -e . -r requirements-dev.txt
81
+ python -m pytest
82
+ ```
83
+
84
+ ## Capabilities
85
+
86
+ Core provides typed deterministic contracts/primitives for token accounting, context compaction, artifacts, evidence/verification, model routing/calibration, failure recovery, multi-agent orchestration, instructions/memory, MCP permissions, schedules/remote execution, leases, proof records, citations and evaluation cases.
87
+
88
+ Core deliberately does **not** access repositories, execute commands, call model endpoints, start MCP processes, persist product sessions, run cloud workers, enforce tenancy, implement OS sandboxes or approve changes. Jarvis/Server must wire contracts into the real execution path.
89
+
90
+ See [docs/contract-boundaries.md](docs/contract-boundaries.md) for the enforcement and trust boundary.
91
+
92
+ ## Contract enforcement matters
93
+
94
+ A Core field is not automatically a security control. Consumers must enforce approval before dispatch, durable lease predicates for cloud state, real execution-derived proof, and credential isolation. Independent evidence must also have a verifiable identity and must not be satisfied by reference-only or duplicate evidence for the same claim.
95
+
96
+ ## Compatibility and release policy
97
+
98
+ - semantic versioning is used while the pre-1.0 API stabilizes;
99
+ - patch releases should remain compatible within a minor line;
100
+ - breaking contracts require coordinated Core/Jarvis/Server releases;
101
+ - publish Core first, then pin consumers to the released package version;
102
+ - an existing GitHub Release is never silently replaced;
103
+ - PyPI publication uses GitHub Actions Trusted Publishing; no long-lived PyPI API token is stored in GitHub.
104
+
105
+ Current coordinated line:
106
+
107
+ | Core | Jarvis | AI Stack Server | Python |
108
+ | --- | --- | --- | --- |
109
+ | **0.9.4 GitHub release / PyPI pending** | **0.9.1** | **0.9.3 consumer target** | 3.10+ |
110
+
111
+ ## Development
112
+
113
+ ```bash
114
+ black --check src tests
115
+ ruff check src tests --select E9,F63,F7,F82
116
+ pytest -q --cov=jarvis_core --cov-report=term-missing --cov-fail-under=85
117
+ python -m build
118
+ python -m twine check dist/*
119
+ ```
120
+
121
+ Read [CONTRIBUTING.md](CONTRIBUTING.md), [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md), [SUPPORT.md](SUPPORT.md) and [SECURITY.md](SECURITY.md) before contributing/reporting issues.
122
+
123
+ ## Releases and supply chain
124
+
125
+ A version bump merged to `main` is validated against the exact commit, built as a wheel and sdist, checked with Twine, smoke-tested in a clean environment, checksummed, provenance-attested and published as a GitHub Release. The same release workflow then publishes the exact validated distributions to PyPI using Trusted Publishing. Existing immutable releases are never replaced.
126
+
127
+ ### Release flow
128
+
129
+ ```text
130
+ merge to main
131
+ -> validate + test
132
+ -> build wheel/sdist
133
+ -> clean-environment install check
134
+ -> SHA-256 checksums + provenance attestation
135
+ -> GitHub Release vX.Y.Z
136
+ -> PyPI Trusted Publishing
137
+ ```
138
+
139
+ Consumers should depend on the PyPI package rather than a Git checkout or mutable branch. During local development, use an editable install of a checked-out `jarvis-core` repository.
140
+
141
+ ## License
142
+
143
+ Jarvis Core is available under the [MIT License](LICENSE).
@@ -0,0 +1,48 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/jarvis_agent_core.egg-info/PKG-INFO
5
+ src/jarvis_agent_core.egg-info/SOURCES.txt
6
+ src/jarvis_agent_core.egg-info/dependency_links.txt
7
+ src/jarvis_agent_core.egg-info/top_level.txt
8
+ src/jarvis_core/__init__.py
9
+ src/jarvis_core/agents.py
10
+ src/jarvis_core/artifacts.py
11
+ src/jarvis_core/autonomous.py
12
+ src/jarvis_core/benchmarks.py
13
+ src/jarvis_core/calibration.py
14
+ src/jarvis_core/capabilities.py
15
+ src/jarvis_core/context.py
16
+ src/jarvis_core/evals.py
17
+ src/jarvis_core/evidence.py
18
+ src/jarvis_core/messages.py
19
+ src/jarvis_core/platform.py
20
+ src/jarvis_core/policy.py
21
+ src/jarvis_core/prompts.py
22
+ src/jarvis_core/py.typed
23
+ src/jarvis_core/quality.py
24
+ src/jarvis_core/recovery.py
25
+ src/jarvis_core/reliability.py
26
+ src/jarvis_core/resilience.py
27
+ src/jarvis_core/review.py
28
+ src/jarvis_core/sandbox.py
29
+ src/jarvis_core/search.py
30
+ src/jarvis_core/teams.py
31
+ src/jarvis_core/telemetry.py
32
+ src/jarvis_core/tokens.py
33
+ src/jarvis_core/tracing.py
34
+ src/jarvis_core/verification.py
35
+ tests/test_agents.py
36
+ tests/test_autonomous.py
37
+ tests/test_context.py
38
+ tests/test_evidence_independence.py
39
+ tests/test_messages.py
40
+ tests/test_more.py
41
+ tests/test_platform.py
42
+ tests/test_platform_v06.py
43
+ tests/test_quality.py
44
+ tests/test_reliability_v07.py
45
+ tests/test_runtime.py
46
+ tests/test_sandbox.py
47
+ tests/test_tokens.py
48
+ tests/test_world_class.py