Repository navigation
Working with an Agent
You can play a study, explore the scene, and save projects with the agent disconnected. Connect an agent when you want help changing the construction or making a new comparison.
Start with an installed, compatible Codex executable signed in through its normal local login flow. From the Cosmic Lego repository root, replace the example path below with the absolute path to that executable. Use --port 0 to open a separate workspace on an available port.
bash scripts/node.sh apps/exoplanet.mjs --port 0 --codex /absolute/path/to/codexFollow the printed local address, choose Open workspace, and open Inspection → Study conversation. If the conversation panel is hidden, restore it from Views. Choose Codex · local app-server in the connection settings and click Connect. If the app reports that authentication is needed, finish the sign-in in your local runtime and reconnect.
For When shadows overlap, start with a question about a visible result.
At physical time zero, which two planets overlap along the Earthward detector’s line of sight? Use the combined flux and the sum of the independent depths to explain the difference.
Then try one change at a time.
Increase Cinder’s radius slightly while keeping it smaller than Ember. Keep the orbits fixed. What happens to each flux readout at conjunction?
If Cinder remains entirely inside Ember’s silhouette, the combined blocked area stays the same even as the sum of the separate depths grows. Compare the actual readouts before and after the edit. Use Undo to return to your previous construction. You can also ask which scientific components are installed before proposing a new experiment.
Use Send or Ctrl+Enter (⌘+Enter on macOS). Stop ends the active turn. Edits already accepted by the workspace remain available to inspect or undo. Disconnect ends the provider connection and leaves the public conversation visible in the workspace. When saving or downloading, you can choose whether to include those messages.