Integrating Reasonix 1.x with DeepSeek V4: ACP Model Selector Integration in Practice HagiCode integrated Reasonix 1.x with DeepSeek V4, revealing a semantic migration challenge where startup parameters were reduced to a single `-model` flag, with credentials and policies moved to `reasonix.toml`. The adaptation layer uses a 'field preservation, semantic migration' pattern, preserving legacy fields but ignoring them at runtime. This article discusses how to switch Reasonix 1.x, a local ACP CLI provider, to DeepSeek V4 in HagiCode. The focus isn't really on "getting it in," but rather on the semantic changes from Reasonix 0.x to 1.x—startup parameters were cut down to just one -model , credentials and policies moved to reasonix.toml . Let's walk through the pitfalls encountered and the verification path, bit by bit. Recently someone asked a pretty specific question: how to integrate Reasonix 1.x version to use DeepSeek V4 in HagiCode. At first glance it looked like a configuration question, but digging into the code revealed it's actually a CLI semantic migration problem. Reasonix is a local ACP Agent Communication Protocol CLI within HagiCode's multi-Agent Provider system. Its position in HagiCode's three-tier architecture is clear: ReasonixProvider , ReasonixOptions , wrapping reasonix acp process startup, ACP handshake, streaming notification mapping. ReasonixCliProvider thin adapter, AIProviderType.ReasonixCli = 12 , ReasonixGrain , Hero parameter mapping, health monitoring.The entire integration chain is already implemented in the archived proposal openspec/changes/archive/2026-06-06-integrate-reasonix-agent-provider . So the question isn't "how to get Reasonix into the system" anymore, but "once it's in, how to switch the model to DeepSeek V4". The key turning point is: Reasonix 1.x and 0.x have fundamentally different ACP bootstrap semantics. This change directly determines how you configure DeepSeek V4. After all, once semantics change, even if the surface looks similar, it's a different beast entirely. I'll leave that hanging: to untangle this complexity of multiple providers and multiple models, HagiCode adopted a "field preservation, semantic migration" design at the Reasonix adaptation layer. I'll explain exactly why this trade-off was chosen later. The solution shared in this article comes from our practical experience in the HagiCode project.HagiCode is an AI coding assistant project supporting multiple local/remote Agent Providers. Code is open sourced at HagiCode-org/site . Look directly at ReasonixProvider.BuildCommandArguments : internal virtual IReadOnlyList