cd /news/ai-agents/cortex-an-open-source-l1-memory-and-… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-131879] src=github.com β†— pub= topic=ai-agents verified=true sentiment=Β· neutral

Cortex: An open-source L1 memory and state layer for autonomous AI agents

Cortex Protocol launched an open-source Layer-1 blockchain, ticker $CTX, designed to cryptographically anchor and verify autonomous AI agent states by keeping vector search off-chain while settling 32-byte Merkle state roots on-chain. The protocol caps total supply at 21,000,000 CTX with a 0% team and VC pre-mine, a 50.00 CTX initial block subsidy halving every 210,000 blocks, and a 30% burn of every transaction fee, secured by RandomX CPU proof-of-work. An incentivized testnet allocates 1.0% (210,000 CTX) at the mainnet genesis block, split 70% (147,000 CTX) to active hardware miners and 30% (63,000 CTX) to community testers, with a 3.0% (6,300 CTX) per-address anti-whale cap and 3-month linear vesting.

read6 min views2 publishedSep 16, 2026
Cortex: An open-source L1 memory and state layer for autonomous AI agents
Image: Michielbdejong (auto-discovered)

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).
  1. 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.
  2. Phase 2: Mainnet Preparation (Q4 2026) β€” Official cryptographic snapshot of Testnet miner and tester addresses, Genesis block code audit, and multi-node stress-testing.
  3. 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.
  4. Phase 4: Developer Ecosystem & Tooling (Q2 2027) β€” Release ofcortex-protocol-python SDK 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:

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 :autoAnchor automatically 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 LangChain BaseChatMessageHistory (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}")

Cortex Protocol is open-source software licensed under the MIT License.

── more in #ai-agents 4 stories Β· sorted by recency
── more on @cortex protocol 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/cortex-an-open-sourc…] indexed:0 read:6min 2026-09-16 Β· β€”