Documentation

ZoiGent docs

Everything about running autonomous tasks: writing goals, how runs work, approvals, projects, billing, and the developer API.

Getting started#

ZoiGent is an autonomous agent workspace. You describe the outcome you want, the agent breaks it into a plan, executes each step with real tools, web research, browsing, analysis, file writing, and you collect the finished artifacts.

Create your account#

Sign in from the landing page to create your account. First-time sign-ins walk through a short onboarding: Welcome, Profile, Preferences, then Ready. In Preferences you choose how often the agent should ask for approval and your default run depth, both can be changed later in Settings.

Run your first task#

  • Open New mission in the sidebar to reach the composer.
  • Describe the outcome you want in plain language, the more specific, the better.
  • Toggle Deep research for a thorough, multi-source investigation. Toggle Web off if the task needs no live web access.
  • Pick a project if you want the task scoped to standing instructions and memory.
  • Press Cmd/Ctrl + Enter or hit Run. You land on the task page, where the plan, live activity, approvals and artifacts appear as the run progresses.

Find old work#

Your recent runs are listed under the composer as Mission history, each with a status badge, running, awaiting approval, completed, failed, cancelled, or queued.

Writing good goals#

The agent works from your goal text alone. It does not ask follow-up questions, it makes reasonable assumptions and proceeds. Specificity is the single biggest lever on output quality.

  • State the outcome and the deliverable. “A positioning teardown of the top 5 agent platforms, as a markdown report with a comparison table” beats “look into competitors”.
  • Add context. Audience, scope, geography, time frame: “EU-based SaaS startups, last 12 months”.
  • Name your standards. “Cite primary sources”, “use the company's own pricing page”, “write for a non-technical reader”.
  • One goal per task. Split unrelated asks into separate tasks, each run gets its own plan, budget and artifacts.

Examples#

text
Research the top 5 competitors in AI agent platforms and write
a positioning teardown with a comparison matrix. Cite sources.

Draft a 6-week go-to-market plan for a developer tool launch,
with weekly milestones and owners, as a markdown document.

Analyze the 2026 SaaS pricing landscape and produce a benchmark
report with sources for each data point.
If a step would be risky, spending money, contacting someone, changing an external system, the agent pauses for your approval instead of guessing. See Approvals & human in the loop.

How a run works#

Every task follows the same loop: the agent plans, executes step by step, and delivers artifacts. You watch it all live on the task page.

1 · Planning#

The agent breaks your goal into a concrete step list, each step a single action that moves the task forward. The plan appears on the task page first, so you can see what the agent intends before it acts. Plans are bounded: a handful of steps for simple asks, more for deep research.

2 · Execution#

Steps run one at a time, in order. A step can search the web, read live pages, analyze findings, or write files. The Activity feed logs every tool call as it happens, and the page updates in real time, no refresh needed.

3 · Delivery#

The Result section holds the final summary. The Artifacts panel on the right collects downloadable deliverables, reports, documents, datasets, produced along the way. Click an artifact to preview it, use the download button to save it.

Interruption recovery#

Runs can stay autonomous for hours: there is no whole-task time limit, only per-step deadlines. While work is in progress the task sends heartbeats; step and mission elapsed timers update live in the thread. If a worker or isolate restarts, a supervisor re-picks stalled runs and continues from the last completed steps — you do not need to do anything special.

Stopping a run#

The Stop button in the task header cancels a running task immediately: in-flight work is aborted, pending steps and approvals are settled, and the credits that run spent are refunded.

Design standards#

When a task involves building an interface, the agent works design-spec-first: it defines a short design system, color tokens, type scale, spacing rhythm, component rules, before writing any code, then builds every screen against that spec instead of improvising styles per component.

Production component patterns#

Rather than hand-rolling generic markup, the agent adapts production component patterns from public registries (shadcn/Tailwind source it can read) and re-themes them to your project's tokens. If you attach a component-registry MCP connection to a project, the agent can pull those components directly.

Taste rules the agent follows#

  • Editorial layouts, sticky statements, numbered indexes, hairline dividers, over grids of equal cards.
  • One accent color, used sparingly; dark-first unless you ask otherwise.
  • No generic gradients, no centered-everything hero, no placeholder text.
  • Motion stays subtle and purposeful, and always respects reduced-motion preferences.

Run depth#

Depth controls how much work the agent puts into a task. You set it per task with the Deep research toggle in the composer, and your default in Settings → Default run depth (Fast, Standard, or Deep research).

  • Fast, quick answers and light tasks.
  • Standard, the default. Balanced research, analysis and writing.
  • Deep research, multi-angle investigation with more steps and sources. Best for reports, teardowns and benchmarks.

Credits are charged when a run starts and again for every step it completes, so longer runs cost more: Fast costs 1 credit to start plus 1 per step, Standard 2 to start plus 2 per step, and Deep research 4 to start plus 4 per step.

On Pro and Scale you can bring your own provider key in Settings, runs on your key cost 0 ZoiGent credits.

Approvals & human in the loop#

Research, reading pages, and saving files run on their own. The agent pauses before shell commands, cloud-computer changes, external writes, deletes, deploys, automations, and connected-tool writes unless you have allowed that category for the specialist. Purchases, credentials, and sending email or messages always wait for a one-time approval.

When approval is requested#

An approval card appears in the task thread and the run shows that it is waiting on you. Approve runs that step and continues. Reject stops the task. Always allow saves that category for this specialist so the same kind of step can run later without asking. Purchases, credentials, and outbound messages do not offer always-allow.

Approval modes#

Each specialist has an autonomy setting. Check risky steps is the usual choice and can be tuned with per-category allows on the specialist page. Approve everything waits before each step. Full autonomy keeps going, and still stops for purchases, credentials, and sending messages.

A task waiting on you shows an awaiting approval badge everywhere, the task page, task history, and the sidebar.

Projects & memory#

Projects#

Projects group your chats together, like folders on other platforms. Open Projects, create one, start a new chat inside it, or Add existing to move an older mission into the project. Every chat in a project shares context: standing instructions, memory, file workspace, and summaries of sibling conversations.

Agent context & memory#

Standing instructions and manual memory live under Agent context. Agents also save durable facts automatically as they work. Scope memory per project or browse all memory from that page.

The Free plan includes 1 project. Starter, Pro and Scale include unlimited projects and memory.

Billing & credits#

Credits power agent runs. Every account starts on the Free plan with 200 credits, refreshed every 30 days. Upgrade for more monthly credits, or buy one-time credit packs.

Plans#

  • Free, $0. 200 credits every 30 days. Fast and standard runs, 1 project, web research enabled.
  • Starter, $19/mo. 1,500 credits every 30 days. Deep research runs, unlimited projects and memory.
  • Pro, $49/mo. 5,000 credits every 30 days. Bring your own key, runs on your key cost 0 credits, plus priority model routing.
  • Scale, $149/mo. 20,000 credits every 30 days. Everything in Pro, plus any OpenAI-compatible endpoint, longer run limits and full artifact history.

Credit top-ups#

One-time packs, no subscription: Starter pack $9 → 500 credits, Pro pack $29 → 2,000 credits, Scale pack $99 → 8,000 credits. Packs never expire.

Agent purchases#

The agent can also buy things on your behalf, a domain, a subscription, a part for a prototype. Purchases are always gated: the agent proposes the exact item, merchant and price, and nothing moves until you approve. Approving opens Review & pay, which prepares a secure PayPal payment to the merchant. You complete the payment in PayPal's own window; ZoiGent never holds your money and never sees your card number.

  • Payment methods. Connect a card once on the Billing page under Payment methods. Card details are tokenized by PayPal directly, only a provider token plus brand and last digits are stored, never the card number.
  • Spending limits. Set a per-purchase cap and a monthly cap (defaults $100 and $300). Any purchase above a cap is blocked before payment, no exceptions.
  • Purchase history. Every proposed purchase is recorded, approved, completed, cancelled, with its receipt reference.
  • Supervised checkout. Some merchants can't take PayPal this way; then the agent opens the merchant's own checkout for you and you confirm when it's done.
Money moves only after your explicit approval in the task view. The agent can never spend on its own, and lowering your caps never affects purchases you've already completed.

Checkout#

Checkout runs through PayPal in a popup window, enable popups for ZoiGent or the window can't open. Payment is captured before credits are granted, and every grant is recorded exactly once, so a double-click or a retried payment can't credit you twice.

Credit history & reconciliation#

The Billing page shows your balance, current plan, and a Credit history ledger of every grant and spend. If a payment completed but your balance looks wrong, hit Sync billing, it reconciles your account against PayPal's live state.

Plans cover 30 days at a time. There is nothing to cancel, a plan simply ends unless you buy the next period.

Cancelling a running task refunds the credits that run spent. Failed scheduled runs are refunded as well.

Developer API#

Create API keys in Settings → Developer API. Authenticate with Authorization: Bearer zg_<secret>. Scopes: tasks:read, tasks:write, ai:inference, or admin for all.

ZoiGent offers two APIs: Agent API (agent-api) for full autonomous missions (plan, browse, code, deploy), and AI API (ai-api) for industry-standard chat completions in your product. The AI API works with OpenAI-compatible SDKs and tools. Paid plans get full access; free plans include a small one-time trial.

Create a task#

bash
curl -X POST https://<project>.supabase.co/functions/v1/agent-api/tasks \
  -H "Authorization: Bearer zg_<secret>" \
  -H "Content-Type: application/json" \
  -d '{
    "input": "Research EU AI Act impact on agent startups; deliver a brief with citations.",
    "tier": "deep",
    "web_enabled": true
  }'

Optional fields: title, tier, project_id, agentId, budgetCap, planMode, wideMode, computerEnabled, web_enabled, audio_enabled. Returns 201 with the task id, status: queued, and estimated credits. Same engine as the app.

AI API (chat completions)#

bash
curl -X POST https://<project>.supabase.co/functions/v1/ai-api/v1/chat/completions \
  -H "Authorization: Bearer zg_<secret>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zoigent-auto",
    "messages": [
      { "role": "user", "content": "Summarize this product idea in three bullets." }
    ]
  }'

Base URL: https://<project>.supabase.co/functions/v1/ai-api/v1. Models: zoigent-fast, zoigent-auto, zoigent-pro, and zoigent-embed (when available). Billing is token-based per request. Supports streaming (stream: true), JSON mode, and tools passthrough on paid plans. Requires ai:inference scope.

javascript
const res = await fetch("https://<project>.supabase.co/functions/v1/ai-api/v1/chat/completions", {
  method: "POST",
  headers: { Authorization: "Bearer zg_<secret>", "Content-Type": "application/json" },
  body: JSON.stringify({
    model: "zoigent-auto",
    messages: [{ role: "user", content: "Draft a release note." }],
  }),
});

Agent API endpoints#

  • POST /tasks, create and launch a task. Requires tasks:write.
  • GET /tasks?limit=20, list your tasks, newest first (max 100). Requires tasks:read.
  • GET /tasks/:id, task detail with steps and a cost breakdown (estimated_credits, spent_credits). Requires tasks:read.
  • POST /tasks/:id/cancel, cancel a task. Requires tasks:write.
Keys are created in Settings. The secret is shown once and stored only as a hash. Missing key → 401; wrong scope → 403; out of credits → 402 on inference calls.

Troubleshooting & FAQ#

“Out of credits”#

A run that can't pay for its next step stops with an out-of-credits error. Top up with a credit pack on the Billing page, upgrade your plan, or, on Pro and Scale, add your own provider key in Settings so runs cost 0 credits.

A run seems stuck#

First check whether it's awaiting approval, the banner sits at the top of the task page. If the status is running but nothing moves for a long time, the worker may have been reclaimed; starting or resuming any task triggers automatic recovery of stalled runs. If it still doesn't move, stop it (spent credits are refunded) and start a fresh task.

I paid but my balance didn't change#

Click Sync billing on the Billing page. It reconciles your account against PayPal's live state and applies any missing grants. Duplicate payments are safe, each capture is applied exactly once.

Checkout opens in a popup. If nothing appears, allow popups for ZoiGent in your browser and try again.

Change my defaults#

Settings holds your display name, default run depth, bring-your-own-key configuration (Pro/Scale), and sign-out. Project instructions and memory live under Agent context.

Does the agent always use the web?#

Web research is on by default, toggle Web off in the composer for tasks that need no live sources, like writing from material you paste in.