Urgent.News

One page, thousands of outlets. See who else covered it.

Editions

AI

One terminal, two trust levels — running Claude Code against a real subscription and a cheap proxy

Part of an ongoing series on model routing and trust tiering for agentic coding tools. This one's the boring, working half — no bug hunt, just a setup that's been running clean across two machines. The problem Claude Code does one thing well: careful, scoped edits with a real plan-then-execute loop behind them, backed by a subscription you're already paying for. Not every task needs that.…

This article describes a setup for running Claude Code, a coding tool, on two different trust levels using a real subscription and a cheaper proxy. The main challenge was that Claude Code only communicates with Anthropic's Messages API, and it doesn't have a built-in way to differentiate between the same tool but different models.

To address this, a self-hosted proxy was set up using LiteLLM, which translates Anthropic-format requests to DeepSeek V4. The proxy was configured to route requests to either the real or cheap agent based on the command used. The cheap agent runs a shell function that creates an isolated subshell, changes the terminal tab label and icon, and resets the settings when the function exits.

This ensures that the user can easily distinguish between the two sessions. The proxy configuration involves setting various environment variables to point Claude Code at LiteLLM's /v1/messages endpoint and strip unsupported parameters. This allows the tool to operate seamlessly with the cheaper model without the user noticing any difference.

The setup is designed to separate planning and review tasks from high-volume, low-stakes work, with the subscription session handling the more critical aspects of the job.

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

Why AI Agent Runtimes Need a 'Constitution': Lessons from Ironclaw and the Rise of Policy-First Autonomous Systems

Originally published on tamiz.pro . Introduction Autonomous AI agents are transitioning from research prototypes to production-critical systems.

  • Autonomous AI agents perform critical tasks requiring safety measures.
  • Constitution for AI agent runtimes addresses alignment and reliability issues.
  • Ironclaw runtime case study demonstrates challenges and policy-first solutions.

Stop Guessing Calories: Build a Multimodal Food Estimation Pipeline with GPT-4o & SAM

We’ve all been there: staring at a delicious plate of pasta, trying to figure out if it's 400 or 800 calories. Manual tracking is a chore, and standard apps often fail at portion estimation.

  • Multimodal Food Estimation Pipeline combines Computer Vision, LLMs, and Vector Databases
  • Segment Anything Model isolates food items in images for precise analysis
  • GPT-4o Vision performs contextual analysis to minimize hallucination risk

State agencies to ramp up AI usage

Five state agencies plan to adopt agentic artificial intelligence (AI) to support their complex tasks, from detecting foreign nominees buying land in Thailand to identifying fake parentage in civil…

  • Five Thai state agencies to boost AI usage
  • Agencies to use agentic AI for complex tasks
  • Aim to improve efficiency and accuracy

More from Monday 17 August →