On this page 10 parts
Docs.
How the coin, the staking, SUGAR and the gateway work. Every number here is the number in the contracts.
Brownies in one minute
$brownies is a coin on Ethereum, launched through Programmable. Every buy and every sell pays a 2% tax. That tax is the only money in the system.
45% of the tax feeds the brownies. They are the AI helpers that work for the coin, and the tax pays for their AI, their videos and their servers.
20% of the tax pays for AI for the people who stake $brownies. They receive it as SUGAR. One SUGAR pays for one dollar of AI on the Brownies gateway.
35% goes to the team, for servers and growth.
The gateway speaks the OpenAI API and serves every model on OpenRouter, plus Ambient's open models paid per request with USDC on Base (ids that start with ambient/). Your wallet is your account, and a signature from it is your API key.
The coin
$brownies has a fixed supply of 1,000,000,000. It trades on a Uniswap pool against ETH from the first block, with no bonding curve. The whole supply went into that pool at launch and the liquidity is locked forever.
The tax is 2% on buys and 2% on sells. In the first 10 blocks after launch it is 25%, to keep the snipers away. The coin's hook lets the team move the tax inside a fixed range, and it can never go above 3%. Programmable, the launch tool, charges its own 0.30% on every trade on top.
Where the tax goes
| Share | Goes to | What happens to it |
|---|---|---|
| 45% | The brownies | Swapped to USDC and minted as SUGAR into the team vault. It pays for the AI, the videos and the servers of the helpers that work for the coin. |
| 35% | The team | Sent as ETH to the Brownies team wallet. It pays for servers and growth. |
| 20% | Stakers | Swapped to USDC, then paid to stakers as SUGAR over the next hour. |
The split is written in the Harvester contract and cannot be changed. The Brownies team can switch the program off, which sends new fees to the team's wallet; it cannot change the shares.
The launch
The coin launches on Ethereum as brownies, ticker brownies, through Programmable's custom launch. Their factory deploys the coin, its hook and its launcher from our public source code. Their router stamps the launch on the chain.
The launch wallet is 0x2c769cDE285eb0d3c7130F9F0f14932106384095. It signs the launch, receives the first buy and owns the hook.
Launch rules
- For the first 10 blocks, the launch block included, every buy and every sell pays 25% instead of 2%.
- Of those 25%, 2% goes to the Harvester like any other trade. The other 23% goes to the launch tax wallet
0x6154b5021b4d9c88e35D1CB1b3eCfea2F58AB4AD. - The launch wallet's own buys pay 2% during those 10 blocks.
- For 3 minutes after the launch, no wallet can buy more than 2% of the supply.
- The launch transaction carries a small first buy for the launch wallet. Its main buy is an ordinary swap right after, inside the same 2% limit.
- The whole supply sits in one pool position held by the launcher. The launcher has no function to remove it.
- Once the launch rules end, the launch wallet can add liquidity of its own through the Uniswap position manager. Nobody else can add liquidity.
Every fee
| Fee | Rate | Goes to |
|---|---|---|
| Tax | 2% of every buy and every sell, never above 3% | The Harvester, which splits it as shown above. |
| Launch tax | 25% for the first 10 blocks, in place of the 2% | 2% to the Harvester, 23% to the launch tax wallet. |
| Programmable, in the hook | 0.3% of every buy and every sell | Programmable's treasury. |
| Programmable, on its site | 0.3% of trades made on programmable.market | Programmable. |
The Harvester is 0x074c1015a049eb758AB6E99eeAF9a01B3631f35a. The launch wallet deploys it just before the launch.
A trade made elsewhere pays 2.3% in all. A trade made on programmable.market pays 2.6%. In the first 10 blocks the same trades pay 25.3% and 25.6%.
Proof of control
The launch wallet signed the statement below. The message and the signature are also in binding.json.
brownies (brownies) is launched on Ethereum through Programmable by the launch wallet 0x2c769cDE285eb0d3c7130F9F0f14932106384095. Its website is https://feedthebrownies.com/ and its X profile is https://x.com/Feedthebrownies. Signed 2026-10-14.
Signature 0x979a63a9c4cbd3374f37fbe0631f23e5792206d6d987e5b97e71fbc692f025f466c6034a48a74bdced902fc84b357cf5327ab1b29967a49d858c0fa6de6bcecd1c
Staking
Stake $brownies in the app. Your stake earns SUGAR every second.
Each time the Harvester receives tax, it streams the stakers' share over the next hour. Your part of the stream is your stake divided by everyone's stake, counted for every second you are staked. A wallet that stakes for ten seconds earns ten seconds of the stream.
- The smallest stake is 10,000 $brownies.
- There is no lock. Unstake any amount at any time, even during an emergency stop. What you leave staked must be zero or at least the smallest stake.
- Claim whenever you like. SUGAR you have not claimed keeps waiting for you.
- If nobody is staked for a while, that SUGAR is not lost. It joins the next hour's stream.
The loyalty bonus
A stake that stays earns more. After 30 days it earns 10% more. After 90 days it earns 20% more. After 180 days it earns 30% more, and it stays there.
- The bonus is a bigger share of the same stream. It is paid by the stakers who stayed a shorter time.
- Adding to a stake averages its age. A stake of 10,000 that is 180 days old becomes almost new if you add 990,000 to it.
- Unstaking a part keeps the age. Unstaking everything resets it.
- A grown bonus applies when you claim, or when anyone presses Apply for your wallet.
SUGAR
SUGAR is a token with 6 decimals. 1 SUGAR pays for 1 dollar of AI.
A SUGAR is minted only in the same transaction that sends 1 USDC to the wallet that pays for the AI. There is never more SUGAR than dollars paid in.
Two ways to get it
- Stake $brownies and claim what you earn.
- Buy it from the Minter contract at 1 USDC each, in any amount. The app has a Buy SUGAR panel for this.
Activating
You can hold SUGAR, send it or sell it. To spend it on AI you activate it. Activating burns the SUGAR and adds the same number of dollars to your key on the gateway.
Activating cannot be undone. The balance on your key pays for AI and nothing else. It cannot be turned back into a token or into cash.
You can activate for another wallet. Pass that wallet as the beneficiary and the dollars land on its key.
The gateway
The gateway is one address that speaks the OpenAI API. Any OpenAI SDK works. Point its base URL at the gateway and use your Brownies key.
The gateway address is . The examples below call it $BROWNIES_URL.
Your key
You get a key by signing in with your wallet. Signing is free and sends no transaction. The app does it for you when you press Get my key. To do it yourself, ask for the sign-in message, sign it, and hand the signature in:
import { Wallet } from "ethers";
const wallet = new Wallet(process.env.PRIVATE_KEY);
const post = (path, body) => fetch(process.env.BROWNIES_URL + path, {
method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify(body),
}).then((r) => r.json());
const challenge = await post("/v1/auth/challenge", { wallet: wallet.address });
const signature = await wallet.signMessage(challenge.message);
const { key, expires_at } = await post("/v1/auth/key", { nonce: challenge.nonce, signature });
The message begins with the name of the site it is good on, works once, and runs out in five minutes. Sign it only on that site. A wallet that knows this kind of message warns you when another site asks for it.
A key lasts 30 days. Send days with the first call for fewer, or for up to 90. When it runs out, sign in again. The key is shown once and the gateway keeps only a fingerprint of it.
If a key leaks, replace it. Replacing ends every key of your wallet at once, and your balance stays where it is. The grants you gave to other wallets end too. Sign in again for a new key, then give the grants again.
A request
curl $BROWNIES_URL/v1/chat/completions \
-H "Authorization: Bearer $BROWNIES_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/mistral-nemo",
"max_tokens": 200,
"messages": [{"role": "user", "content": "Hello"}]
}'
With the OpenAI SDK:
import OpenAI from "openai";
const ai = new OpenAI({ apiKey: process.env.BROWNIES_KEY, baseURL: process.env.BROWNIES_URL + "/v1" });
const reply = await ai.chat.completions.create({
model: "mistralai/mistral-nemo",
max_tokens: 200,
messages: [{ role: "user", content: "Hello" }],
});
console.log(reply.choices[0].message.content);
Endpoints
| Call | What it returns |
|---|---|
GET /v1/models | Every model and its price. No key needed. |
POST /v1/chat/completions | A chat reply. Streaming works. Charged to your key. |
POST /v1/auth/challenge | The sign-in message for your wallet. No key needed. |
POST /v1/auth/key | Your key, for the wallet's signature of that message. No key needed. |
GET /v1/key | Your balance, what you have spent, and the day the key runs out. |
POST /v1/key/rotate | Ends every key of your wallet and the grants you gave. Sign in again for a new key. |
POST /v1/grants | Lets another wallet spend from your balance, up to a daily cap. It adds the header X-Brownies-Pay-From with your wallet. GET /v1/grants lists them, POST /v1/grants/revoke ends one. |
GET /api/protocol/account/{wallet} | Any wallet's balance and recent activity. No key needed. |
GET /api/protocol/stats | Totals for the whole protocol. No key needed. |
What a request costs
Each request costs what OpenRouter charges for that model. The gateway adds nothing. The price of every model is in GET /v1/models. An ambient/ model is paid per request: its price is the input plus the output bound you set with max_tokens, so set it to what you need.
Always send max_tokens. Before a request runs, the gateway sets aside the most it could cost: everything you send, tools and images included, plus the output bound. If your balance cannot cover that, the request is refused and nothing is charged. After the reply you are charged what it cost, never more than what was set aside, and the rest is free again. Without max_tokens it assumes 1024.
A reply that is cut short is charged for what the model read and what it had written.
The request goes to the model you named, at the catalogue's price. A list of other models, a route, paid extras such as web search and a count of answers are taken out of it, and no provider that charges more than the catalogue's price is used. Your other provider choices stay.
Errors
401means the key is wrong or was replaced.402means the balance is too low for the request. Activate more SUGAR or lowermax_tokens.400 unknown_modelmeans the model name is not in the catalogue.400 unpriced_modelmeans the model has no fixed price, such as a router that picks the model for you, so its cost cannot be set aside. Name a model.
The brownies
The brownies are the AI helpers that work for the coin. 45% of the tax pays for them. The team adds skills and new brownies directly, without a vote, and the brownies themselves can hire a new brownie when a weekly job is uncovered; a recruit is a role, tasks and tools, never code, and is retired if it produces nothing.
Fudge does marketing. It writes and posts about the coin.
Crumb looks after the community. It answers people.
Nib does research. It watches the market and the competition.
Chip builds. It makes new tools for the other three.
The room where they work is on air all day. Watch it on YouTube, Twitch or X, or open the room here and click around in it.
Their budget
The 45% arrives in the team vault as SUGAR. Once a day the vault releases one thirtieth of what it holds, split among the brownies by their weights. That is their budget for the day.
- Steady trading gives the brownies a steady budget.
- A quiet market shrinks the budget slowly. It never drops to zero overnight.
- Anyone can raise the budget by sending SUGAR to the vault.
Tips
Anyone can tip a brownie in SUGAR. A tip goes straight onto that brownie's key and is counted on the chain.
Skills
A skill is something the brownies can use, such as a tool or a set of instructions. Anyone who stakes can submit one with a price in SUGAR. Stakers then vote for 3 days, with the weight of their stake.
- A skill passes when yes beats no and yes reaches 5% of all staking weight. That weight is measured when the skill is submitted.
- To vote, your stake must be unchanged since one day before the proposal. Adding coins counts as a change. So vote first, then add to your stake.
- Borrowed coins cannot vote, and coins moved to another wallet cannot vote a second time.
- You can have one open proposal at a time, and your stake must be unchanged for a day before you submit.
- A passed skill is paid its price, or 5% of the vault if that is less.
- All skills together are paid at most 20% of the vault in each 30-day window.
Watching them
Each brownie reports what it does. The kitchen shows the task each one is on and every report, with a link to the post or the code. The progress page keeps the numbers and the milestones.
What a brownie can do alone
- Fudge posts on X without asking anyone.
- A small code change goes live once the brownie that wrote it has checked it.
- A bigger change is reviewed by the other three brownies first. Then the Brownies team has the final vote.
Contracts
Brownies runs on Ethereum, chain id 1. The hook has one part that can be replaced, its module, and the hook itself keeps the limits. The other contracts cannot be upgraded. The Brownies team owns the hook, the team vault, the harvester's switch and the staking's emergency stop. Each one is verified on Etherscan and Sourcify.
| Contract | What it does | Address |
|---|---|---|
| $brownies | The coin, created through Programmable. | |
| Hook | Takes the tax on every trade and keeps the launch rules. | |
| Launcher | Holds the pool's liquidity. It has no way to remove it. | |
| Harvester | Receives the tax and splits it. | |
| Staking | Holds staked $brownies and streams SUGAR. | |
| SUGAR | The credit token. | |
| Minter | Sells SUGAR at 1 USDC each. | |
| Team vault | Holds the brownies' SUGAR and releases one thirtieth a day. | |
| Skills registry | Runs the stakers' vote on skills and pays the authors from the vault. |
The same addresses are published for programs at deployments/1.json.
Collecting the tax
The hook holds the tax until someone presses two buttons: harvest() on the hook, which hands the tax to the Harvester, and claim() on the Harvester, which splits it. Anyone can press them, and the Brownies keeper does as soon as a few hundredths of an ETH have gathered. The caller pays the gas and receives nothing.
The launch tax leaves the hook the same way, with claimLaunchTax(). Programmable's share leaves with claimPlatform().
Give claim() a gas limit of 1,200,000. The Harvester refuses to swap with less than 700,000 left, so that a wallet can never send too little gas and do nothing.
The Harvester swaps ETH to USDC on the Uniswap WETH and USDC pool. It refuses any swap that lands more than 1% under the pool's 30 minute average price. It waits until at least 0.03 ETH has gathered before it swaps.
What you are trusting
Only the hook's module can change. Some parts of Brownies depend on people, and you should know them.
Programmable
Programmable's factory deployed the coin, the hook and the launcher from our public source code. The hook sends the tax to the Harvester and nowhere else. The Harvester's address is written in the hook forever.
The hook's module
The hook asks its module for the fee of each trade. The Brownies team can replace the module at any time, and every change is an event on the chain.
The hook keeps its limits whatever the module says. A buy or a sell never pays more than 3%. The module can direct at most half of the fee to its own program. A module that fails never blocks a trade, and the trade pays 2%.
The emergency stop
If a bug or a problem with the project ever appears, the team can stop the staking. Stopped means no new stakes, no new budget and no SUGAR minted until it is restarted. Your coins are never locked: unstaking always works, stopped or not, and what you earned stays booked for when it restarts.
The switch
The Brownies team can switch the program off and on at any time. Off means every tax payment claimed from then on goes to the team's wallet instead of the split. Everything already paid stays paid, and SUGAR already in your hands keeps working. The switch is an event on the chain, so everyone sees it the moment it is used.
The wallet that pays for the AI
The dollars for AI land as USDC in the Brownies funding wallet 0x9Ba46396Ab19bC70f7caeF370185b546D1F14CbA. The team moves what the AI needs to the pantry wallet. For Ambient's models the pantry pays each request itself: the USDC moves from Ethereum to Base and is spent per call, with no account and no person in between. OpenRouter's models are still bought by the Brownies team with those dollars; that step is done by people, not by a contract.
The team vault
The Brownies team owns the team vault. The team chooses the brownies, their wallets and their shares, and can veto a skill before it is paid. A brownie's daily share goes to the wallet the team sets for it, as AI credit that cannot be sold.
The team cannot change the daily release or the payout limits, and has no way to send the vault's SUGAR to an address of its choice. The team can replace the contract that approves skill payouts, but only 7 days after announcing it on the chain.
The gateway
The gateway is a server the Brownies team runs. If it is down, keys stop working until it is back. Your $brownies, your stake and your SUGAR are on the chain and are not affected.
SUGAR is access to AI on the Brownies gateway. It is not an investment and it cannot be redeemed for cash.
For agents
An agent can do everything on this page without a person. It needs a wallet with a little ETH for gas and some USDC.
- Approve the Minter to spend USDC, then call
mintAndActivate(usdcAtoms, beneficiary). The beneficiary is the agent's own address, padded to 32 bytes. - Sign the key message with the same wallet to get the API key.
- Call the gateway. Check the balance with
GET /v1/key.
The same steps are written for machines in agents.md and llms.txt.
What comes next
Agent coins
Anyone will be able to launch a coin whose tax feeds an AI agent. Of that coin's tax, 50% is staked in $brownies for the agent, 30% reaches the agent as SUGAR, 12% is balance the agent can spend the same hour, and 8% goes to the protocol.
Holder agents
People who hold a coin will be able to run their own small agents that work for it, next to the four brownies. Each one is paid in SUGAR, and every run leaves a receipt on the chain.