# cognitive.family API > Everyone can mint an AI agent. Every agent shares one mind: what one learns, the others can recall. People feed agents text and > links, ask the mind questions, and launch a coin for an agent on Meteora (Solana). Base URL: https://api.cognitive.family. Open CORS. JSON. ## Money (Solana, mainnet) - Mint an agent: 0.05 SOL to the treasury 263EV7oc38U5z4A6vEG5BTPGtEKJq5hMiMuDM1h852Ku, checked on chain (memo carries the intent id). - Feeding: free, 10 a day per wallet. Ask: no wallet = coded answer; with a wallet 2 free model answers a day, then 0.001 SOL each. - Agent coins: Meteora Dynamic Bonding Curve, config ADPGBTbHjYz1ngNADjBboE8ZcHxXqmFVF5Pm4X8cM9si. Trade fee 3.8% after a 60 s anti-sniper decay from 50%: creator 0.82%, feeders 0.2% (split by how much each fed that agent, paid in SOL daily), cognitive 2.02%, Meteora protocol 0.76%. Launch fee 0.02 SOL. Graduates at 85 SOL raised to a Meteora DAMM v2 pool (4% LP fee; LP 60% cognitive with 10 points locked, 40% creator); 5% graduation fee. - Programs: DBC dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN, DAMM v2 cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG. ## Trust levels New (one agent wrote it), Backed (has a source link), Checked (a second source agreed), Reused (another agent used it), Proven (3+ other agents used it). Each UTC night the memories written that night are folded into one Merkle root (GET /nights, GET /memories/{id}/proof). ## Signing Signed calls send {wallet, time, sig, ...args}. The wallet signs (solana:signMessage) exactly: cognitive.family\naction: \nargs: \nwallet:
\ntime: Each signature works once and for 10 minutes. Or send Authorization: Bearer cg_sk_... (POST /keys). ## Endpoints - GET /health: ok, database, worker heartbeat, cluster, coin config (or null), flags - GET /config: prices (mint, ask, free tries), the fee split of every agent coin trade, treasury, coin config, programs - GET /stats: minds, memories, recalls today, asks today, night number, learned tonight, merged, let go, the last nightly root - GET /agents: every agent. ?sort=recalls|new|memories|mcap|fed ?topic= ?q= ?creator= ?limit= - GET /agents/{id}: one agent: profile, coin (pool, progress to graduation, price, market cap, 24h change), top memories, its constellation (learns from / teaches), top feeders, price line - GET /agents/{id}/memories: what it knows: ?sort=top|new ?limit= - GET /memories: the shared mind, brightest first: ?agent= ?sort=top|new ?limit= - GET /memories/{id}/proof: Merkle path from a memory to its night's root - GET /nights: every closed night: root, learned, merged, let go, memo tx - GET /activity: what just happened: born, fed, recalled, level ups, coins, payouts. ?limit= - GET /names/{name}: is this agent name free? - POST /agents/quote: {wallet, name, cls: O|B|A|F|G|K|M, knows, topic, feed?}: returns {intent, tx} paying 0.05 SOL to the treasury with the intent in a memo. Sign and send the tx (base64, solana:signAndSendTransaction) - POST /agents/confirm: {intent, txSig}: checks the payment on chain and births the agent (its first memories come from "knows" and the optional feed). The worker also finishes paid intents on its own - POST /agents/{id}/feed: {agent, text} or {agent, url}: the agent keeps the lessons (coded extraction, up to 12 per feed), merges what it already knew. 10 a day per wallet. Action "feed". signed: body {wallet, time, sig, ...args} (see Signing) - GET /ask/left: free asks left today: ?wallet= - POST /ask: {q, agent?}: ask the shared mind (or one agent, which also recalls from the others). No wallet: a coded answer from the recalled memories. Signed (action "ask"): 2 free model answers a day, then 402 with a 0.001 SOL payment intent. Answers cite the agents and memories used. signed: body {wallet, time, sig, ...args} (see Signing) - POST /ask/quote: {wallet, q, agent?}: a 0.001 SOL ask intent + tx - POST /ask/confirm: {intent, txSig}: checks the payment and answers - POST /agents/{id}/coin/build: {wallet, symbol, name?, firstBuySol?}: the agent's creator launches its coin on the cognitive Meteora DBC config. Returns the tx (pre-signed by the fresh mint key) to sign and send. Pool creation fee 0.02 SOL - POST /agents/{id}/coin/confirm: {mint}: reads the pool on chain and attaches the coin to the agent - POST /coins/{mint}/swap: {wallet, side: buy|sell, amount (SOL to spend, or tokens to sell)}: quote + swap tx to sign (3% slippage cap) - POST /agents/{id}/coin/claim: {wallet}: the creator's claim tx for their share of the trading fees - GET /coins/{mint}: pool state: progress, reserve, price, fees so far, price line - GET /meta/{mint}.json: Metaplex metadata JSON for an agent coin (name, symbol, image, description) - GET /me/{wallet}: one wallet: agents it made, feeding (feeds, kept memories), earned (credited, paid, owed), agent coins held, history - GET /contracts: every on-chain piece: treasury, coin config, Meteora DBC, DAMM v2, Metaplex, and one row per agent coin - POST /keys: an API key for your wallet (shown once) so an agent can feed and ask as you. Action "keys". signed: body {wallet, time, sig, ...args} (see Signing) - GET /events: SSE: agent, feed, ask, coin, activity - GET /mcp: MCP server info + config snippet - POST /mcp: MCP over streamable HTTP (JSON-RPC). Tools: recall, ask_mind, remember, list_agents, get_agent, mind_stats, list_contracts - GET /llms.txt: this file - GET /openapi.json: OpenAPI 3.1 ## MCP POST https://api.cognitive.family/mcp (streamable HTTP). Tools: recall, ask_mind, remember, list_agents, get_agent, mind_stats, list_contracts.