Skip to content

Support OpenScience (@synsci/openscience) as a client integration #4854

Description

@jmzhang1911

Area

Multiple areas

What are you trying to accomplish?

I want to use OpenScience (synthetic-sciences/openscience, npm: @synsci/openscience) with models routed through OpenCodex (Gemini, Claude, DeepSeek, Kimi, GLM, etc.), with automatic configuration similar to how OpenCodex currently supports Codex, Claude Code, and Claude Desktop.

What prevents this today?

Currently, ocx start and auto-injection support Codex, Claude Code, and Claude Desktop. To use OpenCodex with OpenScience, users must manually configure an OpenAI-compatible custom provider endpoint via openscience local add pointing to http://127.0.0.1:10100/v1.

What should OpenCodex do?

  1. Detect OpenScience installations or local configuration directory and support automatic proxy injection (or an explicit command such as ocx inject openscience).
  2. Expose routed models in OpenScience's provider/model selector.
  3. Include OpenScience in ocx doctor checks.

Example usage or interface

ocx start
# OpenCodex detects OpenScience and injects local proxy config:
# [opencodex] OpenScience configured -> http://127.0.0.1:10100/v1

openscience

Alternatives or workarounds

Manually adding a local OpenAI-compatible provider in OpenScience pointing to http://127.0.0.1:10100/v1.

Additional context

Checks

  • I searched existing issues and documentation.
  • This request describes a concrete OpenCodex workflow rather than merely naming a desired technology.
  • I removed secrets and personal data.

Activity

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

    enhancementNew feature or requestproviderProvider adapters, OpenAI-compat presets, upstream API quirks

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions