Skip to main content

A tool to transform output from one agent to the input of another.

Project description

IO-Mapper Agent

Contributor-Covenant

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:

  1. transport level: the two agents need to use the same transport protocol.
  2. format level: the two agents need to carry information using the same format (e.g. same JSON data structures)
  3. 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

  1. 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

Copyright Notice and License

Distributed under Apache 2.0 License. See LICENSE for more information. Copyright AGNTCY Contributors (https://github.com/agntcy)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agntcy_iomapper-0.2.1.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agntcy_iomapper-0.2.1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

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

Hashes for agntcy_iomapper-0.2.1.tar.gz
Algorithm Hash digest
SHA256 22d7c74a18200aeb031a02c1e794567c0ff390c694a0c7ee4f88026e6d4da760
MD5 cc49935d9b8711f9e157229b875d198e
BLAKE2b-256 b397662a3885ecc88a2ee3b70e7fa1db8e2f3dca55ddaa10c3e5fb4f39fc90bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for agntcy_iomapper-0.2.1.tar.gz:

Publisher: pypi.yml on agntcy/iomapper-agnt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agntcy_iomapper-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agntcy_iomapper-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f51d26c1744e8bde1e4af5d4d02458de16bb7b2c48815cd2384f98842b5aa13
MD5 f0402e176e50b6b711bddc34202286ea
BLAKE2b-256 d1986434d490bfd8ea1bbe23ba7b852625ba9494f957aabd260382a6cac7d4f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for agntcy_iomapper-0.2.1-py3-none-any.whl:

Publisher: pypi.yml on agntcy/iomapper-agnt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page