Skip to content

You are currently viewing documentation for0.1.0-alpha.3

Saved documentation for 0.1.0-alpha.3 (npm) / 0.1.0a2 (PyPI). Interactive tools use the current release. View latest documentation.

Adopt with observe

Start with a read and observe

Use observe when adding AGINDOW to a working integration before permitting policy changes. Create a local SDK instance as below, then use the Node or Python guide to wrap an API call you already own. Node awaits ready; Python reads a boolean. Observe preserves the original payload, result and upstream exception. The statistical guest is default; configure windows to detect.

import { createAgindow } from 'agindow';
const sdk = createAgindow({ mode: 'observe' });
await sdk.ready; // Wait for the loading attempt before guarding calls.
from agindow import Agindow
sdk = Agindow(mode="observe")
print("Engine loaded:", sdk.ready)
if sdk.load_error is not None:
    print("Inspection unavailable; guarded calls will bypass.")
sdk.close()

Read findings without applying repairs

Register sdk.on listeners before guarded calls and inspect sdk.recent afterward. A configured drift event reports evidence. An empty history is not a clean verdict; a bypass means inspection was unavailable. Observe does not apply a candidate replacement or enforce a policy block. The advanced language references retain the synthetic candidate/availability diagnostics for testing these guarantees.

When to stay in observe

Keep observe while checking representative baseline/current windows, operation identity, field selection and the behavior of your own client. No automatic baseline is learned. Before repair, add reviewed eligible rename rules and an independent verifier at construction, evaluate the rule, then explicitly choose repair. Changing mode alone supplies no rule. Unavailable or unsupported evidence is a reason to investigate rather than increase confidence.

Reference and next steps

Continue with the reference for this task.