Urgent.News

What's breaking now, across thousands of outlets.

AI

Lean Agents: Decide What Your Agent Can Reach Before It Runs

Every tool you connect to an agent is two things at once: tokens the model reads on every run, and an action the model can take. So the same inventory answers your cost question and your permission question. I start every agent with that inventory, and with nothing connected that the task doesn't need. I talked through this with Tom Smith on CoderLegion's Developer Stories ( video , from 9:46).…

The cost and permission aspects of an agent are determined by the tools it connects to. Each tool provides a name, description, JSON Schema for input, and the client typically shares these definitions with the model. A study by Anthropic shows that using tools from five servers such as GitHub, Slack, Sentry, Grafana, and Splunk took about 55,000 tokens before the conversation even began (Anthropic engineering).

The permission side is straightforward: if a tool is listed, the model can choose to use it. To manage access, an agent should have its own sandbox environment with only the access granted, employing a zero-trust approach within the system. Two other controls include creating a per-task tool allowlist, choosing specific server and tool permissions, and setting a run budget with limits on tool calls, total tokens, and wall clock timeout.

Monitor each tool call during the agent's operation, recording arguments and results to detect any potential missteps. The established MCP spec suggests logging tool usage for auditing, implementing timeouts, and rate-limiting tool invocations (MCP tools specification). By following these steps, you can identify issues and make necessary adjustments.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Project Mind — Turn Your GitHub History Into Searchable Memory

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Project Mind — Give Your GitHub a Memory 🧠 What I Built Software projects accumulate more than code.

  • Project Mind converts GitHub history into searchable memory using AI.
  • AI retrieves relevant project code and history via natural language queries.
  • Focuses on understanding why projects work, not just code examples.

Five checks before you let an AI agent open a SaaS account on its own

I run a small automation setup where agents handle repetitive SaaS work for me. They sign up for trials, provision API keys, and sometimes pay for a plan when a task needs a real account.

  • Service must provide machine credentials for automated login
  • Pricing details should be clearly stated in plain HTML
  • Self-service provisioning with status endpoint required

How I Stop Overthinking & Code 2x Faster using AI (Without Losing My Mind)

We’ve all been there: 40 browser tabs open, Stack Overflow on one screen, ChatGPT on the other, and a deadline looming in two hours. When AI coding tools exploded, we were promised 10x productivity.

  • Emphasize architecture review over code generation
  • Apply 15-minute debugging rule for efficient error analysis
  • Master context wrapping for effective AI assistance

More from Friday 2 October →