agentwire-pi-zai

Configure and manage pi-zai sessions for Z.AI coding agents.

19|6|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/dotdevdotdev/agentwire-dev --skill agentwire-pi-zai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentwire-pi-zai
Source: https://github.com/dotdevdotdev/agentwire-dev/tree/main/.claude/skills/agentwire-pi-zai
Command: npx skills add https://github.com/dotdevdotdev/agentwire-dev --skill agentwire-pi-zai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pi-based coding agent integration (Z.AI) — supports pi-zai session types, installation, configuration, tool translation, role injection, and limitations compared to Claude Code.

Core Features & Use Cases

  • Session type support: pi-zai, pi-zai-restricted, pi-zai-readonly for controlled automation.
  • Tool translation: Claude CamelCase tool names map to pi lowercase equivalents.
  • Role injection: append-system-prompt act as injected context for sessions.

Quick Start

Install the pi coding agent globally, configure required binaries and keys, and start a pi-zai session.

Frequently Asked Questions about agentwire-pi-zai

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a pi-zai session for a Z.AI coding agent?

Configuring a pi-zai session requires installing the pi-coding-agent package globally via npm, then setting the pi.binary, pi.default_model, and zai.api_key configuration keys to start sessions.

When should I choose pi-zai over Claude Code for session management?

Choose pi-zai over Claude Code when you need Z.AI powered coding agents with specific session types like pi-zai-restricted or pi-zai-readonly for controlled automation and role injection via system prompts.

What prerequisites do I need to run the pi-coding-agent for Z.AI?

Running the pi-coding-agent requires Node.js and npm installed in your environment. You also need the pi-coding-agent package and valid configuration keys to operate the Z.AI integration.

How does tool translation work between Claude and pi-zai?

Tool translation in pi-zai maps Claude CamelCase tool names to their pi lowercase equivalents, ensuring that Z.AI powered coding agents execute tools correctly during automated sessions.

What are the limitations of using pi-zai restricted and readonly sessions?

Pi-zai restricted and readonly sessions provide controlled automation by limiting tool execution and access. Limitations include constrained role injection via append-system-prompt and reduced tool availability compared to standard sessions.

Can I inject custom context into a Z.AI pi coding agent session?

Yes, you can inject custom context into a Z.AI pi coding agent session by using the append-system-prompt configuration, which acts as injected context to guide the agent's behavior.