Urgent.News

What's breaking now, across thousands of outlets.

Tech

An APX Interface Should Ask the Daemon, Not a Plugin

An APX Interface Should Ask the Daemon, Not a Plugin A new APX interface should not learn how to manage plugins. It should ask the daemon. That sounds like an implementation detail, but it is a boundary that keeps agent behavior coherent as APX gains surfaces. APC is the portable context layer. A repository can carry AGENTS.md , .apc/agents/ , skills, and other durable project rules. APX is the…

A new APX interface should not learn how to manage plugins, but should instead ask the daemon to handle this task. This is important because it helps maintain consistent agent behavior as APX gains new features and functionalities. APC is the portable context layer, which can include AGENTS.md, .apc/agents/, skills, and other rules crucial to the project.

APX is the daily-use runtime and tooling layer, reading the context, running agent work locally, and exposing it through various interfaces like CLI, web panel, and desktop client. The core of APX contains shared logic, the host layer has long-running processes, and the interfaces layer provides surfaces for users to interact with the system.

The daemon, which lives in the host layer, is the only layer that communicates with plugins over HTTP. This separation ensures that each surface communicates with the daemon through a single API, reducing the chances of drift and inconsistency in plugin lifecycle management. By assigning plugin lifecycle management to the daemon, APX ensures that the runtime state is kept local and that each interface has a simpler job of collecting human actions, calling the daemon, and rendering the response.

A practical example of this design is adding a button to an APX panel that connects an integration. Instead of importing a plugin package and configuring it in the browser code, the panel sends a request to the daemon, which then checks the runtime configuration, performs the necessary lifecycle work, records the local result, and returns a status.

This approach allows other interfaces, such as CLI and web panel, to call the daemon endpoint or command path, providing a consistent experience across different interfaces. Furthermore, failures can be traced more easily, as the daemon is the clear owner of the plugin contact and runtime lifecycle. APC, on the other hand, is responsible for preserving project context, not managing plugin lifecycle.

By keeping plugin ownership in the daemon, APX ensures that every interface can use the same runtime interpretation of the project while keeping machine-specific operational state separate from APC. This separation ultimately leads to more reliable and maintainable systems.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Stop Rebuilding the Same Firmware: Turning One-Off IoT Projects Into Reusable Assets

I used to think the hardest part of an embedded project was getting the board to boot. It isn't. The hardest part is what happens after you hand it over.

  • Embedded IoT projects face challenges post-delivery, with tangled codebases becoming unusable.
  • Shifted mindset to create reusable assets, listing finished solutions for integrators and partners.

On-policy distillation is quietly eating GRPO's lunch — and DPO's tax bill just got itemized

This digest covers post-training research and engineering published between 2026-10-30 and 2026-11-06: arXiv papers on preference optimization, on-policy distillation and LoRA, plus new recipes from…

  • Task-selective capability loss observed in DPO+SFT-retention tasks
  • Deterministic benchmark reveals marginal value of verifier-based RL
  • On-policy distillation erodes GRPO's competitive edge with lower FLOPs

More from Friday 6 November →