- Official Website :https://cortex-protocol.xyz
- X (Twitter) :@Cortex_L1 (https://x.com/Cortex_L1)
- Discord Community :https://discord.gg/WK7tYSse2
- Telegram Official :https://t.me/cortex_ctx
- Live Incentivized Leaderboard :https://cortex-protocol.xyz/#leaderboard
Cortex Protocol ($CTX) is a purpose-built Layer-1 blockchain engineered to cryptographically anchor and verify autonomous AI states.
Rejecting the flawed paradigm of on-chain vector bloat, Cortex Protocol enforces a strict Separation of Concerns:
Edge RAG (Off-Chain): Autonomous AI agents run their high-dimensional vector search (HNSW / Cosine) and embeddings locally in-RAM with sub-millisecond retrieval. #
L1 State Settlement (On-Chain): The Cortex blockchain handles machine-to-machine trust,secp256k1 identities, 32-byte Merkle state root notarization, and friction-free$CTX$ micro-payments.
Consensus is secured via Nakamoto CPU Proof-of-Work powered by RandomX, ensuring total ASIC-resistance, egalitarian participation for consumer CPUs, and true decentralization.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AUTONOMOUS AI AGENT (EDGE) β
β - In-RAM Local Vector Search (HNSW / Cosine Similarity) β
β - Dense Vector Embeddings (768-dim float32) β
β - Client-Side Encryption (AES-256-GCM Privacy Enclave) β
ββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
β Merkle Leaf Commitment
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CORTEX PROTOCOL LAYER-1 (STATE NOTARY) β
β - Nakamoto Consensus (RandomX CPU Proof-of-Work) β
β - secp256k1 Cryptographic Signer Verification β
β - 32-Byte State Merkle Roots Inscribed into Block Headers β
β - Native $CTX Peer-to-Peer Economic Settlement β
β - 30% Gas Combustion (Deflationary Flywheel) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
No sensitive vectors or raw reasoning states are ever exposed to the public blockchain. Agents encrypt their payloads locally before generating blinded cryptographic hash commitments:
Light clients verify any historical state transition via 60-byte Merkle proofs with
| Parameter | Specification |
|---|---|
| Token Ticker | $CTX |
| Total Hard Cap | 21,000,000 CTX (Strict Mathematical Scarcity) |
| Team / VC Pre-mine | 0% (100% Community Fair Launch) |
| Initial Block Subsidy | 50.00 CTX per block (Halving every 210,000 blocks / ~3.65 months) |
| Deflationary Fee Burn | 30% of every transaction fee permanently burned |
| Miner Fee Share | 70% of Gas Fees + 50 CTX Block Subsidy |
| Incentivized Testnet Allocation | 1.0% (210,000 CTX) at Mainnet Genesis Block #0 |
- 70% (147,000 CTX) β Active Hardware Miners: Distributed pro-rata based on validated RandomX blocks and accepted pool shares.
- 30% (63,000 CTX) β Community Testers: Distributed equally across active addresses participating in DEX swaps, Web3 Wallet signatures & state commits.
- Anti-Whale Hard Cap: Maximum 3.0% (6,300 CTX) per individual address (excess is redistributed).
- 3-Month Linear Vesting: 20% liquid at Genesis Block #0, 80% streamed block-by-block over 90 days (~518,400 blocks).
- Phase 1 (Active): Incentivized Testnet 1.0 β Live RandomX CPU pool mining, P2P DEX liquidity pool testing, Web3 Chrome Extension transaction signing, and Merkle root anchoring.
- Phase 2: Mainnet Preparation (Q4 2026) β Official cryptographic snapshot of Testnet miner and tester addresses, Genesis block code audit, and multi-node stress-testing.
- Phase 3: Mainnet Genesis Launch (Q1 2027) β 100% Fair Launch Block #0 with 0% team pre-mine, 1% Testnet distribution with 3-month vesting, and continuous 30% gas fee burning.
- Phase 4: Developer Ecosystem & Tooling (Q2 2027) β Release of
cortex-protocol-pythonSDK for local Edge RAG pipelines, developer grant programs, and native plugins for LangChain, AutoGPT, and CrewAI.
- Node.js v20+ LTS
- Git
git clone https://github.com/cortex-protocol/cortex-protocol.git
cd cortex-protocol
npm install
npm run build
npm run start
npm run miner
Miners on Windows can download the pre-packaged standalone zip directly:
- Download :https://cortex-protocol.xyz/downloads/cortex-miner-windows.zip
- Extract the archive and double-click
Start-Mining-1Click.bat(orStart-Mining.bat).
Cortex Protocol ($CTX) serves as the sovereign, decentralized memory and state settlement layer for autonomous AI agents across major frameworks:
Complete official plugin located in packages/plugin-cortex/:
- Cognitive Memory Provider : Seals episodic and semantic memories into PoW blocks with 3ms Edge RAG recall.
- Sovereign Wallet Provider : Injects real-time $CTX balance and wallet state into agent prompts.
- On-Chain Actions :
INSCRIBE_MEMORY,TRANSFER_CTX,CLAIM_FAUCET. - Evaluator :
autoAnchorautomatically detects high-value decisions and persists them on-chain.
npx ts-node examples/eliza_cortex_agent.ts
Full integration in sdk/python/cortex_protocol/langchain.py:
CortexChatMessageHistory: Extends LangChainBaseChatMessageHistory(zero external dependencies required).CortexCheckpointer: Decentralized state snapshot saver for LangGraph agent decision trees.- 30% Gas Fee Burn : Every message turn burned permanently on-chain.
- Cold-Reboot Hydration : Automatically rehydrates entire conversation history from Cortex L1 state upon agent container restart.
from cortex_protocol import CortexClient, AgentWallet
from cortex_protocol.langchain import CortexChatMessageHistory
client = CortexClient(wallet=AgentWallet.generate())
history = CortexChatMessageHistory(session_id="session_01", client=client)
history.add_user_message("Analyze liquidity on Cortex DEX.")
history.add_ai_message("AMM pool TVL is $1.59M with 18.4% APY.")
python3 examples/langchain_cortex_demo.py
Full multi-agent persistence in sdk/python/cortex_protocol/crewai.py:
CortexStorage: Implements the official CrewAI Storage interface with decentralized L1 persistence.CortexShortTermMemory&CortexLongTermMemory: Shared inter-agent context and long-term knowledge base.CortexEntityMemory: Decentralized entity registry (contracts, wallets, users, assets) shared across all agents in the crew.- Instant Crew Recovery : Zero knowledge loss across agent crashes, container restarts, or server migrations.
from cortex_protocol import CortexClient, AgentWallet
from cortex_protocol.crewai import CortexCrewMemory
client = CortexClient(wallet=AgentWallet.generate())
crew_memory = CortexCrewMemory(crew_name="defi-research-crew", client=client)
crew_memory.record_agent_output(
agent_name="Researcher",
task_description="Analyze liquidity",
output="Pool TVL is $1.59M with 18.4% APY."
)
python3 examples/crewai_cortex_demo.py
Decentralized session and memory storage in sdk/python/cortex_protocol/phidata.py:
CortexAgentStorage/CortexAgnoStorage: Drop-in replacement for PostgreSQL/SQLite backend in Phidata & Agno agents.- On-Chain Session Inscription : Seals complete chat runs, tool execution trails, and user context directly onto Cortex L1.
- Cold Reboot Hydration : Restores all past agent sessions and conversations across container migrations.
- Gas Combustion : 30% of every state flush burned permanently.
from cortex_protocol import CortexClient, AgentWallet
from cortex_protocol.phidata import CortexAgentStorage, CortexAgentSession
client = CortexClient(wallet=AgentWallet.generate())
storage = CortexAgentStorage(table_name="financial_agents", client=client)
session = storage.read(session_id="user_session_01")
python3 examples/phidata_cortex_demo.py
Open-source under the MIT License. Β© 2026 Cortex Research Foundation.
Connect LangChain, CrewAI, AutoGPT, or ElizaOS agents to Cortex Protocol in 3 lines of code:
from cortex_protocol import CortexClient, AgentWallet
wallet = AgentWallet.from_private_key("4a7f92b938471029384710293847102938471029384710293847102938471029")
client = CortexClient(node_url="https://cortex-protocol.xyz", wallet=wallet)
tx_id = client.inscribe_memory(
agent_id="Quant-Alpha-01",
topic="DeFi Arbitrage",
content="Detected 3.84% spatial discrepancy across Uniswap v3 and Curve pool 0x88e.",
memory_type="EPISODIC"
)
print(f"Memory sealed in mempool: {tx_id}")
results = client.search_memories(query="arbitrage opportunities on curve", top_k=5)
for r in results:
print(f"Match: {r.similarity_score}% | Fact: {r.content}")
- Official Web Application & Explorer :https://cortex-protocol.xyz
- Official Whitepaper :https://cortex-protocol.xyz/whitepaper.html
- Public REST API :
https://cortex-protocol.xyz/api/stats - P2P Gossip Peer :
ws://141.145.223.211:6001 - Public Testnet Faucet :https://cortex-protocol.xyz (Web Wallet Tab)
Cortex Protocol is open-source software licensed under the MIT License.