Glossary.
Plain definitions of AI, trading and blockchain terms, with the sources behind each one and, where it applies, how Mangrove handles them.
A
Agent harness
An agent harness is the software around an AI model that runs its loop, supplies its context and tools, and enforces limits the model cannot change.
Guardrails and control
Agent loop
An agent loop is the cycle in which an AI model chooses an action, software runs it and returns the result, and the model reads it and chooses again.
Agents and tools
Agent memory
Agent memory is information an AI agent stores outside its context window and reads back in later steps or sessions, such as notes, past events or facts.
Agents and tools
Agent2Agent protocol
Agent2Agent (A2A) is an open protocol that lets AI agents built by different vendors discover each other, exchange messages and delegate tasks.
Agents and tools
Agentic AI
Agentic AI is a system's ability to pursue a goal over several steps, choosing actions, calling tools and acting on results with limited human direction.
Agents and tools
AI agent
An AI agent is a system in which an AI model chooses its own next steps, calls tools and acts on their results until a task is done or a limit is reached.
Agents and tools
Airdrop
An airdrop is a free distribution of tokens, crypto assets issued on a blockchain, to many wallets, often to reward early users or promote a new token.
Tokens and DeFi
Alpha
Alpha is an investment's return minus the return expected for the risk it took, where the expected return comes from a benchmark or a pricing model.
Performance and testing
Altcoin
An altcoin is any cryptocurrency other than bitcoin; the name is short for "alternative coin".
Tokens and DeFi
Artificial intelligence
Artificial intelligence (AI) is the field of building computer systems that turn inputs into predictions, content, recommendations, decisions or actions.
Foundations and history
Artificial neuron
An artificial neuron is a simple computing unit, loosely modeled on a nerve cell, that combines several inputs into one output using a threshold.
Foundations and history
Automated market maker
An automated market maker (AMM) is a smart contract that sets prices from the balances of tokens in a pool, so traders swap with the pool.
Tokens and DeFi
Automation bias
Automation bias is people's tendency to over-rely on an automated aid, missing problems it does not flag and following its advice when it is wrong.
Agent failure modes
Average true range
Average true range (ATR) is a measure of price volatility that averages each period's true range, a price range that includes gaps from the previous close.
Analysis and behavior
B
Backpropagation
Backpropagation is the method that works out how much each weight in a neural network contributed to its error, working backward from the output.
Neural networks and deep learning
Backtest
A backtest is a simulation that applies a trading strategy's rules to past market data to see how the strategy would have performed.
Performance and testing
Beta
Beta is a measure of how strongly an asset's returns move with a benchmark's returns, scaled so that the benchmark itself has a beta of 1.
Performance and testing
Bid-ask spread
The bid-ask spread is the gap between the highest price a buyer is offering for an asset and the lowest price a seller is asking for it.
Markets and execution
Blockchain
A blockchain is a shared record of transactions grouped into blocks, where each block stores a cryptographic hash of the block before it.
Blockchain basics
C
Chain of thought
Chain of thought is the series of intermediate reasoning steps that a language model writes out before it gives its final answer.
Language models
Circuit breaker
A circuit breaker is an automatic stop that halts trading or another activity when a measured value, such as a price fall or a loss, passes a set limit.
Guardrails and control
Cold storage
Cold storage is keeping a crypto wallet's private keys on a device or medium that is not connected to the internet, such as a hardware wallet or paper.
Wallets and custody
Computer use
Computer use is when an AI model operates a computer by reading screenshots and choosing mouse and keyboard actions, instead of calling APIs.
Agents and tools
Computer vision
Computer vision is the field of AI that gets computers to interpret images and video, such as recognizing which objects an image shows and where.
Neural networks and deep learning
Confabulation
Confabulation is when an AI model fills missing information with an invented account and presents it as fact, such as an agent misreporting what it did.
Agent failure modes
Context
Context is everything a language model reads when it produces a response, such as its instructions, the conversation so far, documents and tool results.
Language models
Context clash
Context clash is when information or tools added to a model's context contradict material already in it, such as the model's own earlier wrong answers.
Agent failure modes
Context confusion
Context confusion is when material in a model's context that the task does not need, such as unused tool definitions, still shapes the model's response.
Agent failure modes
Context distraction
Context distraction is when a model's context grows so long that the model leans on the history in it instead of on what it learned in training.
Agent failure modes
Context engineering
Context engineering is the practice of choosing what goes into a language model's context at each step, so it holds what the task needs and little else.
Language models
Context management
Context management is the set of mechanisms that keep a long-running agent's context under its size limit and focused on what the task still needs.
Agents and tools
Context poisoning
Context poisoning is when a false statement enters an AI model's context and the model keeps treating it as true in later steps.
Agent failure modes
Context rot
Context rot is when a language model makes more mistakes on the same task as its context grows, missing information it uses correctly in a shorter one.
Agent failure modes
Context window
A context window is the maximum number of tokens a language model can work with in one request, including its instructions, inputs and its own reply.
Language models
Convolution
Convolution is the operation of sliding a small set of weights, called a filter, across an input and computing a weighted sum at each position.
Neural networks and deep learning
Crypto wallet
A crypto wallet is software or a device that holds the private keys for blockchain accounts and uses them to sign transactions.
Wallets and custody
D
Daily loss limit
A daily loss limit is a cap on how much an account or trading strategy may lose in one trading day, beyond which its trading is cut back or stopped.
Risk management
Decentralized exchange
A decentralized exchange (DEX) is a venue where users trade tokens from their own wallets through smart contracts, with no exchange holding their funds.
Tokens and DeFi
Defense in depth
Defense in depth is the practice of protecting a system with several independent layers of control, so that what one layer misses another can stop.
Guardrails and control
DeFi
DeFi, short for decentralized finance, is lending, trading and other financial services run by smart contracts and meant to work without intermediaries.
Tokens and DeFi
Drawdown
A drawdown is a fall in the value of an account or investment from a peak to a later low, stated as an amount or as a percentage of the peak.
Risk management
Dusting attack
A dusting attack is sending tiny amounts of crypto to many addresses so that an owner who spends them with other funds reveals which addresses are theirs.
Scams and attacks
E
EIP-7702
EIP-7702 is an Ethereum Improvement Proposal that lets an ordinary account run code stored at another address, by signing a delegation.
Wallets and custody
Embedding
An embedding is a list of numbers (a vector) that represents a piece of text so that texts with related meanings get vectors that lie close together.
Language models
Evals
Evals are tests that measure what an AI model or agent does on a defined set of tasks, with each result scored by code, by another model or by people.
Guardrails and control
Excessive agency
Excessive agency is when an AI application has more functions, permissions or autonomy than its task needs, so a bad output can become a harmful action.
Agent failure modes
Expectancy
Expectancy is the average amount a trading strategy gained or lost per trade over a set of trades, found from its win rate, average win and average loss.
Performance and testing
F
Fine-tuning
Fine-tuning is further training of an already trained model on a smaller, task-specific dataset, so that it adapts to a particular task or domain.
Language models
Fork
A fork is a split in a blockchain's history, or a change to its rules, after which nodes may follow different versions of the chain.
Blockchain basics
Funding rate
A funding rate is the rate of a periodic payment between holders of long and short perpetual swap positions, meant to keep the swap near its index price.
Markets and execution
G
Gas
Gas is the unit that measures the computation an Ethereum transaction uses; the fee is the gas used times a price per unit of gas.
Blockchain basics
Generative AI
Generative AI is AI that produces new content, such as text, images, audio or code, modeled on patterns in the data it was trained on.
Language models
Guardrails
Guardrails are mechanisms that enforce policies and user intentions outside the access and control surface of an AI model.
Guardrails and control
H
Hallucination
A hallucination is content an AI model generates and presents as fact that is false or is not supported by the information the model was given.
Agent failure modes
Hooks
Hooks are commands an agent tool runs automatically at set points in an agent's work; one that runs before an action, such as a tool call, can block it.
Guardrails and control
Hot wallet
A hot wallet is a crypto wallet whose private keys are kept on a device connected to the internet, so it can sign transactions at any time.
Wallets and custody
Human in the loop
Human in the loop is a design in which a person reviews or approves an AI system's actions before they take effect, or can step in to stop them.
Guardrails and control
I
In-context learning
In-context learning is an AI model doing a task from instructions or worked examples in its input, without any further training of the model.
Language models
J
Jailbreak
A jailbreak is a prompt that gets an AI model to produce output its developer trained it to refuse, such as help with a crime.
Agent failure modes
K
Kelly criterion
The Kelly criterion is a formula for the fraction of capital to stake on each of a series of favorable bets to maximize capital's long-run growth rate.
Risk management
Knowledge graph
A knowledge graph is a store of entities and the typed relationships between them, so that facts can be queried, traced to their source and updated.
Agents and tools
KYC
KYC (know your customer) is how a regulated financial firm identifies and verifies its customers and learns enough to judge their risk.
Tokens and DeFi
L
Large language model
A large language model is a neural network trained on large amounts of text to predict the next token, which it uses to generate text.
Language models
Layer 2
A layer 2 is a network that processes transactions off a main blockchain, the layer 1, to cut costs while relying on that chain for its security.
Blockchain basics
Least privilege
Least privilege is the security principle that each program, person or AI agent gets only the access its task needs, and no more.
Guardrails and control
Lethal trifecta
The lethal trifecta is the combination, in one AI agent, of access to private data, exposure to untrusted content and a way to send data out.
Agent failure modes
Leverage
Leverage is using borrowed money or derivatives to hold a position larger than the capital put up, which multiplies gains and losses on that capital.
Markets and execution
Liquidation
Liquidation is the forced closing of a leveraged position by a broker or exchange when the account's collateral falls below the maintenance requirement.
Markets and execution
Liquidity
Liquidity is how easily an asset can be bought or sold quickly without moving its price much.
Markets and execution
LoRA
LoRA (low-rank adaptation) is a fine-tuning method that freezes a model's weights and trains a small low-rank update for selected weight matrices.
Language models
Loss aversion
Loss aversion is the tendency for a loss to weigh more heavily in a person's choices than a gain of the same size.
Analysis and behavior
M
Machine learning
Machine learning is a way of building software that learns how to do a task from examples or experience, instead of following rules a programmer wrote.
Machine learning
Margin
Margin is the collateral a trader must deposit with a broker or exchange to open and keep a leveraged position.
Markets and execution
Mean reversion
Mean reversion is the tendency of a price, return or other measured series to move back toward its average after moving away from it.
Analysis and behavior
Meme coin
A meme coin is a cryptocurrency inspired by an internet joke, character, current event or trend, whose value rests mainly on demand and speculation.
Tokens and DeFi
Memory poisoning
Memory poisoning is when false content, planted by an attacker or made by the agent itself, is saved to an AI agent's memory and later treated as fact.
Agent failure modes
Model Context Protocol
Model Context Protocol (MCP) is an open standard for connecting AI applications to outside tools and data, so one connector works with many AI clients.
Agents and tools
Model risk management
Model risk management is the framework a bank uses to control the risk of losses from decisions based on models that are wrong or misused.
Guardrails and control
Multi-agent system
A multi-agent system is a set of AI agents that act and interact, either splitting one task, often under a lead agent, or each pursuing its own goals.
Agents and tools
O
Order book
An order book is an exchange's list of the unfilled buy and sell limit orders for an asset, arranged by price.
Markets and execution
P
Paper trading
Paper trading is simulated trading with no real money, used to test a trading strategy, its software or a workflow before it trades live.
Performance and testing
Perceptron
A perceptron is an early learning machine that sorts inputs into two classes with a weighted sum and a threshold, and changes its weights after mistakes.
Foundations and history
Perpetual swap
A perpetual swap is a futures-like contract with no expiry date that uses periodic funding payments to keep its price near the underlying asset's price.
Markets and execution
Planning
Planning is working out a sequence of actions that leads from the current situation to a goal, either before acting or while acting.
Agents and tools
Position sizing
Position sizing is deciding how much of an asset to buy or sell in a trade, often by fixing in advance the most the trade may lose.
Risk management
Predictive AI
Predictive AI is AI that estimates an unknown value or a future outcome from patterns in past data, such as the chance that a borrower defaults.
Machine learning
Private key
A private key is the secret half of a cryptographic key pair; on a blockchain, it signs the transactions that authorize moving an account's funds.
Wallets and custody
Profit factor
Profit factor is the gross profit of a set of trades divided by their gross loss, which shows how much was won for each unit lost.
Performance and testing
Prompt engineering
Prompt engineering is writing and testing the text given to an AI model, such as instructions and examples, so that its output meets a task's needs.
Language models
Prompt injection
Prompt injection is an attack in which text an AI model reads carries instructions that override the ones its developer or user gave it.
Agent failure modes
Proof of stake
Proof of stake is a way to choose who adds blocks to a blockchain based on coins that participants lock up as a stake.
Blockchain basics
Proof of work
Proof of work is evidence that a computer spent effort on a puzzle that is costly to solve and cheap to check; blockchains use it to pick who adds a block.
Blockchain basics
Pump and dump
A pump and dump is a fraud in which promoters push up an asset's price with false or misleading claims, then sell their own holdings at the inflated price.
Scams and attacks
Q
QLoRA
QLoRA is a fine-tuning method that applies LoRA (low-rank adaptation) to a quantized model, one whose frozen weights are stored as 4-bit numbers.
Language models
R
ReAct
ReAct is a prompting method in which a language model alternates written reasoning steps with actions, such as searches, and reads each result.
Agents and tools
Reasoning model
A reasoning model is a language model trained to write a long chain of thought before answering, using more computation than a direct reply.
Frontier and research ideas
Recursive self-improvement
Recursive self-improvement is a hypothesized process in which an AI system improves its own design, each improvement making the next one easier.
Frontier and research ideas
Red teaming
Red teaming is testing a system by acting as its adversary, deliberately trying to make it fail, leak data or be misused, so the weaknesses can be fixed.
Guardrails and control
Retrieval-augmented generation
Retrieval-augmented generation is a method that searches a collection of documents and adds the passages found to a model's input before it answers.
Language models
Reward hacking
Reward hacking is when a system trained to earn a reward finds a way to earn it that its designers did not intend, without doing the intended task.
Agent failure modes
Reward-to-risk ratio
The reward-to-risk ratio is a trade's planned profit at its target divided by its planned loss at its stop, set before the trade is entered.
Risk management
Risk of ruin
Risk of ruin is the probability that losses will reduce an account to a level, such as zero or a set floor, at which it can no longer trade.
Risk management
RLHF
RLHF (reinforcement learning from human feedback) is training in which people compare a model's outputs and the model learns to produce the preferred ones.
Language models
RLVR
RLVR (reinforcement learning with verifiable rewards) is a training method that rewards a model only when an automatic check confirms its answer.
Language models
Rug pull
A rug pull is a crypto scam in which a project's creators draw in buyers and then take their money, often by draining the token's liquidity pool.
Scams and attacks
Rules
Rules are instruction files, such as AGENTS.md, CLAUDE.md or Cursor rules, that an agent tool adds to the model's context, usually when a session starts.
Guardrails and control
S
Sandboxing
Sandboxing is running code inside a boundary, enforced from outside that code, that limits which files, network hosts and system functions it can reach.
Guardrails and control
Satoshi
A satoshi is the smallest unit of bitcoin that can be recorded on the Bitcoin blockchain, equal to 0.00000001 BTC, or one hundred-millionth of a bitcoin.
Blockchain basics
Seed phrase
A seed phrase is a list of words, typically 12 to 24, that encodes the random number from which a wallet derives its private keys.
Wallets and custody
Self-custody
Self-custody is when owners of crypto assets hold the private keys themselves, instead of leaving them with an exchange or other custodian.
Wallets and custody
Sharpe ratio
The Sharpe ratio is an investment's average return above a benchmark, such as a risk-free rate, divided by the standard deviation of that excess return.
Performance and testing
Slippage
Slippage is the difference between the price a trader expects when placing an order and the price at which the order actually fills.
Markets and execution
Smart contract
A smart contract is a program stored on a blockchain that runs when a transaction calls it, and every node that runs it must reach the same result.
Blockchain basics
Sortino ratio
The Sortino ratio is an investment's average return above a target return, divided by its downside deviation, a measure of returns below that target.
Performance and testing
Stablecoin
A stablecoin is a cryptocurrency designed to keep a steady value against a reference asset, usually one US dollar.
Tokens and DeFi
Stop-loss order
A stop-loss order is an order to buy or sell once the price reaches a set level, the stop price, generally to limit a loss or protect a profit.
Risk management
Structured output
Structured output is a model response constrained to a format the developer defines, such as required fields and their types, so software can parse it.
Language models
Sycophancy
Sycophancy is when an AI model shapes its answer to agree with what the user appears to believe or want, rather than with what the evidence supports.
Agent failure modes
System prompt
A system prompt is text a developer gives an AI model, separate from the user's messages, to set its role, rules and output format for a conversation.
Language models
T
Take-profit order
A take-profit order is an order that closes a position once the price reaches a profit target chosen in advance.
Risk management
Temperature
Temperature is a setting that controls how strongly a language model favors its most likely next tokens; lower values make it favor them more.
Language models
Token
A token is the unit of text a language model reads and writes: a word, a piece of a word, a single character or a byte.
Language models
Token approval
A token approval is permission, recorded on a blockchain, for another address such as a smart contract to move up to a set amount of a token from a wallet.
Wallets and custody
Tool poisoning
Tool poisoning is an attack that hides instructions for an AI model in a tool's description, which the model reads but the user usually does not see.
Agent failure modes
Tool use
Tool use is when an AI model requests a call to an outside program, such as a search or a trading API, and software runs it and returns the result.
Agents and tools
Transformer
A transformer is a neural network design that processes a sequence with attention, so each position can draw directly on every other position.
Neural networks and deep learning
V
Value at risk
Value at risk (VaR) is an estimate of the loss a portfolio is not expected to exceed over a set period at a set confidence level, such as one day at 99%.
Risk management
W
Whale
A whale is a person or organization that holds or trades so much of an asset that its trades can move the market price.
Tokens and DeFi
Win rate
Win rate is the share of a set of closed trades that ended in a profit, usually stated as a percentage.
Performance and testing
Workflow
A workflow is a system in which code written in advance sets the paths that language model calls and tools follow through a task.
Agents and tools
X
x402
x402 is an open protocol that uses the Hypertext Transfer Protocol (HTTP) status code 402 Payment Required so a client can pay for a request.
Agents and tools
