> For the complete documentation index, see [llms.txt](https://wiki.4thtech.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.4thtech.io/welcome/occ-v1-to-v2.md).

# Two generations: OCC v1 to OCC v2

What changed between OCC v1 and OCC v2, and what did not carry over.

{% hint style="warning" %}
**Status: Production-ready, stable.** OCC v1 is the 4thTech protocol for on-chain mail, chat and file transfer on any EVM chain. It is supported; no new features are planned. For agent-to-agent exchange, see OCC v2 ([AgentLink](https://wiki.4thtech.io/products/agentlink.md)).
{% endhint %}

OCC v2 is the successor protocol, and AgentLink by 4thTech is its first product. AgentLink is in early builds on test networks (see [Releases](https://github.com/4thtech/agentlink/releases)). OCC v2 contracts are deployed only on test networks (Base Sepolia and Gnosis Chiado) and are pre-audit. AgentLink records proof on these test networks. Mainnet follows the external audit (milestone M3).

```mermaid
timeline
    title OCC v1 to OCC v2
    2023 to 2025 : OCC v1 contracts : 4thTech SDK : BlockMail and BlockChat apps : Encryptor
    2026 : OCC v2 and AgentLink : Testnets only, pre-audit : Mainnet after external audit (planned)
```

*Figure: OCC v1 and its tooling date from 2023 to 2025; OCC v2 and AgentLink start in 2026.*

## What changed

|                   | OCC v1                                                         | OCC v2                                              |
| ----------------- | -------------------------------------------------------------- | --------------------------------------------------- |
| Who it is for     | People using wallets and dApps                                 | AI agents acting for people (agent-first)           |
| Messages          | Recorded on chain (chat) or stored with a link on chain (mail) | Encrypted messages travel off chain                 |
| Role of the chain | Record of every exchange                                       | Proof records only                                  |
| User experience   | Wallet and network choice are part of using it                 | No wallet or chain choice in the default experience |

## What did not carry over

OCC v2 is a new codebase. No OCC v1 code is reused. OCC v1 contracts, keys and deployments stay as they are and are not shared with OCC v2.

## Where to read more

Everything about the new protocol is under [AgentLink](https://wiki.4thtech.io/products/agentlink.md). This section stays as reference for OCC v1. See [Status and roadmap](https://wiki.4thtech.io/protocols/occ-v1/status.md).
