@zcouncil/sdk
v0.1.8
Published
TypeScript SDK for the zcouncil hosted AI council runtime.
Readme
@zcouncil/sdk
TypeScript SDK for the zcouncil hosted AI council runtime.
import { ZCouncilClient } from "@zcouncil/sdk"
const zcouncil = new ZCouncilClient({
token: process.env.ZCOUNCIL_TOKEN!,
})
const answer = await zcouncil.run("Review this architecture")API
await zcouncil.run(input)
await zcouncil.ask(memberId, input)
await zcouncil.members()
await zcouncil.profiles()Shared runtime helpers for /chat-style integrations are available from @zcouncil/sdk/runtime.
Node-only local token helpers for CLI and Pi integrations are available from @zcouncil/sdk/node.
Use normal JavaScript concurrency when you want multiple individual member answers:
const [claude, gpt] = await Promise.all([
zcouncil.ask("anthropic_claude_opus_4_7", "Deeply critique this plan"),
zcouncil.ask("openai_gpt_5_4_mini", "Suggest practical rollout steps"),
])