Skip to main content

behalf

A small framework for the recurring pattern of a scoped agent: hand it a brief, a fixed set of tools, and bounded authority, and it does one job.

Abstractions

  • Task what to elicit from the user, which tools the agent gets, and what a valid result is.
  • ToolSpec can be a single tool or action.
  • runner backend is the model like the Claude Agent SDK, Google ADK, or Strands on Bedrock.
from behalf import run_task, make_runner
outcome = await run_task(MyTask(), make_runner("aws"))

Install

pip install behalf            # core only (no backend)
pip install behalf[claude]    # + Claude Agent SDK
pip install behalf[aws]       # + Strands / Bedrock
pip install behalf[gemini]    # + Google ADK

License

HPCIC DevTools is distributed under the terms of the MIT license. All new contributions must be made under this license.

See LICENSE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (MIT)

LLNL-CODE- 842614

Release files for behalf 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for behalf 0.1.0
File Size Uploaded
behalf-0.1.0.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for behalf 0.1.0
File Interpreter ABI Platform
behalf-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.6 kB

Release files / behalf-0.1.0.tar.gz

Download URL behalf-0.1.0.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
01938bf4de266ab80bcc62806d5e5d8178a0834816a75cea3aa14a1e3db96ca6
BLAKE2b-256 checksum
How to use checksums
9c16bcc34dc1048ff04e99fae46f2b4ecc10d2a564f8ad27ae26d1c6068e57c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / behalf-0.1.0-py3-none-any.whl

Download URL behalf-0.1.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63344fa6a75cd60b9bab7040af295dc2f355469019896c8a1f2b73294d369c26
BLAKE2b-256 checksum
How to use checksums
993d13c52f027c20793f81a121909557935d103fc15267ee5215d2914b4d5ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page