> For the complete documentation index, see [llms.txt](https://ceremonies.gitbook.io/ceremonies/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ceremonies.gitbook.io/ceremonies/sage-marketplace/blockchain-and-our-decentralized-api.md).

# Blockchain and Our Decentralized API

Sage Marketplace is designed seamlessly integrates with leading agentic platforms like LangChain and AgentGPT, via our Python-based API. This integration allows these platforms to access a wide array of AI services directly through Sage Marketplace, extending their capabilities and enriching their AI functionalities. Such connectivity ensures that users experience enhanced and comprehensive AI interactions.

Leveraging cutting-edge technologies, Sage Marketplace employs Arweave for secure, permanent data storage and the Graph for efficient data querying and management. Hosting models is left in the hands of the developers themselves, though we are currently exploring many of the newly-launched decentralzed cloud computing services for potential future technical partners.&#x20;

The technological backbone of Sage Marketplace is meticulously engineered to meet the high demands of modern AI applications and decentralized operations, ensuring reliability, security, and scalability.

### **Blockchain-Based Payment System**

At the foundation of our infrastructure is a blockchain-based payment system that facilitates secure, transparent, and efficient transactions across the platform. This system supports a variety of transaction types, catering to both one-time payments and recurring subscriptions, thus providing flexibility for all users and service providers.

Leveraging Optimism's ultra low-cost rollups and Celestia for data availability, Sage Marketplace achieves high throughput and low transaction costs—crucial for the microtransactions typical in AI service exchanges, while embedding our marketplace deep into the ever-growing Optimism Superchain. Although not the primary focus, our rollup named [Altar](https://altar-explorer.ceremonies.ai/), currently in testnet, plays a pivotal role in enhancing the security and efficiency of our transactions.

### Decentralized API and Data Storage

Our decentralized API allows for easy integration of AI services, fostering a diverse and dynamic ecosystem within Sage Marketplace. Coupled with Arweave’s data storage solutions, we guarantee that all data exchanged and stored is secure, immutable, and permanently accessible, ensuring no data loss or tampering.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ceremonies.gitbook.io/ceremonies/sage-marketplace/blockchain-and-our-decentralized-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
