# API Transformation

In this scenario the <code class="expression">space.vars.X\_Agent\_Name\_Single</code> is installed alongside the Composable Agentic Platform Application Server and they work as an integrated whole, turning the <code class="expression">space.vars.X\_Agent\_Name\_Single</code> into a high-performance HTTP proxy with the ability to provide SSL termination and on the fly transformation of requests and responses between the existing applications and the existing APIs.

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-3c7be762f36f6d43beb8edd9afd4693d9fc842de%2Fimage.png?alt=media" alt=""><figcaption><p>Graph</p></figcaption></figure>

Use cases for this approach include:

* Vendor abstraction, which provides the ability to create generic APIs for things such as *text messages*, *geo-location*, *two-factor authentication* and use those APIs in the existing applications instead of vendor specific APIs
* API Sunsetting, where the <code class="expression">space.vars.X\_Agent\_Name\_Single</code> is capable of transforming the structure of an API call between different versions, such as to facilitate the removal of older version code from the API server source code
* API Accounting, enabling chargeback of API calls that have a monetary cost to the respective users of that API
