Skip to content

pilot-protocol/libpilot

Repository files navigation

libpilot

ci codecov License: AGPL-3.0

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.

Consumers

Build

make build           # produces libpilot.<ext> + libpilot.h
make clean

The output libpilot.h is the C header consumers include or generate bindings against. The .dylib / .so / .dll is the runtime library.

Layout

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).

Releases

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.

License

AGPL-3.0-or-later. See LICENSE.

About

Pilot Protocol C ABI bindings (libpilot.dylib/.so/.dll) — produces the shared library consumed by Node, Python, and other FFI clients

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors