Agent Desktop Ffi

C-ABI bindings over agent-desktop's PlatformAdapter. Consumers (Python ctypes, Swift, Node ffi-napi, Go cgo, C++, Ruby fiddle) link libagent_desktop_ffi.{dylib,so,dll} and call `ad_*` functions directly instead of spawning the CLI binary per call. The canonical observe-act workflow is: ad_init → ad_adapter_create[_with_session] → ad_snapshot → parse @e refs → ad_execute_by_ref → ad_free_string → ad_adapter_destroy.

lahfir Updated

File contents

lahfir/agent-desktop/tree/main/skills/agent-desktop-ffi commit 8640d51d31

Frequently asked questions

npx skillmds@latest add lahfir/agent-desktop-ffi