Just to be precise, Claude Code is a coding agent (not an LLM) that uses Claude models (e.g. Opus).
So, are you asking:
a) using an open-weight alternative to other Claude models?
b) using an open-source alternative to Claude Code, but still use Claude models and/or open-weight models
c) something else?