Pilot Protocol C ABI. Builds a shared library (libpilot.dylib / libpilot.so / libpilot.dll) plus a C header (libpilot.h) that other language SDKs link against via FFI.
The library embeds a full pilot daemon plus all the standard plugins (handshake, policy, runtime, skillinject, trustedagents, dataexchange, eventstream, webhook). FFI clients get a single in-process pilot node.
- sdk-node — Node.js via
koffi - sdk-python — Python via
ctypes - sdk-swift — Swift via C interop
make build # produces libpilot.<ext> + libpilot.h
make cleanThe output libpilot.h is the C header consumers include or generate bindings against. The .dylib / .so / .dll is the runtime library.
| File | What it does |
|---|---|
bindings.go |
Exported //export C functions: pilot_init, pilot_send, pilot_recv, pilot_close, etc. |
embedded.go |
In-process daemon construction (runtime + plugins). |
The release workflow builds binaries for linux/{amd64,arm64}, darwin/{amd64,arm64}, and windows/amd64 and attaches them to the GitHub release. SDK repos pull the matching artifacts in their own release pipelines.
AGPL-3.0-or-later. See LICENSE.