Local agent CLI for file ops, shell commands, and Git automation using OpenAI.
Note: ChatGPT subscriptions (Plus/Pro/etc.) are separate from API billing; API usage requires an API key from the developer platform.
npm installTo run darell globally during development:
npm run buildThen link the global binary:
npm linknpm run dev -- configureModel selection is populated from the OpenAI models API during configuration.
export OPENAI_API_KEY="..."
export DARELL_MODEL="gpt-4o-mini"darell configure writes to ~/.darell/config. This is in no way a secure way to do this but since it is mostly a local configuration idk use at your own risk.
You can find/create API keys in the OpenAI developer platform.
npm run dev -- configure
npm run dev -- interactive
npm run dev -- -i
npm run dev -- agent "rename all *.txt files to *.md"Options:
--root <path>: workspace root (default: cwd)--yes: auto-approve actions--model <name>: override model
- Move files
- Rename files
- Run shell commands (with approval)
- Run git commands (with approval)
- Read files
- Write/append/create/delete files
- Search files
- List directories
- Apply patches
- The agent requests approval for each action unless
--yesis provided. - Prefer project-based keys and avoid sharing personal API keys.
- Running shell commands or file mutations can be destructive; review each approval carefully.
delete_file,write_file,append_file,replace_in_file, andapply_patchmodify data and should be used cautiously.--yesdisables per-action confirmation and is not recommended for sensitive workspaces.- By default, actions are limited to the workspace root. You can allow outside-root access in
darell configure.