# Use Zhanla from your coding agent

Claude Code, Codex and similar tools can drive Zhanla through piped input, as long as they bring every approval back to you.

**Diagram: Approvals go through you**

```text
You to Coding agent: Test my support agent
Coding agent to Zhanla: /run-eval support
Zhanla to Coding agent: [review] Test one item, then run everything?
Coding agent to You: Shows you the card
You to Coding agent: Your answer
Coding agent to Zhanla: Passes back your answer
```

Sign in once by running `zhanla` in a real terminal, then paste this into your coding agent:

```text
Use the zhanla command from this repository, with input piped to it.
Docs: https://zhanla.vercel.app/llms.txt

Zhanla prints approval cards as text and waits for an answer.
Never answer a card yourself. Show me the whole card, wait for my
answer, then send exactly that answer.
```

> Piped input ignores yolo mode, but Zhanla can't tell whether you or your coding agent typed an answer. Keep your coding agent's permission prompts on.

Plain text is a chat message. Piped mode also takes `/status`, `/browse`, `/run-eval [eval]`, `/runs [resume|stop|delete|front <id>]`, `/clear`, `/resume`, `/help` and `/exit`:

```sh
printf '/status\n/browse\n/exit\n' | zhanla
```

## Waiting for a run

Close the input and Zhanla waits for the run, exiting 0 if it ends done (with or without errors) and 1 if not. Don't send `/exit` mid-run: it pauses the run and can still exit 0. Read stdout too, since some blockers are only printed. A card still open when input closes is declined.

---

Source: https://zhanla.vercel.app/docs/test/coding-agent
Updated 2026-11-24. Checked against release candidate b60cdc94.
