Skip to main content

Vendored agent tools for the calfkit SDK: hermes shell/files/web/todo and an SSRF-safe web_fetch, each deployable as a calfkit tool node.

Project description

🐮 calfkit-tools

Tests Coverage License: Apache-2.0

A single distribution where calfkit vendors agent tools ported from many upstream open-source codebases into one place.

calfkit's tool interface is Kafka-based (language-agnostic): a "node tool" is a process that consumes a request topic and produces a reply. This repo packages those tools as one installable distribution, calfkit-tools — organised internally by the upstream source each tool was vendored from, each a subpackage exposing its tools over the calfkit Kafka contract.

Layout

  • src/calfkit_tools/<source>/ — one subpackage per upstream source (e.g. hermes, web_fetch); its tool nodes live under <source>/node/.
  • vendor/<source>/ — provenance only (LICENSE, METADATA.yaml, NODE.md, README.md, patches/). Never on sys.path, never in the wheel.
  • vendor/_template/ — copy this to start a new source.
  • tests/<source>/ — per-source test suites.
  • pyproject.toml — the single calfkit-tools distribution (deps + extras).
  • docs/project-structure.mdstart here to add a source.
  • docs/reference/tool-contracts.md — roll-up of every tool node's interface contract (params, deps/resource wiring, env config, reply shapes); each source's vendor/<source>/NODE.md stays authoritative.
  • docs/design/ — per-tool design docs (e.g. the hermes-agent shell+file port).
  • docs/tools-research/ — the upstream survey that informed which tools to vendor.
  • THIRD_PARTY_NOTICES.md — aggregated attribution index (per-source vendor/<source>/LICENSE
    • METADATA.yaml are authoritative).

Install

One distribution covers every default tool path:

pip install calfkit-tools          # or: uv add calfkit-tools

The base install runs all tools with their default backends. Three opt-in extras enable remote shell-execution backends only (the default local backend needs none of them):

pip install "calfkit-tools[shell-docker]"   # docker backend
pip install "calfkit-tools[shell-modal]"    # modal backend
pip install "calfkit-tools[shell-daytona]"  # daytona backend
pip install "calfkit-tools[all]"            # all three

Adding a source

Add code under src/calfkit_tools/<source>/, provenance under vendor/<source>/, tests under tests/<source>/, and any new deps/extras to the root pyproject.toml. Follow docs/project-structure.md. Vendor by source (license-first, per the open-source-vendoring-best-practices conventions), expose by tool, and keep upstream code import-rewritten under _vendor/.

Status

Stage D landed: all eleven vendored tools are deployable calfkit tool nodes (calfkit ≥ 0.9.0, 1:1 tool→node, in-memory multitenancy keyed per calling agent — ADR-0004). Import-and-deploy:

from calfkit_tools.hermes.node import HERMES_NODES          # terminal, process, files, todo, web, execute_code
from calfkit_tools.web_fetch.node import web_fetch

See docs/design/node-port.md and each source's vendor/<source>/NODE.md for contracts, wiring, and the trust model. Durable state and security hardening remain deferred.

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

calfkit_tools-0.1.1.tar.gz (766.0 kB view details)

Uploaded Source

Built Distribution

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

calfkit_tools-0.1.1-py3-none-any.whl (528.7 kB view details)

Uploaded Python 3

File details

Details for the file calfkit_tools-0.1.1.tar.gz.

File metadata

  • Download URL: calfkit_tools-0.1.1.tar.gz
  • Upload date:
  • Size: 766.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for calfkit_tools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 40aa408acda5cd4b8fbd37d9c70d3ec393d2b87e5a2ca835ddb8573d9a2425bf
MD5 6b978ec717a5d0ed49d9c89c0a801a81
BLAKE2b-256 35595bcc7f3ed2ecb83b530e451ed83e638a244bda146c5fc554f9baf7f5583a

See more details on using hashes here.

Provenance

The following attestation bundles were made for calfkit_tools-0.1.1.tar.gz:

Publisher: release.yml on calf-ai/calfkit-peripherals

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

File details

Details for the file calfkit_tools-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: calfkit_tools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 528.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for calfkit_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b13cedd37daded0d1db044e73c0399e6cc36121b311620ed62bd4109a4ae4488
MD5 a06b4aeaa2741e4e23adb77d36312c1e
BLAKE2b-256 1d5c6f101e2b94333d14128ebd9950fba30b16f56732d1edb29690e15674df96

See more details on using hashes here.

Provenance

The following attestation bundles were made for calfkit_tools-0.1.1-py3-none-any.whl:

Publisher: release.yml on calf-ai/calfkit-peripherals

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