Hi @macnishio,
-
totalCostUsdis the amount actually charged. Local runs bill to the account the CLI is signed in as, so yours came out of your own seat’s included usage and were charged $0. Their list price lines up with your estimate. For the breakdown, runagent-sdk session get <sessionId> --view cost --jsonwhileagent-sdk devis running:cost.rawCostUsdis the list price andcost.costUsdis what was charged. The runs also show on the Usage page of your dashboard. Hosted agents work differently, as I mentioned before. A deployed agent runs as its own team service account, which has no included usage on a Teams plan, so its usage is billed as additional usage. -
Fair point, I’ve shared that feedback. You can change the model in
bot/agent.ts, for examplemodel: "composer-2.5". -
It’s harmless. The SDK’s tracing closes one span twice and logs it, but the run isn’t affected. It’s a known issue the team is aware of.
-
If the CLI says you’re signed in, the login worked and you can ignore that page.
-
That’s probably macOS privacy settings. Go to System Settings → Privacy & Security → Files and Folders → Terminal and turn on Removable Volumes (or Network Volumes, depending on the drive), then reopen Terminal. SSH sessions get their permissions separately, which is why it worked there.
-
Your rules from Cursor Settings aren’t loaded, but rule files on disk can be. A local run reads
.cursor/rules,AGENTS.mdandCLAUDE.mdfrom the session folder and every folder above it. By default that folder sits under~/.cache, so~/.cursor/rulesand~/AGENTS.mdget picked up. There’s no switch for it, but moving the sessions out of your home folder avoids it:
export default defineAgent({
local: { cwd: "/tmp/my-agent-sessions" },
});
If you set workspaceDir (for your repo snapshots), that folder is the one that counts, so keep it outside your home folder too.
On your other questions:
- Managed hosting is available on the Teams and Enterprise plans. Right now hosted agents are billed for model usage only, with no separate charge for the hosting itself.
- Per-agent spend limits are only available on Enterprise plans right now. On Teams, hosted agents fall under the team-wide usage limit I mentioned earlier, so that’s the cap to set.