Skip to content
  1. Home
  2. workspace
Checking…
Demo view — sanitized data only. Sign in over HTTPS to create projects and manage the workspace.

AI Engineering Workspace

Partial

Chat, files, terminal and preview in one place. Chat sessions run on a durable Postgres-backed queue (chat only: no tools or shell). Live models need an API key; the terminal is unavailable.

Project files

read-only

docs/AGENT-SDK-EVALUATION.md

1# Claude Agent SDK / Claude Code evaluation (Prompt 03 §7)
2
3Evaluated 2026-11-27 from the published npm tarball `@anthropic-ai/claude-agent-sdk@0.3.332` (downloaded into a scratch directory, not installed into the app).
4
5## Verified facts
6- The SDK exposes `query()` and related session helpers and launches the **Claude Code native CLI binary** (platform packages such as `@anthropic-ai/claude-agent-sdk-linux-x64`); its README describes agents that "edit files, run commands, and execute complex workflows".
7- `LICENSE.md` is "© Anthropic PBC. All rights reserved. Use is subject to the Legal Agreements" at `code.claude.com/docs/en/legal-and-compliance`. The README links the Commercial Terms of Service and a data-usage policy and states that the SDK collects feedback/usage data.
8- The README does **not** say how an application must authenticate. That page (legal-and-compliance and the SDK docs) was **not read** in this session, so no claim is made about whether subscription (claude.ai) logins may power a hosted application.
9
10## Decision
111. **Not adopted in v0.3.x.** Zoo Cloud Studio talks to the provider APIs directly (Anthropic Messages API, OpenAI Chat Completions) with an operator-supplied API key stored encrypted. This is the officially documented application-credential path.
122. **Claude Code CLI subscription credentials are never read, copied or reused** as an application credential. Nothing in the repo touches `~/.claude`.
133. The Agent SDK's value (autonomous file edits and shell commands) requires an isolation boundary. This VPS has none: AppArmor blocks unprivileged user namespaces, `newuidmap` is missing, there is no container runtime and no sudo. Running the SDK's shell/file tools as the studio's own Linux user would give the agent the same access as the control plane, which the spec forbids.
144. Revisit when (a) an isolation runtime exists and (b) the owner confirms from the official documentation which credential type the SDK may use in a hosted service. Expected integration shape: a separate worker job type that runs `query()` inside the sandbox with an API key from the encrypted store, a per-run budget cap, and the same `ai_runs` lease/checkpoint machinery already used for chat runs.
15
16## Session continuation
17Application-level recovery (this repo) means: queued/running runs live in PostgreSQL, a dead worker's lease expires, and the run is re-queued and continued from its stored partial output. This is **not** Claude Code "session resume", and nothing here tries to bypass usage or rate limits (429 `retry-after` is honoured with bounded attempts).
18

Conversation

Partial
Sign in to start AI sessions.

Task checklist

  • Application shell deployed
  • Persistent projects
  • Agent runtime
  • Sandboxed terminal

Execution activity

No agent sessions. Git HEAD 548ed73 on master.

Approval requests

None pending.