Skip to main content

Portable, zero-dependency @tool decorator for authoring agent toolkits — runs in Irene, standalone, or under agno.

Project description

irene-tools

A tiny, zero-dependency @tool decorator for authoring agent toolkits. A toolkit authored with irene-tools is portable: it runs inside Irene, runs standalone (python toolkit.py), and is usable by agno and other frameworks — because it depends on nothing.

from irene_tools import tool

@tool(category="weather")
def get_forecast(city: str) -> str:
    """Get the forecast for a city."""
    return f"Sunny in {city}"

Why

A capability you build should be yours to keep and move. irene-tools is the opposite of lock-in: the decorator only stamps metadata and returns your function unchanged, so the same toolkit.py works everywhere. No SDK to install a runtime, no framework coupling.

The toolkit convention

my_toolkit/
  toolkit.py       # @tool-decorated functions
  manifest.json    # derived: {name, description, tools[...], manifest_version}

API

  • @tool(category="custom", tags=[], description=None, dangerous=False) — mark a function.
  • get_workspace() — the dir to read/write files in (host-injected; cwd standalone).
  • get_secret(key, default=None) — the current end-user's per-user secret (host-injected).

MIT licensed.

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

irene_tools-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

irene_tools-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file irene_tools-0.1.0.tar.gz.

File metadata

  • Download URL: irene_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for irene_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2c8d45eac3f08a090b0f66a0626e3c402131bfd17b6137af05d44c4366b00857
MD5 2df427edc08a1938a7286dba47ad9f3b
BLAKE2b-256 c5ca216917ca4109686da326c11a31da93311ffbad2612e4ce13703e1d7ac572

See more details on using hashes here.

File details

Details for the file irene_tools-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: irene_tools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for irene_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b785e8a8e32bc832d418e44eaa4804d60e2a3b3e8263cc25bddbd4487d99b04
MD5 8cc932ff1dcee79eed08a0041f7956b3
BLAKE2b-256 70bf49afe061a8495c770f4e8e4a0f37b37fa200906999178eeaef176016c731

See more details on using hashes here.

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