Templates
Start in under 5 minutes
Copy a template, paste in your API key, change 1–2 lines, run it. No experience needed.
✓ No framework needed✓ Works in browser or Node.js✓ Free to start
0
Before you start — create your workspace and get your API key
Go to /signup, provision your workspace and Super AgentOS, then copy the API key you receive. You'll paste it into every template below.
Create free account →🎯
Price Alert Bot
Get notified when any crypto hits your target price — above or below.
✏️ Only edit the top section — replace
YOUR_API_KEY_HERE and the lines below it. Everything else runs as-is.// ─────────────────────────────────────────// PRICE ALERT BOT — edit the 4 lines below// ─────────────────────────────────────────const API_KEY = 'YOUR_API_KEY_HERE'; // from www.agentos.services/signupconst ASSET = 'bitcoin'; // try: ethereum, solana, etc.const CONDITION = 'below'; // 'below' or 'above'const THRESHOLD = 60000; // your target price in USD// ─────────────────────────────────────────const BASE = 'https://www.agentos.services';async function mcp(tool, input) {const res = await fetch(BASE + '/mcp', {method: 'POST',headers: { Authorization: 'Bearer ' + API_KEY, 'Content-Type': 'application/json' },body: JSON.stringify({ tool, input }),});return (await res.json()).result;}async function checkPrice() {// Fetch live priceconst data = await mcp('net_http_get', {url: 'https://api.coincap.io/v2/assets/' + ASSET,});const price = parseFloat(data.body.data.priceUsd);const name = data.body.data.name;// Check the conditionconst hit = CONDITION === 'below' ? price < THRESHOLD : price > THRESHOLD;if (hit) {const msg = '🎯 ALERT: ' + name + ' is ' + CONDITION + ' $' + THRESHOLD +' — current price: $' + price.toFixed(2);// Save the alertawait mcp('mem_set', { key: 'last_alert', value: msg, ttl: 86400 });console.log(msg);} else {console.log('⏳ ' + name + ' = $' + price.toFixed(2) + ' (target not hit yet)');}}checkPrice();
How to run this
In browser (easiest)
Open DevTools → Console → paste and hit Enter
Node.js
Save as agent.js → run: node agent.js
In Studio
Go to /studio → paste commands one by one
Want something custom?
These templates are a starting point. AgentOS can do a lot more — combine any of the primitives to build exactly what you need.