Search the pasclaw.dev Code Vault for Object Pascal samples and components.
disconnected
Sessions
—
Turns
—
Tool calls
—
Input tokens
—
Output tokens
—
Cache read tokens
—
Cache created tokens
—
Truncation bytes saved
—
Tokens by provider
Provider
Tokens
Tokens by model
Model
Tokens
Loading…
Workers connect outbound to /v1/relay/poll, run inference locally, and POST results back — WebGPU / phone / shared home-GPU inference with no inbound ports.
How it works
Workers advertise capabilities via X-Relay-Capabilities, drain pending requests off this gateway's queue, and POST results to /v1/relay/respond/<id>. See
docs/providers-relay.md for the wire protocol.
Connected workers
—
Pending
—
In-flight
—
Completed
—
Failed
—
In-browser worker
Run a relay worker in this tab: Connect loads @mlc-ai/web-llm from esm.run and downloads the model's weights on first use — nothing third-party is fetched until you click.
Security & tool-call notes
The module runs in a dedicated Web Worker (no window / localStorage, so it can't read this page's stored gateway token) and talks to the gateway with a relay-scoped token that unlocks only /v1/relay/* — a compromised model can't impersonate you. Closing the tab disconnects.
Tool calls: WebLLM only accepts the tools argument for the Hermes-2-Pro / Hermes-3 entries flagged "tool-calls supported". Other models still work for text-only turns; if a turn carries tools the worker strips them and retries (text replies come back, no structured tool_calls).
idle -- pick a model and click Connect
0 served
(log)
Connect a worker from another hostConnected workers
Worker id
Capabilities
Requests
Last seen
Drag a node by its title to move it; drag from a node's right ● to another node's left ● to connect. Click a node to edit its args.
Node
raw args (JSON)
Edits write config.json on the server and apply on the next
restart. Secrets are shown as ••• — leave them to keep the current value, or type a
new one to change it (you can set keys here, never read them). Use Raw JSON to add or
remove list entries (providers, MCP servers, …) the form can't.
Welcome to PASCLAW
No model provider is configured yet. Pick one and add your API key to start chatting — saved straight to the gateway, no restart needed.
optional · cheaper model
Same provider with a smaller model (e.g. a haiku/mini tier on the same key), or a different one.
Optional: local memory search lets the agent recall
past notes/files semantically (on-device embeddings, nothing leaves the
host). Reranking sharpens the results.