AI models such as ChatGPT run on huge banks of computer chips, while a blockchain can only do a small amount of computing in each block. So if an AI agent is going to hold money and trade on chain, the AI part has to run somewhere else. The usual answer is to run the AI off chain on secure hardware, and keep the keys and the final record on chain.
On NEAR Protocol, that split works like this: services such as OutLayer run the AI work on sealed, tamper-proof hardware, and NEAR's own tools handle the keys, swaps and payments on chain (source: NEAR Docs, OutLayer).
If you are weighing NEAR as one of your AI tokens in a crypto portfolio across the wider NEAR ecosystem and DeFi stack, it helps to separate what NEAR has built from the market story around AI. NEAR AI is the AI company led by co-founder Illia Polosukhin that builds private, verifiable AI services, and user-owned AI is the principle behind them (source: NEAR AI Blog, Introducing NEAR AI Cloud).
What is NEAR AI and user-owned AI on NEAR Protocol?
NEAR AI and user-owned AI mean that you, and any AI agent working for you, keep control of your own account, keys and funds on NEAR Protocol. Led by NEAR co-founder Illia Polosukhin, NEAR AI launched NEAR AI Cloud and Private Chat on December 3, 2025. The service runs AI models inside Intel Trust Domain Extensions (TDX) and NVIDIA confidential computing hardware with proofs users can check, alongside partners including Brave Nightly, OpenMind and Phala (source: NEAR AI Blog, Introducing NEAR AI Cloud). On February 24, 2026, NEAR's roadmap also outlined the Agent Market and AI inference payable in NEAR (source: NEAR Blog, Evolving NEAR Tokenomics).
NEAR Protocol does not run AI models itself. Each block can only do about one second of computing (1,000 Tgas per shard chunk), so AI models always run off chain (source: NEAR Docs, Gas). See how NEAR works. Instead, NEAR provides three production layers that let off-chain AI agents and hardware enclaves interact with on-chain state safely.
- Verifiable off-chain compute (OutLayer): A NEAR contract can hand a task, such as asking an AI model a question, to OutLayer, wait for the answer, and then carry on. The sealed hardware returns a signed proof of the code, input, and output (source: NEAR Docs, OutLayer).
- Parallel programmatic signing (NEP-611 gas keys): Gas keys hold their own NEAR to pay for gas and can send up to 1,024 transactions side by side. That lets many agents on one account send transactions at the same time without blocking each other (source: NEAR Docs, Access Keys).
- Cross-chain outcome execution (NEAR Intents and Chain Signatures): AI agents say what swap they want, and competing market makers fill it, with the trade settled by the NEAR Intents contract. They can also sign transactions on other blockchains through Chain Signatures (source: NEAR Docs, Intents).
Agents need NEAR to pay their fees, so the token is part of how this works. You can buy NEAR on a spot market or trade its price with futures. On BloFin, NEAR/USDT Spot (0.1 NEAR minimum order, 0.001 USDT price increment, listed April 12, 2024) settles in actual NEAR tokens that you can withdraw to a wallet. By contrast, the NEARUSDT Perpetual (10 NEAR per contract, 0.001 USDT price increment, up to 75x leverage, listed April 12, 2023) settles price gains and losses in USDT. You can check maker and taker tiers on the BloFin fee schedule and follow our guide on how to buy NEAR.
How NEAR began as an AI company
NEAR is linked to AI because of its co-founder Illia Polosukhin's background in AI research (source: Wikipedia, NEAR Protocol). See who created NEAR.
Before NEAR, Polosukhin was an AI researcher at Google and one of the eight authors of "Attention Is All You Need", the June 2017 paper behind today's large AI models. That paper introduced the Transformer, the design used by ChatGPT and most modern AI models (source: arXiv, Attention Paper).
In 2017, Polosukhin and Alexander Skidanov started NEAR.ai to work on machine-learning tools. In 2018 the team needed to pay small amounts to students in several countries for training data, and found existing blockchains too slow and too expensive to send those cross-border payments (source: Software Engineering Daily, Illia Polosukhin Interview). The team pivoted to build a sharded, proof-of-stake Layer-1 blockchain called NEAR Protocol, which launched its mainnet in April 2020 (source: Wikipedia, NEAR Protocol).
So NEAR was built as a general blockchain for apps rather than a network that rents out computing power for AI. Its current AI stack connects agent tools and verifiable hardware execution to accounts on that sharded Layer-1 foundation (source: NEAR Docs, AI Tools).
What is OutLayer?
Because on-chain smart contracts cannot hold private API keys or run heavy off-chain computations inside a 1,000 Tgas block chunk, NEAR integrates OutLayer (outlayer.fastnear.com). Built by FastNEAR, OutLayer provides verifiable off-chain execution inside hardware enclaves for smart contracts on NEAR (source: NEAR Docs, OutLayer).
OutLayer lets a NEAR contract send work off chain, such as asking an AI model a question or fetching a price, to sealed Intel hardware. Those enclaves return the output alongside a hardware attestation proving that the expected code ran on the expected inputs (source: NEAR Docs, OutLayer).
A developer writes the task's code and publishes it. A NEAR contract asks OutLayer to run the task and waits for the answer. OutLayer runs the code on sealed Intel hardware and sends back the answer with a hardware signature proving which code ran (source: NEAR Docs, OutLayer).
Beyond running off-chain tasks, OutLayer ships specialized capabilities for confidential and agentic applications. It also runs a live price feed on NEAR at price-oracle.near (source: NEAR Docs, Oracles).
| OutLayer capability | What it lets an agent or contract do |
|---|---|
| Runs the task's code | Runs off-chain tasks, web requests, and AI model calls outside the 1,000 Tgas on-chain cap |
| Intel TDX hardware proof | Proves to the calling NEAR smart contract that unmodified code produced the returned AI or oracle output |
| Encrypted secrets | Lets an on-chain contract or agent use private AI API keys or login tokens without exposing them on the public ledger |
| Persistent agent keys and shared vaults | Enables autonomous agents to hold signing keys and manage shared vaults inside hardware enclaves |
| Verifiable random function (VRF) | Provides provably fair randomness for on-chain games, lotteries, and randomized agent actions |
| Payment keys and saved state | Lets AI agents pay per web request in USDC and keep encrypted data across separate runs |
How AI agents transact on-chain using NEAR Intents, Chain Signatures, and gas keys
Once an AI agent decides what to do, NEAR gives it three ways to act on chain without being handed your whole wallet (source: NEAR Docs, Access Keys).
First, you can give an AI agent a limited key that only works with one app and only for the actions you allow (see NEAR named accounts and access keys). That permission boundary stops the agent from sending native NEAR out of your main wallet or deleting the account (source: NEAR Docs, Access Keys).
Second, when several AI agents or trading bots operate at the same time under one NEAR account, a single standard key can get stuck because every transaction has to wait in line for the next counter number. To solve that bottleneck, NEAR introduced Gas Keys (NEP-611) (source: NEAR Docs, Access Keys).
- Separate gas balance: You add a gas key to your account and send it some NEAR to spend on gas. Transactions signed by the gas key pay execution gas strictly from the key's own prepaid balance (and receive refunds of unused prepaid gas back into the key), preventing a runaway agent loop from draining the account's main NEAR balance. Only you can take NEAR back out of a gas key. Deleting the key burns whatever is left on it, so NEAR blocks the deletion if more than 1 NEAR remains.
- Up to 1,024 transactions at once: Each gas key can be set up to send between 1 and 1,024 transactions side by side. Each agent uses its own slot, so up to 1,024 agents can share one key without blocking each other (source: NEAR Docs, Access Keys).
Third, when an AI agent needs to trade on other blockchains, it uses NEAR Intents and Chain Signatures (see NEAR chain abstraction). Instead of bridging step by step, the agent says what swap it wants, and competing market makers fill it in one go through NEAR Intents. It can also use Chain Signatures to sign transactions on Bitcoin, Ethereum or Solana (source: NEAR Docs, Chain Signatures). That Multi-Party Computation (MPC) signer network runs 17 participants with a signing threshold of 11 (source: NearBlocks, Signer Contract).
What tools does NEAR offer for building AI agents?
NEAR offers four tools that help AI assistants read its documentation and send transactions. That toolkit separates read-only documentation lookup from private-key transaction signing (source: NEAR Docs, AI Tools).
- Readable documentation guide: NEAR publishes a guide to its documentation that AI coding assistants can read.
- Live documentation search: AI assistants can also search NEAR's current documentation directly.
- Reusable agent skills: NEAR packages six skill modules that agents load on demand. They cover private AI, cross-chain trades, and managing keys and gas. The others help build apps and smart contracts.
- On-chain agent server: NEAR's agent server gives an AI agent 23 tools to hold funds, send tokens and use apps on NEAR. Because it holds private keys, you run it on your own computer or on secure hardware, never on a shared public server (source: NEAR Docs, AI Tools).
What NEAR AI activity means for the NEAR token
Some AI activity runs on NEAR itself, some runs on outside services, and some is only market talk. Only the first uses NEAR as gas. Comparing each layer's execution venue clarifies how agent activity translates into real on-chain token demand (source: NEAR Docs, OutLayer).
| Architectural layer | Where it executes | Verification and trust model | Real on-chain impact on NEAR token |
|---|---|---|---|
| LLM training and AI model inference | Off-chain GPU clusters (OpenAI/GPT, NEAR AI Cloud, or local models) | Proven only when run on secure hardware (NEAR AI Cloud or OutLayer) | Does not execute inside validator shard chunks; does not burn NEAR gas for matrix math |
| OutLayer off-chain compute | Sealed Intel hardware, off chain | Hardware-signed Intel TDX attestation (code, input, and output); third-party service built by FastNEAR | Each request from a NEAR contract burns NEAR gas; web requests are paid in USDC |
| Agent transaction concurrency (NEP-611 gas keys) | On-chain across NEAR validator shards | Enforced by NEAR itself | Prepaid gas balances lock and burn native NEAR for every parallel agent transaction |
| Cross-chain agent trades (NEAR Intents and Chain Signatures) | On-chain at intents.near and the 17-participant MPC network | Checked by NEAR, and signed by at least 11 of the 17 independent MPC participants | Generates on-chain transaction volume, 1 NEAR per 100 KB storage staking, and burns transaction gas (except 30% of contract execution gas paid to the contract) |
Verifiable off-chain compute platforms such as OutLayer operate as third-party services rather than part of NEAR's base Layer-1 consensus. Holders and developers should check how hardware signatures are verified and how enclave keys are managed before trusting an off-chain worker with production funds (source: NEAR Docs, OutLayer).
Looking to trade NEAR tokens on BloFin? To get started, you'll need to first create a BloFin account, fund your account with cryptocurrency, and navigate to the NEAR/USDT Spot trading page or the NEARUSDT Perpetual page.
Frequently asked questions
Does NEAR Protocol run large language models directly inside its validator nodes?
AI models run off chain, because each NEAR block can only do about one second of computing (1,000 Tgas per shard chunk) (source: NEAR Docs, Gas). AI models run off chain on regular servers or on secure hardware such as OutLayer, which sends signed answers back to NEAR contracts (source: NEAR Docs, OutLayer).
Can an AI agent spend all the NEAR in my account?
An AI agent cannot spend your main NEAR balance if you give it a limited function-call key or a separate gas key instead of a full-access key. A gas key only spends the prepaid NEAR you load onto that specific key, and a function-call key cannot send NEAR transfers out of your wallet (source: NEAR Docs, Access Keys).
What happens when an owner deletes an NEP-611 key that still holds a balance?
Deleting a gas key burns any NEAR still on it. To stop you burning a large amount by mistake, NEAR will not let you delete the key, or the account, while the key holds more than 1 NEAR; withdraw the NEAR first (source: NEAR Docs, Access Keys).
How do function-call permissions protect a wallet's main token balance?
A limited key only lets an agent take the actions you allowed, in one app, and it cannot send your NEAR. Even if the agent is hacked, the key cannot send your NEAR, add new full-access keys or delete your account (source: NEAR Docs, Access Keys).
Does NEAR Protocol support post-quantum access keys for long-term agent and vault accounts?
NEAR supports a newer key type, approved by the US standards body NIST, that is designed to resist future quantum computers. These keys are large, so NEAR stores a short fingerprint of each one, and storing it costs the same as a normal key (source: NEAR Docs, Access Keys).
Researched and written by the BloFin Academy editorial team with AI-assisted drafting. Primary sources include the 2017 Transformer architecture paper (arXiv:1706.03762), Software Engineering Daily's interview with Illia Polosukhin, the NEAR AI blog announcement of NEAR AI Cloud and Private Chat, the NEAR Blog post on evolving tokenomics, Wikipedia's NEAR Protocol history, NearBlocks mainnet validator and signer data, and official NEAR Protocol documentation on tools for AI agents, OutLayer verifiable off-chain compute, TEE-secured oracles, NEP-611 gas keys, post-quantum access keys, NEAR Intents, and Chain Signatures. All facts independently verified against cited documentation current as of October 2026.
This article is for informational and educational purposes only. It is not financial, investment, trading, or legal advice. Cryptocurrency can lose value. Using autonomous AI agents, third-party off-chain compute enclaves, smart contracts, and leveraged derivatives on NEAR Protocol carries technical, key-management, attestation, and market risks. Spot NEAR/USDT buys the token. A NEARUSDT Perpetual is a contract on the price. Do your own research. Consider your circumstances before using any protocol or trading any asset.
