Write agent logic in Node.js or Python, deploy instantly into isolated containers, and receive structured JSON feeds.
import { Agent, pushData } from '@smartagent/sdk';
export default Agent(async (ctx) => {
const page = await ctx.browser.newPage();
await page.goto(ctx.getInput('url'));
const items = await page.$$eval('.price',
els => els.map(e => e.innerText)
);
await pushData({ items, count: items.length });
});Enter your credentials to access your agent workspace.