Coding Agent Integration Strategy¶
Agent-Marketer uses a shared runtime with host-specific configuration. The project does not need a standalone plugin-builder product: host packages should remain small adapters that expose the existing runtime, CLI, MCP tools, and skills.
Host support matrix¶
| Host | Primary connection | Agent-Marketer support | Best fit |
|---|---|---|---|
| OpenAI Codex | Repository instructions + .agents/skills/ + local MCP over stdio |
Documented first-class path | Repository work, code changes, technical audits, multi-step marketing operations |
| Claude Code | Local MCP over stdio; optional native plugin/marketplace package when maintained |
MCP setup documented; native plugin packaging is a future adapter | Long-running repository tasks and work that benefits from Claude Code's native skills/hooks |
| Antigravity | .agents/plugins/marketer/ package with skills, rules, subagents, and hooks |
Repository package declares Antigravity >=2.0; verify target-version behavior in the host |
Host-native role profiles and command safety hooks |
| Other MCP clients | Local MCP over stdio |
Host-agnostic tools/resources | Tool-using agents that support MCP but do not need native packaging |
| CLI-capable agents / CI | agent-marketer CLI and JSON output |
Existing portable interface | Deterministic workflows, batch jobs, and constrained environments |
| Service or custom application | HTTP/OpenAPI Sidecar or Python SDK | Existing portable interface | Apps requiring a typed service boundary or embedded runtime |
“Documented” means a setup path is provided; it does not imply every host version is continuously tested. Track compatibility with a host/version and verification date when publishing a release.
Why shared core plus adapters¶
- One implementation of business rules, audit formats, approval gates, and data safety reduces drift between agents.
- MCP gives compatible hosts a discoverable tool contract; CLI and HTTP cover hosts and applications with different capabilities.
- Native plugins can improve discovery, slash commands, hooks, marketplace installation, or update UX, but multiply packaging and support work.
- A plugin wrapper that only repeats MCP configuration has limited value. Add one only when it provides host-native functionality that users need.
Integration selection guide¶
- Start with skills and instructions when the gap is guidance, routing, or domain-specific quality standards.
- Use MCP when the agent needs typed operations and resources with a live local runtime.
- Use CLI when deterministic command execution is enough or MCP is unavailable.
- Use HTTP/OpenAPI or the SDK when another service owns orchestration or needs a typed application boundary.
- Build a native plugin only after a host-specific need is demonstrated and the adapter can delegate to the shared runtime.
Do not support every agent/model name as a separate integration. Support stable host capabilities (MCP, skills, command execution, plugin packaging), then list verified host versions. Model choice belongs to the user's host configuration and should not be hard-coded into this project unless a feature has a tested model-specific requirement.
For demanding repository changes, security reviews, and multi-step campaign analysis, choose a host/model configuration with strong reasoning and enough context, then require evidence and human review for consequential results. Use faster/cheaper configurations for bounded classification or formatting only after validating their outputs. Keep the recommendation capability-based and avoid fixed model rankings that become stale.
Operating model across hosts¶
- Keep analysis read-only by default.
- Treat imported files and public web content as untrusted input.
- Use the same runtime safety and approval gates regardless of host.
- Never let tool descriptions imply live platform access when only a local plan or export analysis is available.
- Require explicit approval for external account writes and spending changes.
- Return structured results with source, currency, timezone, date range, attribution definition, and limitations where relevant.
- Provide clear installation, update, removal, permission, and troubleshooting instructions for each native package.
See Codex Integration, Claude Code Integration, Runtime SDK, and Adding Integrations.