Jarvis Core
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.
Install
Python 3.10+ is required. The current Core release is 0.10.1:
python -m pip install "jarvis-agent-core==0.10.1"
For development:
git clone https://github.com/abdullahalrifat/jarvis-core.git
cd jarvis-core
python -m pip install -e . -r requirements-dev.txt
python -m pytest
Capabilities
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. The 0.10.x line also exposes the shared per-task sandbox policy used by Jarvis and AI Stack Server.
Core deliberately does not access repositories, execute commands, call model endpoints, start MCP processes, persist product sessions, run cloud workers, enforce tenancy, or approve changes. Jarvis/Server must wire contracts into the real execution path; OS sandbox enforcement remains a consumer/runtime responsibility.
See docs/contract-boundaries.md for the enforcement and trust boundary.
Contract enforcement matters
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.
Compatibility and release policy
- semantic versioning is used while the pre-1.0 API stabilizes;
- patch releases should remain compatible within a minor line;
- breaking contracts require coordinated Core/Jarvis/Server releases;
- publish Core first, then pin consumers to the released package version;
- an existing GitHub Release is never silently replaced;
- PyPI publication uses GitHub Actions Trusted Publishing; no long-lived PyPI API token is stored in GitHub.
Current release coordination:
| Component | Version |
|---|---|
| Core | 0.10.1 |
| Jarvis | update to 0.10.1 Core after the Core release is published |
| AI Stack Server | update to 0.10.1 Core after the Core release is published |
| Python | 3.10+ |
Development
black --check src tests
ruff check src tests --select E9,F63,F7,F82
pytest -q --cov=jarvis_core --cov-report=term-missing --cov-fail-under=85
python -m build
python -m twine check dist/*
Read CONTRIBUTING.md, CODE_OF_CONDUCT.md, SUPPORT.md and SECURITY.md before contributing/reporting issues.
Releases and supply chain
Core releases are versioned explicitly. 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.
Release flow
version/documentation PR
-> CI
-> merge to main
-> validate exact merged SHA
-> build wheel/sdist
-> clean-environment install check
-> SHA-256 checksums + provenance attestation
-> GitHub Release vX.Y.Z
-> PyPI Trusted Publishing
-> consumer repositories update their pinned Core version
For an already-created GitHub release that needs a publication retry, maintainers can use the workflow_dispatch input on .github/workflows/release.yml and select the immutable release tag. This is for republishing an existing version only; a documentation or code correction must use a new semantic version.
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.
License
Jarvis Core is available under the MIT License.
Metadata
Release files for jarvis-agent-core 0.10.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jarvis_agent_core-0.10.1.tar.gz | 49.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jarvis_agent_core-0.10.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.1 kB
Release files / jarvis_agent_core-0.10.1.tar.gz
| Download URL | jarvis_agent_core-0.10.1.tar.gz |
|---|---|
| Size | 49.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b515f8fc9c95a07de39ca06ee4018c406f7b7f51941ffcb1d35567cb4142ad0e
|
|
BLAKE2b-256 checksum How to use checksums |
4f0fcb571f02a83474583507bd05aa706d1b8cbb5813c9688e040e4d29c939ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / jarvis_agent_core-0.10.1-py3-none-any.whl
| Download URL | jarvis_agent_core-0.10.1-py3-none-any.whl |
|---|---|
| Size | 50.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
545686ed7eb1a0306fd55b9050ecc3a2dc037beea85cb60933d97963f04fafec
|
|
BLAKE2b-256 checksum How to use checksums |
e4905a3844ab655e82094c35d38b60123993bfa2907453ada735c93dc88fd739
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency log