Skip to main content

First-party atomic node pack for the JARVIS stack (metadata + handlers).

Project description

JARVIS Atomic Nodes (Node Pack)

First-party “node pack” for the JARVIS stack. This package provides:

  • NodeType metadata for Node Registry + Selection
  • Atomic handler implementations for Atomic Executor

This is a trusted, in-process node pack (v0.x). It does not implement runtime code download.

Install

Metadata-only (safe for Node Registry):

python3 -m pip install arp-jarvis-atomic-nodes

Or explicitly:

python3 -m pip install "arp-jarvis-atomic-nodes[metadata]"

Runtime handlers (Atomic Executor):

python3 -m pip install "arp-jarvis-atomic-nodes[runtime]"

Usage

NodeType metadata (Node Registry)

from jarvis_atomic_nodes.catalog import node_types

node_type_list = node_types()

Handler registry (Atomic Executor)

from jarvis_atomic_nodes.handlers import handlers

handler_map = handlers(require_http=True)

Authoring nodes (LangChain-like)

from pydantic import BaseModel, HttpUrl
from jarvis_atomic_nodes.sdk import atomic_node, NodeContext

class WebFetchIn(BaseModel):
    url: HttpUrl

class WebFetchOut(BaseModel):
    status_code: int
    content_base64: str

@atomic_node(name="jarvis.web.fetch", side_effect="read")
async def web_fetch(inp: WebFetchIn, ctx: NodeContext) -> WebFetchOut:
    """Fetch a URL over HTTP(S) and return bytes."""
    resp = await ctx.http.get(str(inp.url))
    return WebFetchOut(status_code=resp.status_code, content_base64=resp.content)

Entry point discovery

This package exposes a NodePack entry point:

  • group: jarvis.nodepacks
  • name: jarvis.core
  • object: jarvis_atomic_nodes.pack:core_pack
from jarvis_atomic_nodes.discovery import load_nodepacks, load_handlers, load_node_types

packs = load_nodepacks()
handlers = load_handlers()
node_types = load_node_types()

Included nodes (v0.3.1 baseline)

Core:

  • jarvis.core.echo
  • jarvis.core.sleep
  • jarvis.core.uuid4
  • jarvis.core.time.now
  • jarvis.core.hash.sha256

HTTP:

  • jarvis.web.fetch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arp_jarvis_atomic_nodes-0.3.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arp_jarvis_atomic_nodes-0.3.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file arp_jarvis_atomic_nodes-0.3.1.tar.gz.

File metadata

  • Download URL: arp_jarvis_atomic_nodes-0.3.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arp_jarvis_atomic_nodes-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2eaea9293845af45e84d5626e5b48b9969d5c8ddab30e64c84442bf20a9da27d
MD5 b3f62fb839bdaf0bed851bb549f67e15
BLAKE2b-256 966a89cbdfee1ec79323de172a1ca7c48608d3d72921ad1461a5b10844dac21e

See more details on using hashes here.

Provenance

The following attestation bundles were made for arp_jarvis_atomic_nodes-0.3.1.tar.gz:

Publisher: release.yml on AgentRuntimeProtocol/JARVIS_AtomicNodes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arp_jarvis_atomic_nodes-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for arp_jarvis_atomic_nodes-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b433d89a3136f841a7f798e62f6c8488323cb0829d7832c2bd5dabef3d628b8c
MD5 19c0ceb383a7a77dc412d9069de84fdb
BLAKE2b-256 4957ee8df9e9634f4bd44fb37516c498d2f3ebe795f550f64e05fc8a126446c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for arp_jarvis_atomic_nodes-0.3.1-py3-none-any.whl:

Publisher: release.yml on AgentRuntimeProtocol/JARVIS_AtomicNodes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page