magpie (cb406c84) lets a plugin add an agent it has no setup of its own for. This one writes Aider's ~/.aider.conf.yml: the model under litellm's openai/ prefix, magpie's /v1 and Aider's own key. check.mjs skips agent packages as it does middleware; README gains an Agents section. Run: bun test packages/aider (2 pass); bun scripts/check.mjs; the module loaded through magpie's agentplug.Compile and its connect returned the three keys. The same module, in a sandbox magpie, wired a real aider 0.86.2 that answered from a real DeepSeek account, and Disconnect put the file back byte for byte.
899 B
899 B
@magpie-community/agent-aider
Aider as a magpie agent. magpie has no setup of its own for Aider; with this plugin it is on magpie's Agents page like the agents magpie ships with.
magpie plugin add @magpie-community/agent-aider
Then pick one of magpie's models in Aider's row. magpie writes into
~/.aider.conf.yml:
model: openai/deepseek/deepseek-flash # magpie's model, through litellm's openai/ prefix
openai-api-base: http://127.0.0.1:3425/v1
openai-api-key: magpie-aider # Aider's own key, so Usage names it
show-model-warnings: false
Your comments and other settings stay. Picking Aider's own model again, or switching it off, puts every key back as it was. Restart Aider after a change: it reads its settings when it starts.
How agent plugins work: usemagpie.ai/docs/plugins#agents.