A small framework for scoped agents: a brief, a typed toolset (read/action), a pluggable model backend.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file behalf-0.1.0.tar.gz.
File metadata
- Download URL: behalf-0.1.0.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01938bf4de266ab80bcc62806d5e5d8178a0834816a75cea3aa14a1e3db96ca6
|
|
| MD5 |
cc996507e73debf7d7906c4b76764676
|
|
| BLAKE2b-256 |
9c16bcc34dc1048ff04e99fae46f2b4ecc10d2a564f8ad27ae26d1c6068e57c8
|
File details
Details for the file behalf-0.1.0-py3-none-any.whl.
File metadata
- Download URL: behalf-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63344fa6a75cd60b9bab7040af295dc2f355469019896c8a1f2b73294d369c26
|
|
| MD5 |
60458675681ce003b4b27920a7425642
|
|
| BLAKE2b-256 |
993d13c52f027c20793f81a121909557935d103fc15267ee5215d2914b4d5ab6
|