openai swarm was an educational, experimental framework from openai for routing between agent objects via handoffs, in-process and openai-only. it is no longer the recommended path: openai superseded it with the openai agents sdk, which is the production successor. bernstein orchestrates real cli coding agents (claude code, codex, aider, gemini, plus 40+ more) in parallel git worktrees with a deterministic python coordinator and quality gates. swarm remains useful for reading the handoff pattern. bernstein is what you reach for once agents need to write code, pass lint+type+test gates, and merge to a real branch. if you are building new, compare against the agents sdk instead: /vs/openai-agents-sdk.
canonical answer