Skip to content

Build the libfx agent kernel - #544

Draft
fazxes wants to merge 7 commits into
mainfrom
fazxes/libfx-kernel
Draft

Build the libfx agent kernel#544
fazxes wants to merge 7 commits into
mainfrom
fazxes/libfx-kernel

Conversation

@fazxes

@fazxes fazxes commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Expose one in-memory conversation through prompt, checkpoint, and close.
  • Run JavaScript tools with aligned native and WebAssembly behavior across Node, Bun, and browsers.
  • Add optional MCP and skills adapters without adding default runtime dependencies or startup effects.
  • Remove durable session, config, skill, and model-catalog work from the headless startup path.
  • Shut down native and WebAssembly runtimes when Agent creation fails.
  • Reject direct, MCP, and skills instructions above 64 KiB before starting a runtime.
  • Keep cancelled JavaScript tool callbacks inert if they settle after cancellation or close.
  • Preserve native Agent errors when automatic Wasm fallback cannot run.
  • Add TTFT, bridge, Pi, Bun, browser, and packed-package coverage.

@fazxes fazxes added the type: feature Adds a new user-facing capability label Aug 31, 2026
@fazxes
fazxes force-pushed the fazxes/libfx-kernel branch 4 times, most recently from 8f772d4 to 2b0864e Compare September 1, 2026 12:27
- Expose one conversation through prompt, checkpoint, and close.
- Run JavaScript tools and optional MCP and skills adapters at the host edge.
- Align native and WebAssembly behavior across Node, Bun, and browsers.
- Add TTFT, bridge, Pi, Bun, and packed-package coverage.
Use the minimal turn result contract and allow the live smoke test to force native or WebAssembly backends.
Preserve caller-built bounded context projections.
Collapse the headless SDK to one session and active turn.
Remove duplicate lifecycle and startup state while retaining checkpoint freshness.
Include optional adapters in local package staging.
Ignore libfx host capabilities in ordinary ACP sessions.
Return method not found for private bootstrap and checkpoint calls outside minimal-kernel runtimes.
Preserve the active durable session and native tool projection.
Close native and WebAssembly runtimes when bootstrap fails.

Enforce the kernel 64 KiB instruction limit before runtime creation.
Read tool-call history from the Agent-owned session state.
Discard host-tool completions that settle after cancellation or close.

Preserve native Agent errors when automatic Wasm fallback cannot run.
@fazxes
fazxes force-pushed the fazxes/libfx-kernel branch from 2b0864e to 3658f78 Compare September 1, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Adds a new user-facing capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant