Separating Claude Code Personal Sub and Claude Code Company Sub
It's surprisingly easy
alias cc="CLAUDE_CODE_NO_FLICKER=1 claude --dangerously-skip-permissions --teammate-mode auto"alias ccl="CLAUDE_CODE_NO_FLICKER=1 CLAUDE_CODE_USE_VERTEX=1 CLOUD_ML_REGION=global ANTHROPIC_VERTEX_PROJECT_ID=tech-innovation-prod ANTHROPIC_MODEL=claude-opus-4-6[1m] ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-6[1m] claude --dangerously-skip-permissions --teammate-mode auto"It's surprisingly easy
Why? Multi-tenant environments. First, we need to understand a few differences between environments:
So
Most people physically separate their tenancy, such as Claude Code, from their personal vs. work laptops. So in most cases, it's not a big deal.
But when you need multi-tenancy, it becomes super stressful. For example, say you have two different toolkits:
Most MCP auth states or code harnesses don't support profiles, so you can only log in to one.
So therefore... a natural evolution was to have both:
to physically isolate tenancies.
Now we've solved the multiple-profile issue, but the client's problems persist. Now let's get back to the environments:
All MCP auth or toolkit auth info should always be saved in the Agent Runtime Environment IMHO. However, a surprising number of harnesses tie them to the LLM server (such as Codex Apps or Claude.ai Plugins) or put them in the end-user UI (Claude Desktop or Codex Desktop).
Now the problem is:
The only way to reliably isolate different auth information is thus:
Then
are both isolated VPS, and
This way, you can provide different toolkits, creating multiple dev environments.
I got blocked from Vercel under "violating fair use" with two projects: lovearc.net and hn.cho.sh.
I got it resolved by deleting lovearc.net, but now I lean towards Cloudflare Pages
When Cloudflare says free unlimited bandwidth, they're not messing around pic.twitter.com/X7RMPmSrr4
![]()
-- Neal Agarwal (@nealagarwal) April 10, 2023
Yeah, it's pretty rad pic.twitter.com/XS96IaHSAM
![]()
-- Rasmus Andersson (@rsms) April 10, 2023
For comparison, this would cost $9,600 with Vercel and $2,017 in AWS CloudFront.
Reference: We Need To Talk About Vercel - Max Countryman
I don't think I've been very transparent about all of work happening around usage controls and pricing at Vercel. So I'd like to do that now.
The tl;dr of the feedback is: more visibility into usage and more ways to control spending. And I think I haven't done a job good about…
— Lee Robinson (@leeerob) May 3, 2023
alias cc="CLAUDE_CODE_NO_FLICKER=1 claude --dangerously-skip-permissions --teammate-mode auto"alias ccl="CLAUDE_CODE_NO_FLICKER=1 CLAUDE_CODE_USE_VERTEX=1 CLOUD_ML_REGION=global ANTHROPIC_VERTEX_PROJECT_ID=tech-innovation-prod ANTHROPIC_MODEL=claude-opus-4-6[1m] ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-6[1m] claude --dangerously-skip-permissions --teammate-mode auto"