Documentation
Installation
Install the CLI, save your OpenAI API key once, then launch tinyloop from the workspace you want it to inspect.
Installation
Set up local auth.
tinyloop can use your ChatGPT subscription through Codex auth, or it can read OPENAI_API_KEY. The recommended local path is tinyloop auth login chatgpt, which reuses your Codex login and stores only tinyloop's provider preference locally.
Install the CLI.
Install tinyloop globally so the command is available inside any workspace.
npm install -g tinyloopUse ChatGPT auth.
tinyloop reuses the local Codex login. Use tinyloop auth codex-path to see that file.
tinyloop auth login chatgptOr save an API key.
The prompt hides the key while you type. Use tinyloop auth path to see tinyloop's file.
tinyloop auth loginCheck and start.
OPENAI_API_KEY still overrides stored auth. Otherwise tinyloop uses your selected local provider when you start a session.
tinyloop auth statustinylooptinyloop's provider preference defaults to ~/.tinyloop/auth.json. Codex ChatGPT auth defaults to ~/.codex/auth.json. Set TINYLOOP_HOME or CODEX_HOME to use a different local auth directory.
Further references
Keep learning from the small agents.
tinyloop is based on the ideas behind Pi. Visit pi.dev to study the project that inspired it, and visit Tau for another great learning coding agent written in Python.