# How to Add Support for a New Agent Provider CLI in Multica: A Complete Integration Guide

> Learn to integrate a new agent provider CLI into Multica. Implement the Backend interface, hook into the New factory, and extend Config for seamless support.

- Repository: [multica-ai/multica](https://github.com/multica-ai/multica)
- Tags: how-to-guide
- Published: 2026-04-11

---

**To add a new agent provider CLI in Multica, implement the `Backend` interface in [`server/pkg/agent/agent.go`](https://github.com/multica-ai/multica/blob/main/server/pkg/agent/agent.go), hook your implementation into the `New` factory function, and extend the `Config` struct to handle your CLI binary and execution flags.**

Multica treats coding agents as modular backends that satisfy a unified interface, allowing you to integrate any CLI-based tool into the system's task execution flow. Whether you are wrapping a proprietary AI agent or an experimental open-source CLI, the integration follows a consistent pattern established by existing providers like Claude