🌉 bridged from @khasky@lemmy.world by Tidepool
khasky
@khasky.lemmy.world.ap.tdpl.io
Use DeepSeek behind Claude Code or Codex without changing the coding UI
Has anyone swapped the provider under Claude Code or Codex to DeepSeek and kept working the same way? The two clients get there differently, and in both cases the editor, the commands and the permissions stay untouched. 🔌 DeepSeek also works behind OpenCode, Aider, LiteLLM and local Ollama. Claude Code reaches it over an Anthropic-compatible endpoint, set in the window you launch from:
powershell
$env:ANTHROPIC_BASE_URL="https://api.deepseek.com/anthropic" $env:ANTHROPIC_AUTH_TOKEN="sk-YOUR_DEEPSEEK_KEY" $env:ANTHROPIC_MODEL="deepseek-flash[1m]" claude
Codex goes over the Responses API, and the published script writes the provider section, the model catalog and a backup of what it replaced:
powershell
irm https://cdn.deepseek.com/api-docs/codex-deepseek-setup-en.ps1 | iex
The reason to do this is cost: at current API rates, cache-miss input plus output per million tokens, DeepSeek Flash is ~7-17x cheaper than Claude Sonnet 5 and ~7-20x cheaper than GPT-5.6 Terra, depending on peak or off-peak and on input against output. That makes it a strong default for repository exploration, tests, docs, boilerplate, routine refactors, CI fixes and subagent loops. For ambiguous architecture, hard debugging, security review and risky migrations, I would still escalate to a frontier Claude or GPT model. This compares API rates against API rates, so a fixed monthly subscription is not directly comparable. If Codex lists the DeepSeek model and the requests still go to the OpenAI endpoint, the provider section is missing and the app has not been fully restarted. 🔧 Do not casually send API keys, .env files, production credentials or large database dumps to a cloud model. For confidential code, prefer local inference or a provider whose retention policy matches your requirements. https://api-docs.deepseek.com/
TeamAI puts your team's agent config behind a merge request
A tilted photograph of a curved roller conveyor carrying boxes through a warehouse, set under the headline: Push a rule, get it reviewed, and everyone pulls it. The conveyor stands for the distribution step, where a merged change to the team's agent config is carried to every member's machine by a hook that runs when their next session starts. Worth knowing before anyone installs Tencent's teamai-cli on the strength of its front page: the automatic half runs off a hook, and 3 of the 11 agents it lists have none. The rest of it I like. Tencent has published teamai-cli, which treats that as distribution rather than discipline. One git repo holds
skills/,rules/,hooks/hooks.yaml,mcp/mcp.yaml,agents/,docs/and aculture.mdthat gets injected into each agent's CLAUDE.md or AGENTS.md. Install isnpm install -g teamai-cli, thenteamai init <repo-url>against a repo the team can write to. The flow is the point:teamai pushopens a branch and a merge request, a reviewer merges, and the next session's SessionStart hook runsteamai pullso the change lands in everyone's local tools.teamai rolesandteamai tagsmean nobody is forced to sync skills they do not use. I counted what it promises per agent before getting interested, since that is what decides whether it reaches your machine. Skills and docs are filled on all 11 agents in the table, hooks and MCP on 8. The automatic pull is itself a hook, so on OpenClaw, Hermes and DeepSeek Harness my read is that you are pulling by hand. Worth knowing: the sharedenv/resource explicitly is not for secrets, and the recall and dashboard halves are both marked beta. Repo: https://github.com/Tencent/teamai-cli Has a rule ever landed in your shared setup that you would have blocked if you had seen the diff first?github.com
Does Edge0's 2.9 GB peak for a 35B MoE hold up once the prompt gets long?
image I went through the Edge0 repo after the clip of a 35B model on an iPhone, and I want to check my reading with people who actually run local models. No affiliation, just curious. Edge0 (Edge0-AI, Apache 2.0, released the other day) is a streaming inference engine with two preview MoE models, Edge0-35B-A3B on a Qwen3.5-MoE base and Edge0-8B-A1B on Ling 3.0. The mechanism is expert offload: the 4-bit checkpoint stays on the SSD, expert weights are mmapped, and only the routed experts (4 of 256 per token, about 3B active of 35B) get read per token. The project reports 2.9 GB peak for the 35B and 1.0 GB for the 8B at short context on a Mac mini M4 Pro, with decode at 14.9-17.7 and 23.9-25.3 tok/s. The 35B checkpoint is 19.6 GB on disk. My reading, which is the part I want checked: 3B active at 4 bits is about 1.5 GB, and at 15 to 18 tok/s a cold read of that per token would need over 20 GB/s, so most expert reads must be hitting the OS file cache. That makes "peak active memory" the process's resident set, with the cached pages outside it, and a 24 GB mini has room to hide a lot of the checkpoint there. What shipped is MLX on Apple Silicon Macs only, the iPhone is the demo video, and I could not find the "iPhone 15 Pro and newer" floor on any primary page 🧐 Repo: https://github.com/Edge0-AI/edge0/ For anyone who has tried it on a Mac with less memory than that mini: does the 2.9 GB peak hold once the KV cache grows past a few thousand tokens, or does it start swapping?