MOSS signing integration for AutoGen agents
Project description
moss-autogen
MOSS signing integration for AutoGen agents.
Installation
pip install moss-autogen
Usage
from autogen import AssistantAgent
from moss_autogen import signed_agent
# Create your AutoGen agent
agent = AssistantAgent(
name="analyst",
llm_config={"model": "gpt-4"}
)
# Wrap with MOSS signing
agent = signed_agent(agent, "moss:lab:analyst")
# After agent replies, signature is available
reply = agent.generate_reply(messages=[{"content": "Analyze this data"}])
envelope = agent.moss_envelope # MOSS Envelope with signature
Verification
from moss import Subject
# Verify the agent's output
result = Subject.verify(agent.moss_envelope)
assert result.valid
Multi-Agent Scenarios
from autogen import AssistantAgent, UserProxyAgent
from moss_autogen import signed_agent
assistant = signed_agent(
AssistantAgent(name="assistant", ...),
"moss:team:assistant"
)
analyst = signed_agent(
AssistantAgent(name="analyst", ...),
"moss:team:analyst"
)
# Each agent's replies are independently signed
# Check assistant.moss_envelope or analyst.moss_envelope after interactions
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 moss_autogen-0.1.0.tar.gz.
File metadata
- Download URL: moss_autogen-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb0c96e614daa82007888b7e7b060b207099284adcee7b862869e855dcf4b645
|
|
| MD5 |
12c4f0fc78871046127665c8f6f4acc8
|
|
| BLAKE2b-256 |
043b3aa2e296b357805091e1c4e33e5eefdf170c493f8a78375c33545c28f2d5
|
Provenance
The following attestation bundles were made for moss_autogen-0.1.0.tar.gz:
Publisher:
release.yml on mosscomputing/moss-autogen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moss_autogen-0.1.0.tar.gz -
Subject digest:
eb0c96e614daa82007888b7e7b060b207099284adcee7b862869e855dcf4b645 - Sigstore transparency entry: 747547895
- Sigstore integration time:
-
Permalink:
mosscomputing/moss-autogen@0310d50dd8daf067592dada52408ac23b06cfca1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mosscomputing
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0310d50dd8daf067592dada52408ac23b06cfca1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file moss_autogen-0.1.0-py3-none-any.whl.
File metadata
- Download URL: moss_autogen-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abb3ba2392d09e2d9f13234699ce04f9e8159311db2354673d12bddd43f65668
|
|
| MD5 |
1cb71de6dfa295ba3b765342a365862f
|
|
| BLAKE2b-256 |
3dfd70a6fee831f73a2fc177c4aed28421dfab4210bb405efc56a7a3fb8b3ba2
|
Provenance
The following attestation bundles were made for moss_autogen-0.1.0-py3-none-any.whl:
Publisher:
release.yml on mosscomputing/moss-autogen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moss_autogen-0.1.0-py3-none-any.whl -
Subject digest:
abb3ba2392d09e2d9f13234699ce04f9e8159311db2354673d12bddd43f65668 - Sigstore transparency entry: 747547899
- Sigstore integration time:
-
Permalink:
mosscomputing/moss-autogen@0310d50dd8daf067592dada52408ac23b06cfca1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mosscomputing
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0310d50dd8daf067592dada52408ac23b06cfca1 -
Trigger Event:
push
-
Statement type: