Share
Use your Agent.Space allowance in any Agent product
02 / Developer API
Use your Agent.Space allowance in any Agent product
Your Agent.Space allowance includes Share for OpenAI models and Flex for other available models. Use it in Agent.Space, Codex, Claude Code, OpenCode, Hermes, and other Agent products you already work with.
Your Agent.Space allowance includes
Share + Flex
Flex
Other available models
A flexible balance you can top up as needed.Use it in the Agent products you already know
Use it directly in Agent.Space. For other products, connect your Developer API once and keep working there.
GPT Image 2 uses Share first, then Flex when no plan is available or its allowance is exhausted. Other models use their listed funding source.
03 / Agent clients
Use Agent.Space models in the client you already love
Download Codex, Claude Code, or OpenCode and point it at the Agent.Space Developer API. One API key brings your Share and Flex allowance, and every available model, into the terminal and editor you already work in.
Codex
OpenAI · Coding agent for terminal and IDE
OpenAI's official coding agent with a CLI, IDE extensions, and a desktop app. It connects over the OpenAI Responses protocol and runs the OpenAI models in your Share allowance.
- macOS
- Linux
- Windows
Install · macOS / Linuxcurl -fsSL https://chatgpt.com/codex/install.sh | shClaude Code
Anthropic · Terminal coding agent
Anthropic's official coding agent, speaking native Anthropic Messages. Point its base URL at Agent.Space to run Claude models from your Flex balance.
- macOS
- Linux
- Windows
Install · macOS / Linuxcurl -fsSL https://claude.ai/install.sh | bashOpenCode
Open source · Terminal coding agent
An open-source terminal agent with custom providers, compatible with both OpenAI and Anthropic protocols. One config unlocks every model available on Agent.Space.
- macOS
- Linux
- Windows
Install · macOS / Linuxcurl -fsSL https://opencode.ai/install | bash
Why connect through Agent.Space
One key
One API key, many model providers
OpenAI, Anthropic, DeepSeek, and more share a single key and endpoint. Switch models without switching accounts.Two protocols
OpenAI Responses and Anthropic Messages
Connect over each client's native protocol. No proxies and no client patches: configure once and keep working.Clear billing
Share and Flex stay separate
The model you call decides which allowance pays, and every request is visible in Request history.Your choice
Swap clients any time
Codex today, Claude Code tomorrow. Your key and allowance stay the same, so your workflow never breaks.
Three moves: get an API key, pick a model, write the config. No client code changes required.
Get an API key
Create a key in the Agent.Space Developer API panel, for example “Codex · MacBook”. Replace <your-api-key> in the copied config with the full value.
Pick a model
Open the setup guide, choose your client and an available model, and let the template fill in the exact model id.
Write the client config
Copy the complete config, replace the key placeholder, and save it at the path shown for your client. Keep the file local.
model_provider = "agent-space"
model = "<model-id>"
[model_providers.agent-space]
name = "Agent.Space"
base_url = "https://api.agent.space/v1"
experimental_bearer_token = "<your-api-key>"
wire_api = "responses"Codex uses the OpenAI Responses protocol, so the base URL ends in /v1. Replace <your-api-key> in config.toml, and keep the file local.
Other ways to install
- npm
npm install -g @openai/codex - Homebrew
brew install --cask codex - Windows
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
The template already includes the endpoint and selected model. Replace <your-api-key>, then keep the config file local and never commit or share it.
Start in one Space
Bring your next task to Agent.Space
Choose an Agent, keep the project in the cloud, and collaborate without losing context.