Skip to content

Discuss which resources Phlex should provide natively #1095

Open

Description

@knoepfel

Question

What kinds of resources should Phlex provide natively, rather than leave to user code or separately maintained plugins?

Discussion scope

  • What criteria should distinguish a built-in Phlex resource from a user- or plugin-provided resource?
  • Which facilities would benefit from a shared, framework-maintained implementation, such as random-number generation, logging or metrics, Python interpreter access, or external-library access tokens?
  • Should such resources live in the core framework or in optional plugins shipped with Phlex?
  • What configuration, lifetime, concurrency, and dependency commitments would native resources require?

The examples above are candidates for discussion, not a proposed commitment to implement them. Scientific state requiring provenance or persistence should remain data products rather than become resources merely because it is shared.

Related issues

Desired outcome

Agree on criteria for native resources and identify an initial set of candidates, with separate implementation issues where appropriate.

Activity

  1. added
    discussion
    on Nov 20, 2026
  2. coderabbitai commented on Nov 20, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #1042 - feat: runtime-specified token collections for limited resources [open]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions