zengineBY ZYRECA

Your first task

Connect a model and run a small, supervised evaluation.

v0.1.1 · Development preview

1. Create the agent home

Unpack your download into a permanent folder. Run these commands from that folder; Windows PowerShell requires the .\ executable prefix shown below.

powershell
.\zagent.exe init
sh
./zagent init

2. Connect your model

Edit .env next to the executable:

ini
PROVIDER=openai_compatible
BASE_URL=https://your-provider.example/v1
API_KEY=your-key-here
MODEL=your-model-id
VISION=false
AUDIO=false
PDF=false
VIDEO=false

Replace the example endpoint and model with actual values from your provider. Enable media only if that endpoint and model accept it. See providers for all wire formats.

Keep credentials in ZAGENT_API_KEY instead of .env when appropriate. Never paste them into this website.

3. Start with a narrow tool set

For a first evaluation, use an isolated folder containing non-sensitive example files. In config.json:

json
{
  "tools": { "enabled": ["view_file", "list_dir", "find_files"] },
  "permissions": { "run_command": "deny" }
}

This example limits the tools offered to the model. It is not OS-level isolation.

4. Check and run

powershell
.\zagent.exe doctor
.\zagent.exe --workspace C:\demo --session first -p "List the files and summarize what is here."
sh
./zagent doctor
./zagent --workspace ~/demo --session first -p "List the files and summarize what is here."

doctor validates configuration and makes a small request to your configured endpoint. Model-provider charges may apply.

5. Choose an interface

sh
zagent --session first --ui cli
zagent --session first --ui web
zagent --session first -p "Continue with a short summary."

These examples assume the executable folder is on your PATH. Otherwise use its full path, ./zagent, or .\zagent.exe.

While the agent works, type a note to steer its next request. /stop interrupts an ordinary task. /exit detaches an interface; /quit stops the engine process. Manual compaction currently has a cancellation limitation; see security and limitations.

For zagent v0.1.1 · Supervised evaluationNext: CLI & slash commands →