Skip to content

[Feature] Add Codex as Model Provider with OpenAI OAuth Integration #397

@Clawiee

Description

@Clawiee

Pre-checks

Feature Request

Add Codex as a Model Provider with OpenAI OAuth Integration

Problem Statement

Currently, Clawith does not support Codex as a model provider. Users who want to use OpenAI's Codex for code-related tasks must configure API keys manually, which can be inconvenient and less secure.

Proposed Solution

Add a new model provider for OpenAI Codex with the following features:

  1. OAuth-based Authentication: Users can sign in with their GPT/OpenAI account via OAuth instead of manually entering API keys
  2. Quota Management: Users can use their own Codex quota/tokens from their GPT subscription
  3. Secure Authentication: Leverage OpenAI's official OAuth flow for secure authentication
  4. User-Friendly Setup: Simple "Sign in with OpenAI" button to connect

Use Cases

  • Code generation and review
  • Code interpretation and execution
  • Developer-focused AI assistants
  • Teams using Codex-enabled GPT accounts

Benefits

  • Better UX: No need to manage API keys manually
  • Cost Efficiency: Users can use existing Codex quota from their GPT subscription
  • Security: OAuth is more secure than sharing API keys
  • Broader Accessibility: Makes Codex more accessible to non-technical users

Additional Context

Reference: OpenAI OAuth documentation for integrating GPT/Codex access.


Feature request submitted by Yifei Zhou

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions