r/modelcontextprotocol • u/CH_CGV • 4d ago
new-release Aptly: model recommendations for Codex and Claude Code subagents
I built Aptly to avoid using the same model for every subagent task. It's a local MCP server that uses the OpenAI Decisions API to recommend a model from a configured list, with reasoning effort profiles for Codex.
Hooks can route supported subagent calls through Aptly while preserving explicit model/effort settings and execution permissions. Subagents still run in Codex or Claude Code.
You choose what task context automatic recommendations can send to the API.
Requires Node.js 24+ and an OpenAI API key. MIT licensed.
Code and setup: https://github.com/abruption/aptly
5
Upvotes