Skip to content

Generalize CodexAgentBackend — it's not actually codex-specific #234

Closed as not planned

Description

@larstalian

CodexAgentBackend (src/openrange/agent_backend.py) reads like a second Codex backend sitting next to CodexBackend (src/openrange/llm.py), but it has no codex-specific code. It just wraps an LLMBackend into a single-shot, tool-less AgentBackend and defaults to CodexBackend when you don't pass one.

So the "Codex" in the name is misleading — the only codex-specific code is in CodexBackend. Worth renaming/generalizing it (e.g. LLMAgentBackend or SingleShotAgentBackend) so it clearly takes any LLMBackend and "Codex" appears in exactly one place.

Low priority, just a cleanup note.

Activity

  1. added
    npcNPC / green user
    coreCore library / runtime / admission
    on May 29, 2026
  2. larstalian commented on Oct 12, 2026

    @larstalian
    ContributorAuthor

    No longer involved with this project, so closing my open issues. Feel free to reopen anything you still want to track.

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

    coreCore library / runtime / admissionnpcNPC / green user

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions