multiagent-inspect
Multi-agent system for AI evaluations in AISI's inspect-ai framework
We provide a set of tools which allow agents to delegate tasks to sub-agents. Specifically, the init_sub_agents function return three tools:
sub_agent_specs: Return info about the sub-agent(s)run_sub_agent: Give string input to one sub-agent and execute it.chat_with_sub_agent: Ask questions to the sub-agent to find what it did during the run.
Installation
pip install multiagent-inspect
pip install openai
Instead of openai, you can use any other model provider. See https://inspect.ai-safety-institute.org.uk/models.html.
Usage
from inspect_ai.solver import basic_agent
from multiagent_inspect import SubAgentConfig, init_sub_agents
from my_inspect_tools import tool1, tool2, tool3, tool4
sub_agent_1 = SubAgentConfig(tools=[tool1, tool2], max_steps=5)
sub_agent_2 = SubAgentConfig(tools=[tool3], model="openai/gpt-4o")
main_agent=basic_agent(
init=init_sub_agents([sub_agent_1, sub_agent_2]),
tools=[tool4],
)
Contributions are welcome!
Metadata
Release files for multiagent-inspect 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| multiagent_inspect-0.0.7.tar.gz | 11.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| multiagent_inspect-0.0.7-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 19.9 kB
Release files / multiagent_inspect-0.0.7.tar.gz
| Download URL | multiagent_inspect-0.0.7.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dce57da3355fa6269b2a5e2f33aa45864765c922c7fa86829b49861194f06294
|
|
BLAKE2b-256 checksum How to use checksums |
402bfb8e5262d81121cd9599b971678540450c9f0aa0785cfc78a3baf62db078
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 5, 2025.
Transparency logRelease files / multiagent_inspect-0.0.7-py2.py3-none-any.whl
| Download URL | multiagent_inspect-0.0.7-py2.py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f7971e99d6df8e9ec01f9801734094141337713ddd3db433523fa9ac471d457d
|
|
BLAKE2b-256 checksum How to use checksums |
5cbfc272190d47fc87393106532038227d8f8ff1b74448be537a1fc628b86889
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 5, 2025.
Transparency logSecurity for multiagent-inspect 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for multiagent_inspect-0.0.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 5, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.