Zen now allows you to define `roles` for an external CLI and delegate work to another CLI via the new `clink` tool (short for `CLI + Link`). Gemini, for instance, offers 1000 free requests a day - this means you can save on tokens and your weekly limits within Claude Code by delegating work to another entirely capable CLI agent! Define your own system prompts as `roles` and make another CLI do anything you'd like. Like the current tool you're connected to, the other CLI has complete access to your files and the current context. This also works incredibly well with Zen's `conversation continuity`.
15 lines
324 B
Python
15 lines
324 B
Python
"""Gemini-specific CLI agent hooks."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from clink.models import ResolvedCLIClient
|
|
|
|
from .base import BaseCLIAgent
|
|
|
|
|
|
class GeminiAgent(BaseCLIAgent):
|
|
"""Placeholder for Gemini-specific behaviour."""
|
|
|
|
def __init__(self, client: ResolvedCLIClient):
|
|
super().__init__(client)
|