A tool to transform output from one agent to the input of another.
Project description
IO-Mapper Agent
About The Project
When connecting agents in an application, the output of one agent needs to be compatible with the input of the following agent. This compatibility needs to be guaranteed at three different levels:
- transport level: the two agents need to use the same transport protocol.
- format level: the two agents need to carry information using the same format (e.g. same JSON data structures)
- semantic level: the two agents need to “talk about the same thing”.
Communication between agents is not possible if there are discrepancies between the agents at any of the layers [1-3].
Ensuring that agents are semantically compatible, i.e., the output of the one agent contains the information needed by later agents, is an problem of composition or planning in the application. This project, the IO Mapper Agent, addresses level 2 and 3 compatibility. It is a component, implemented as an agent, that can make use of an LLM to transform the output of one agent to become compatible to the input of another agent. Note that this may mean many different things, for example:
- JSON structure transcoding: A JSON dictionary needs to be remapped into another JSON dictionary
- Text summarisation: A text needs to be summarised or some information needs to be removed
- Text translation: A text needs to be translated from one language to another
- Text manipulation: Part of the information of one text needs to be reformulated into another text
- Any combination of the above
The IO mapper Agent can be fed the schema definitions of inputs and outputs as defined by the Agent Connect Protocol.
Getting Started
To get a local copy up and running follow these simple steps.
Prerequisites
Installation
-
Clone the repository
git clone https://github.com/agntcy/iomapper-agnt.git
Usage
Learn how to use our different Mappers USAGE.md
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. For detailed contributing guidelines, please see CONTRIBUTING.md
Copyright Notice
Distributed under Apache 2.0 License. See LICENSE for more information. Copyright AGNTCY Contributors (https://github.com/agntcy)
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 agntcy_iomapper-0.2.1.tar.gz.
File metadata
- Download URL: agntcy_iomapper-0.2.1.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22d7c74a18200aeb031a02c1e794567c0ff390c694a0c7ee4f88026e6d4da760
|
|
| MD5 |
cc49935d9b8711f9e157229b875d198e
|
|
| BLAKE2b-256 |
b397662a3885ecc88a2ee3b70e7fa1db8e2f3dca55ddaa10c3e5fb4f39fc90bf
|
Provenance
The following attestation bundles were made for agntcy_iomapper-0.2.1.tar.gz:
Publisher:
pypi.yml on agntcy/iomapper-agnt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agntcy_iomapper-0.2.1.tar.gz -
Subject digest:
22d7c74a18200aeb031a02c1e794567c0ff390c694a0c7ee4f88026e6d4da760 - Sigstore transparency entry: 188815490
- Sigstore integration time:
-
Permalink:
agntcy/iomapper-agnt@54df5f5effec4718cb2a5886da9401ddf277a568 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/agntcy
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@54df5f5effec4718cb2a5886da9401ddf277a568 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agntcy_iomapper-0.2.1-py3-none-any.whl.
File metadata
- Download URL: agntcy_iomapper-0.2.1-py3-none-any.whl
- Upload date:
- Size: 26.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f51d26c1744e8bde1e4af5d4d02458de16bb7b2c48815cd2384f98842b5aa13
|
|
| MD5 |
f0402e176e50b6b711bddc34202286ea
|
|
| BLAKE2b-256 |
d1986434d490bfd8ea1bbe23ba7b852625ba9494f957aabd260382a6cac7d4f1
|
Provenance
The following attestation bundles were made for agntcy_iomapper-0.2.1-py3-none-any.whl:
Publisher:
pypi.yml on agntcy/iomapper-agnt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agntcy_iomapper-0.2.1-py3-none-any.whl -
Subject digest:
7f51d26c1744e8bde1e4af5d4d02458de16bb7b2c48815cd2384f98842b5aa13 - Sigstore transparency entry: 188815492
- Sigstore integration time:
-
Permalink:
agntcy/iomapper-agnt@54df5f5effec4718cb2a5886da9401ddf277a568 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/agntcy
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@54df5f5effec4718cb2a5886da9401ddf277a568 -
Trigger Event:
push
-
Statement type: