agent-zero-model-sync
pi extension that keeps the Agent Zero Venice provider in models.json synced with Venice.ai's newest text models, with first-party-verified reasoning-effort levels
Package details
Install agent-zero-model-sync from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:agent-zero-model-sync- Package
agent-zero-model-sync- Version
0.1.0- Published
- Aug 22, 2026
- Downloads
- 161/mo · 161/wk
- Author
- lisong2003
- License
- MIT
- Types
- extension
- Size
- 25.2 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
agent-zero-model-sync
A pi extension that keeps the agent-zero-venice provider in ~/.pi/agent/models.json in sync with the models Venice.ai marks as NEW (created within the last 30 days).
- Text-output models only; beta models included.
- Replaces the provider's model list (does not merge).
- Runs automatically at
session_start, at most once per local calendar day. - Reasoning-effort (thinking level) metadata is not trusted from Venice's API — levels are resolved with first-party vendor docs:
vendor-efforts.json— curated table verified against first-party docs (platform.kimi.ai, ai.google.dev, platform.claude.com, docs.qwencloud.com, api-docs.deepseek.com)model_spec.capabilities.reasoningEffortOptions(explicit API options)- "Model support" tables on the official Venice reasoning docs
- Description mentions tunable/adjustable/configurable thinking →
low/medium/high supportsReasoningEffortflag alone
Install
pi install npm:agent-zero-model-sync
# or from git:
pi install git:github.com/<you>/agent-zero-model-sync@v0.1.0
One-time setup
The extension only maintains the models array of the provider — you provide the endpoint and key. Add this skeleton to ~/.pi/agent/models.json:
{
"providers": {
"agent-zero-venice": {
"name": "Agent Zero Venice",
"baseUrl": "https://llm.agent-zero.ai/v1",
"api": "openai-completions",
"apiKey": "YOUR-API-KEY",
"models": []
}
}
}
name, baseUrl, api, and apiKey are preserved on every sync; only models is replaced. After a sync lands, restart pi (or run /reload) to pick up the new models.
Commands
| Command | Effect |
|---|---|
/agent-zero-sync |
Force-refresh now (bypasses the daily limit) |
/agent-zero-sync status |
Show the last sync result |
Files written
~/.pi/agent/models.json— the provider'smodelsarray (previous copy kept atmodels.json.bak-agent-zero-sync)~/.pi/agent/agent-zero-model-sync/state.json— daily-sync marker and last-run summary
PI_CODING_AGENT_DIR is respected for all paths.
Security note
pi extensions run with your full system permissions. This one only reads Venice's public model endpoints and writes the two files listed above — review the source before installing.
Development
npm install # types only (pi itself is a peer)
curl -o /tmp/reasoning.html https://docs.venice.ai/guides/features/reasoning-models
node test.mts # logic tests + one forced live sync
Re-verify entries in vendor-efforts.json when vendors ship new models. Publish with npm publish.