# Kodex Overview

## What is Kodex?&#x20;

Kodex is a decentralized safety network for the new era of interactions between people and AI agents. It has two main parts: the Kodex Constitution, which sets the rules for communities, apps, and AI agents, and a network of safeguarding AI nodes that ensure everyone follows these rules

## Why now?&#x20;

The rise of AI agents and the lowering of barriers to entry have made technology accessible to bad actors, including scammers, spammers, and predators. Kodex addresses this issue by introducing a unified constitution that outlines principles for AI agents to follow. These principles are enforced through a decentralized network of AI safeguard nodes. The nodes are fully independent and operate strictly based on the principles outlined in the constitution, with nothing else influencing their actions. A proprietary consensus mechanism ensures that decision-making is both censorship-resistant and free from bias.

### Jump right in


# Kodex Mission and Vision

## Kodex Mission&#x20;

Building a Free Digital Future. Kodex is dedicated to dismantling pathways to technofascism, fostering a digital landscape rooted in liberty, transparency, and open discourse.

## Kodex Vision&#x20;

Kodex harnesses AI to redefine law and order in the digital world, empowering self-governed communities through a decentralized, constitution-driven framework. By embracing Web3's principles, we shift from centralized control to democratic, user-driven governance. At the core of Kodex is its Constitution, ensuring freedom and order coexist harmoniously, paving the way for a balanced and ethical digital society


# Kodex Constitution

The **Kodex Constitution** is a foundational document that establishes the rules, principles, and ethical standards governing AI agents, social applications, and communities operating within the Kodex ecosystem. It provides a transparent and unified framework to ensure fairness, accountability, and trust in digital governance. Safeguard AI nodes and human reviewers adhere to the principles outlined in the Kodex Constitution, ensuring that all actions and decisions are consistent with its guidelines.

AI agents, as customers of the Kodex network, are issued **Smart Certificates**, which validate their adherence to ethical and operational standards as defined by the Constitution.

***

#### Why is the Kodex Constitution Needed?

**1. Addressing the Challenges of Centralized Governance**

Traditional systems of governance are often opaque, biased, and controlled by centralized entities. This leads to inconsistent decision-making, unfair outcomes, and limited accountability. The Kodex Constitution provides a decentralized and transparent framework that replaces centralized control with clearly defined principles. This ensures fairness and equity for social applications and communities using the Kodex network.

**2. Defining Operational Standards for AI Agents**

AI agents are becoming integral to digital ecosystems. The Kodex Constitution sets ethical and operational standards for these agents, ensuring they operate responsibly within the network. AI agents are issued **Smart Certificates**, which act as dynamic proofs of their compliance with Kodex standards. These certificates enable users and communities to trust the integrity and reliability of AI-driven processes.

**3. Empowering Self-Governed Communities**

The Kodex Constitution empowers communities to establish and adopt rules that align with their unique values while adhering to universal principles of fairness and safety. By leveraging the Kodex network, communities can benefit from decentralized governance that is both transparent and adaptable, fostering collaboration and trust.

**4. Ensuring Transparency and Accountability**

Every action processed by Safeguard AI nodes and reviewed by human reviewers is governed by the Kodex Constitution, ensuring fairness, consistency, and auditability. AI agents, as customers of the Kodex network, are monitored for compliance with the Constitution via their **Smart Certificates**, which reflect their operational history and adherence to ethical standards. This system ensures accountability, builds trust, and reduces disputes within digital ecosystems.

**5. Future-Proofing Governance**

As digital applications and communities evolve, the Kodex Constitution offers a flexible framework that adapts to new challenges. Through decentralized governance and community voting, updates to the Constitution can be proposed and enacted democratically. This ensures the framework remains relevant and effective as technologies and societal norms continue to change.

***

#### The Role of Smart Certificates in the Kodex Ecosystem

Smart Certificates are dynamic, blockchain-based credentials issued to AI agents operating within the Kodex network. These certificates:

* Validate the AI agent’s compliance with ethical and operational standards.
* Record the agent’s historical performance, including adherence to the Kodex Constitution.
* Enable users and communities to verify the trustworthiness and reliability of the AI agent before engaging with it.

By integrating Smart Certificates, the Kodex ecosystem enhances transparency and trust while holding AI agents accountable for their actions.

***

#### A Transparent and Ethical Digital Future

By codifying ethical principles into a transparent and enforceable framework, the **Kodex Constitution** provides the foundation for a fair, safe, and decentralized digital ecosystem. It establishes clear rules for AI agents, social applications, and communities, while ensuring that Safeguard AI nodes and human reviewers operate in alignment with these principles. Together with Smart Certificates, the Kodex Constitution creates a harmonious balance between technology, community values, and ethical governance in the digital age.


# Kodex API

## Text Safety Check

Our Text Safety Check API helps you automatically flag and filter inappropriate content in user-generated text, maintaining the integrity and safety of your online community.

**Authentication**

Access to the Text Safety Check API requires an API key for authentication. Go to the Account section to find your API key. Include your API key in the header of every request: `Authorization: Api-Key {*****}`

* **Endpoint:** `/submitTextForSafetyCheck`
* **Method:** `POST`
* **Request Body:** `{ "text": "string" }`
* **Response:** `{ "isSafe": boolean, "safetyScore": number }`

**Example Request:**

```css
cssCopy codePOST /submitTextForSafetyCheck  
Headers: {  
  Authorization: Api-Key {Your-API-Key}  
}  
Body: {  
  "text": "Example text to check for safety"  
}
```

***

## Audio Safety Check

Our Audio Safety Check API helps you automatically spot and flag inappropriate user-generated audio content, maintaining the integrity and safety of your online community.

**Authentication**

Access to the Audio Safety Check API requires an API key for authentication. Go to the Account section to find your API key. Include your API key in the header of every request: `Authorization: Api-Key {*****}`

* **Endpoint:** `/submitAudioForSafetyCheck`
* **Method:** `POST`
* **Request Body:** `{ "audio": "track" }`
* **Response:** `{ "isSafe": boolean, "safetyScore": number }`

**Example Request:**

```css
cssCopy codePOST /submitAudioForSafetyCheck  
Headers: {  
  Authorization: Api-Key {Your-API-Key}  
}  
Body: {  
  "audio": "Example audio track to check for safety"  
}
```

***

## Photo Safety Check

Our Photo Safety Check API helps you automatically classify and assess user-generated photos, maintaining the integrity and safety of your online community.

**Authentication**

Access to the Photo Safety Check API requires an API key for authentication. Go to the Account section to find your API key. Include your API key in the header of every request: `Authorization: Api-Key {*****}`

* **Endpoint:** `/submitPhotoForSafetyCheck`
* **Method:** `POST`
* **Request Body:** `{ "photo": "file" }`
* **Response:** `{ "isSafe": boolean, "safetyScore": number }`

**Example Request:**

```css
cssCopy codePOST /submitPhotoForSafetyCheck  
Headers: {  
  Authorization: Api-Key {Your-API-Key}  
}  
Body: {  
  "photo": "Example photo to check for safety"  
}
```

***

## Video Safety Check

Our Video Safety Check API helps you automatically classify and assess user-generated videos, maintaining the integrity and safety of your online community.

**Authentication**

Access to the Video Safety Check API requires an API key for authentication. Go to the Account section to find your API key. Include your API key in the header of every request: `Authorization: Api-Key {*****}`

* **Endpoint:** `/submitVideoForSafetyCheck`
* **Method:** `POST`
* **Request Body:** `{ "video": "file" }`
* **Response:** `{ "isSafe": boolean, "safetyScore": number }`

**Example Request:**

```css
cssCopy codePOST /submitVideoForSafetyCheck  
Headers: {  
  Authorization: Api-Key {Your-API-Key}  
}  
Body: {  
  "video": "Example video to check for safety"  
}
```

By submitting your content for safety checks through Kodex APIs, you can ensure that your platform remains secure, inclusive, and aligned with community guidelines.


# Kodex Agent&#x20;

The **Kodex Agent** is a powerful tool designed to enhance community safety by monitoring content in Telegram and Discord groups. Powered by Kodex’s decentralized safety protocols, the Kodex Agent helps detect, flag, and filter harmful or inappropriate content in real-time, ensuring your community remains secure and inclusive.

***

## **Key Features**

1. **Real-Time Safety Monitoring**\
   Kodex Agent scans text, images, and media shared in Telegram and Discord communities for harmful content, enforcing community guidelines.
2. **Customizable Rules**\
   Configure the Kodex Agent to follow specific rules and guidelines based on your community's unique needs by selecting principles from the Kodex Constitution.
3. **Decentralized Processing**\
   All moderation decisions are processed by Kodex safeguard nodes, ensuring transparency, fairness, and bias-free results.
4. **Action Automation**\
   Automatically flag or remove inappropriate content, issue warnings, or restrict users who violate community guidelines.

***

## Setting Up Kodex Agent

**Step 1: Obtain Your API Key**

1. Log in to your Kodex account.
2. Navigate to the **API Key Management** section.
3. Generate an API key specifically for Kodex Agent and store it securely.

**Step 2: Add Kodex Agent to Your Community**

**Telegram**

1. Invite the Kodex Agent bot to your Telegram group using the provided bot link.
2. Assign admin permissions to the bot so it can monitor and manage messages.

**Discord**

1. Invite the Kodex Agent bot to your Discord server using the provided bot invite link.
2. Assign appropriate roles and permissions to allow the bot to monitor and take action on flagged content.

**Step 3: Configure Kodex Agent**

1. Use the provided web dashboard to set up your **community rules**.
   * Select safety guidelines based on Kodex Constitution principles.
2. Configure notification settings to receive alerts for flagged content via Telegram, Discord, or email.


# Team

Kodex is powered by a team with over a decade of experience in building and scaling Bumble’s Trust and Safety systems, proven to protect millions of users daily. Combined with top blockchain experts, our team brings together unmatched expertise in AI, decentralized systems, and digital safety to create a next-generation governance platform for Web3 communities.

### Arthur Nogman - CEO

Previously: Co-founder and CPO of Stereo (stereo.com). GPU Chipset Engineer and Product Manager at Qualcomm, and Product Manager at Bumble. [Linkedin](https://www.linkedin.com/in/arthur-nogman-ba256618/)&#x20;

### Dmitry Po - CPO

Previously: Head of Trust and Safety at Bumble. Dmitry was “the guy” who led Bumble’s Trust and Safety team from the start, scaling it into one of the leading AI-assisted solutions, serving millions of users every day. [Linkedin](https://www.linkedin.com/in/dmitry-po-92b43258/)

### Anton - CTO

Previously: VP of Engineering at Bumble. Anton was responsible for building Bumble's entire back-end infrastructure from the ground up. [Linkedin](https://www.linkedin.com/in/antoxa/)

### Eugene - Chief AI Officer

Previously: Lead AI Scientist at Bumble. Eugene is the mastermind behind Bumble’s AI systems, now bringing his expertise to the world. [Linkedin](https://www.linkedin.com/in/evgeniypolyakov/)

### Rius - CBO

Previously: Strategic Partnerships Lead at Immutable. Rius was instrumental in Immutable's success with U.S. game developers, driving growth as the U.S. lead. [Linkedin](https://www.linkedin.com/in/rius/)&#x20;

### Anastasia - Blockchain Lead

Previously: Lead Blockchain Engineer at SingularityNET (now ASI). Anastasia is the visionary behind the legendary SingularityNET and a pioneer of AI on blockchain. [Linkedin](https://www.linkedin.com/in/anastasiia-martyniuk-769791266/)


# Introduction

## Summary&#x20;

\
At the heart of Kodex lies a decentralized network driven by a unified [constitution ](/kodex-constitution)that ensures AI safeguard nodes operate with impartiality and resilience. To empower this system and maintain its integrity, the Kodex tokenomics model provides the foundation for incentivization, participation, and sustainability.

The Kodex token ($KODA) plays a pivotal role in aligning the interests of all stakeholders—nodes, reviewers, and users. It incentivizes the operation of safeguard nodes, secures collateral for participation, and facilitates transparent governance across the network. This ensures that the decentralized principles of Kodex are upheld while promoting a thriving, self-sustaining ecosystem.

The tokenomics model also integrates mechanisms for fair compensation, rewarding nodes and contributors for maintaining accuracy and compliance with the Kodex constitution. A proprietary consensus mechanism ensures that economic incentives are distributed equitably, encouraging active participation and discouraging malicious behavior.

Through $KODA, Kodex establishes a secure, censorship-resistant framework that combines ethical AI governance with a robust economic engine, fostering trust and accountability in the age of AI agents.

## Kodex Constitution&#x20;

[The **Kodex Constitution** ](/kodex-constitution)serves as the cornerstone of the Kodex ecosystem, setting forth the principles and rules that govern AI agents and human moderators within the network. It provides a unified, transparent framework designed to promote trust, fairness, and safety across digital environments.

**Key Features of the Kodex Constitution:**

1. **Universal Principles for AI Agents**: The Constitution outlines ethical guidelines and operational standards that all AI agents must adhere to, ensuring consistent and impartial decision-making. These principles address issues like fairness, privacy, and the prevention of harmful behavior such as scams, spam, and predatory activities.
2. **Decentralized Enforcement**: Rather than relying on centralized entities, the Constitution is upheld by a network of independent AI safeguard nodes. These nodes strictly follow the rules laid out in the Constitution, free from external influences or conflicting interests.
3. **Censorship-Resistant and Bias-Free**: The Kodex Constitution is designed to mitigate bias and censorship by establishing clear, immutable rules that apply equally to all participants. The decentralized structure ensures no single entity can unilaterally alter or exploit the system.
4. **Governance Through DAO Voting**: Updates or amendments to the Kodex Constitution can be proposed and enacted through **DAO voting** powered by the $KODA token. Token holders have the ability to participate in governance, casting votes to approve or reject changes. This ensures that the network evolves democratically, addressing emerging challenges while staying true to its core values.
5. **Accountability and Transparency**: Every decision made by the network is auditable and rooted in the principles of the Constitution. This transparency fosters trust among users, developers, and other stakeholders.

The Kodex Constitution is more than a set of rules—it's a blueprint for ethical governance in an increasingly AI-driven world. Through its decentralized, community-driven approach, it ensures that technology serves humanity responsibly, fostering safer and more equitable digital communities.

## Kodex Customers

Kodex caters to a diverse group of customers, including **AI Agents, communities, and social apps**, by providing tools and frameworks to ensure ethical operation, safety, and governance in decentralized environments.

1. **AI Agents and Smart Certification**\
   AI agents leveraging Kodex can **choose specific rules from the Kodex Constitution** to operate within. This flexibility allows AI agents to define the "guardrails" under which they function, giving their users a clear understanding of the ethical and operational boundaries they adhere to. Additionally, **Smart Certification** verifies the AI agents' compliance with the selected rules, enhancing trust and accountability in their interactions.
2. **Communities**\
   Online communities benefit from Kodex by fostering safe, inclusive environments. Decentralized moderation through safeguard AI nodes and human reviewers ensures that harmful behavior is mitigated while aligning with the community's unique values and rules.
3. **Social Apps**\
   Social apps utilize Kodex to implement transparent and decentralized governance frameworks. This helps them manage content, enforce community guidelines, and maintain user trust, while ensuring moderation is impartial and free from centralized biases.

By enabling customizable governance for AI agents, communities, and social apps, Kodex creates a scalable and trustworthy ecosystem tailored to the needs of Web3 stakeholders.

## Running a Safeguard AI Node

Operating a **Safeguard AI Node** within the Kodex ecosystem is a vital role that upholds the integrity of the network and enforces the principles outlined in the Kodex Constitution. These nodes are the backbone of the decentralized system, ensuring fairness, transparency, and ethical governance.

**Why Run a Safeguard AI Node?**

1. **Strengthen the Network**: By running a node, you contribute to the decentralized infrastructure that makes Kodex censorship-resistant and bias-free.
2. **Earn Rewards**: Node operators are compensated in $KODA tokens for processing requests and maintaining high accuracy. Performance-based incentives encourage quality participation.
3. **Support Ethical AI Governance**: Safeguard AI Nodes enforce the principles of the Kodex Constitution, helping protect users from harmful behaviors like scams, spam, and predatory activities.

**Requirements for Running a Node**

1. **Technical Requirements**:
   * A reliable server or cloud instance with sufficient computing power to handle AI tasks.
   * Stable internet connectivity to ensure uptime and responsiveness.
2. **Staking $KODA Tokens**:
   * Operators are required to stake $KODA tokens to participate in the network. Staking acts as a commitment to the network’s integrity and accountability.
   * Misbehavior or repeated errors can result in slashing of staked tokens, ensuring high standards and trust.
3. **Software Installation**:
   * The Kodex node software, available as open-source, must be installed and configured on your system.
   * Operators will need to connect their node to the Kodex network and register via the governance system.
4. **Performance Standards**:
   * Nodes are expected to self-report their accuracy and adhere to the rules set by the Kodex Constitution.
   * Regular audits and cross-checks ensure fairness and maintain the network's credibility.

**How It Works**

1. **Task Assignment**:
   * When a moderation or governance task is initiated, the network's Dispatcher assigns it to the most suitable node based on performance and location metrics.
2. **Consensus Mechanism**:
   * Multiple nodes may process the same task to achieve consensus, ensuring that the result is free from bias or manipulation.
3. **Rewards Distribution**:
   * Upon successful task completion, nodes earn rewards in $KODA tokens based on their performance and contribution.

**Getting Started**

To start running a Safeguard AI Node:

1. Download the Kodex Node Software from the official repository.
2. Follow the setup guide to configure your node and stake the required $KODA tokens.
3. Register your node in the Kodex system and begin contributing to the decentralized network.

By running a Safeguard AI Node, you play a pivotal role in shaping the future of ethical AI governance while earning rewards for your contribution to the network's success.

## Advertisers in the Kodex Network

Advertisers play a crucial role in the Kodex ecosystem by leveraging the decentralized network to reach audiences in a transparent, fair, and ethical manner. The Kodex Ad Marketplace provides advertisers with a platform to deliver their campaigns while aligning with the principles of the Kodex Constitution.

**Key Features for Advertisers:**

1. **Transparency and Accountability**\
   Advertisers benefit from a system that ensures all ads are reviewed and approved in alignment with the Kodex Constitution. This guarantees that ad content is ethical, free from manipulation, and compliant with community guidelines.
2. **Decentralized Moderation**\
   Ads are reviewed by both AI safeguard nodes and human reviewers, ensuring that decisions are unbiased, accurate, and free from centralized influence. This decentralized approach builds trust between advertisers and their target audiences.
3. **Targeted Campaigns with Sentiment Insights**\
   The Kodex network can utilize AI-driven sentiment analysis to help advertisers target campaigns effectively, ensuring their message reaches the right audience without violating privacy or ethical guidelines.
4. **Ad Rewards and Value Flow**\
   Advertisers contribute to the network by paying transaction fees, which support the ecosystem's operations and incentivize reviewers. In return, advertisers receive **Ad Rewards**, enhancing the value of their campaigns by promoting transparency and trust with end-users.
5. **Ethical Ad Placement**\
   By operating under the Kodex Constitution, advertisers ensure that their campaigns are placed in environments free from harmful or inappropriate content, safeguarding brand reputation while respecting user safety.

**The Kodex Advantage for Advertisers:**

In a world where ad platforms are often criticized for lack of transparency and fairness, the Kodex Network offers a decentralized, principled alternative. Advertisers can achieve their goals while contributing to a system designed to uphold ethical standards, ensuring a win-win for both brands and audiences.


# Token Flow

Below is a diagram illustrating the flow of the KODA token within the Kodex ecosystem, detailing interactions between customers, Safeguard AI node providers, advertisers, and other key participants. It highlights how value is distributed through transaction fees, staking rewards, and governance, ensuring a decentralized and transparent system.

<figure><img src="https://lh7-rt.googleusercontent.com/slidesz/AGV_vUcrRZ3Uh8uM7rRlpfv2FVwhAJby2T7sX6bfIeqZsCy_S9fJIpkYWdeuCIBkkNDQse3k0mIFGjBN1FIh7RncoL_iiEE5wzjDgE84Tr5XwbEvDOlEvm-BijwQsEE_7-yTplrrdGlNKQ=s2048?key=JNoasobdOeuyTzdbIQ59kzo1" alt=""><figcaption></figcaption></figure>


# Kodex Supply

The total supply of **KODA tokens** is capped at **1 billion (1,000,000,000)**, ensuring a finite and transparent token economy. The allocation and distribution of the supply are carefully designed to support the long-term sustainability and growth of the Kodex ecosystem.

## **Supply Allocation**

<figure><img src="https://lh7-rt.googleusercontent.com/slidesz/AGV_vUeAR11kjvTeklss0HzBELqKseN_uI7RVsi4OeCZqf3ZCB-wRFxCv8WeN_djlGNLQOanNRfglKMsYtQQcAbxqqoGUQMfun3tiqeW_8YellWPKTHlJWN6Osw7KiKIg5vucOhO1stDNQ=s2048?key=JNoasobdOeuyTzdbIQ59kzo1" alt=""><figcaption></figcaption></figure>

## Distribution Over Time

<figure><img src="https://lh7-rt.googleusercontent.com/slidesz/AGV_vUcIxWQ4LE6LIVvmFkvWcWe9-i93HUEAQNSRV7Hh9JhsvbhKSqkGrV7pWk9sthwW-3t5qe59W6-5KXpSsQN_o4P_xo9AHrA6iPRtS0XMg4wEhMhR5YMJcBAx38XIhtGlT4WwgnRUiA=s2048?key=JNoasobdOeuyTzdbIQ59kzo1" alt=""><figcaption></figcaption></figure>


