Skip to content

LightAgent v1.0.0

Latest

Choose a tag to compare

@wxai-space wxai-space released this 15 Nov 11:44
1ce4a58

Durable Execution And Recovery

Highlights

  • Added ExecutionService and ExecutionHandle for ordinary durable tasks on host-registered backends. Reconnect after a restart to inspect state, events, receipts, and budgets without a research contract.
  • Optional Codex Agent backend: Run workspace tasks with LightAgent(backend="codex").run("Summarize the workspace", workspace="./workspace"). This uses the locally installed and authenticated Codex CLI (tested protocol: 0.160.x on POSIX), not a model endpoint or a separate API key in LightAgent. The default backend does not require Codex. See the workspace execution guide for setup and limitations.
  • Unified the Job and Subagent lifecycle with leases, attempt fencing, cooperative cancellation, and explicit reconciliation when an external outcome is uncertain.
  • Added transactional Session and control-state updates, integrity checks, scoped messages and wakeups, durable budget accounting, and offline history backup and restore.
  • Added signed Provider attestation and explicit host trust approval. Signatures do not replace runtime policy, isolation, or operation-level approvals.
  • Preserved default Skills discovery and PyYAML in the base install. MCP, Mem0, Langfuse, LiteLLM, OSS/NOS, and signature verification are optional Python dependencies.
  • Fixed cancellation-token keyword detection and made LightDAG Worker factories handle positional-only, keyword-only, and no-argument callables (#126).

Compatibility And Scope

  • Ordinary run(), arun(), streaming, LightFlow, and LightDAG entry points remain available. Durable execution uses local SQLite and an explicit host backend; this release does not add distributed scheduling or a production UI.
  • Research functionality is separate in LightResearch. Legacy mode="persistent" keeps its research semantics and requires explicit LightResearch.enable_legacy_api() registration with a compatible extension. Older development wheels restricted to LightAgent <0.14.0 must be updated separately.
  • See the execution guide and history migration guide before upgrading persisted state.

Verification

  • The release commit's PR checks passed on Python 3.10, 3.11, 3.12, and 3.13, including the core test suite and wheel smoke tests.
  • MCP compatibility passed on 1.12.4, 1.30.0, and 2.3.0. The manual soak and production integration scenarios are not part of this CI result.

References

  • Runtime and packaging: #128. Cancellation and Worker compatibility: #126. Multilingual README update: #129.
  • Full changes