Code
thesis code
Terminal agent for autonomous and human-in-the-loop tasks.
thesis code [prompt] [options]
-
Arguments
prompt(optional): task prompt (required when using--exec)
-
Options
| Option | Description | Default | Required? |
|---|---|---|---|
--exec |
Execute non-interactive task instead of opening chat | No | |
--chat-id <id> |
Resume existing chat | No | |
--notebook-path <path> |
Notebook path for chat context | No | |
--core-url <url> |
Core API URL | http://localhost:42421 |
No |
--mode <mode> |
Agent mode (ask, plan, agent) |
agent |
No |
--agent-type <type> |
Agent type (machineLearningEngineer, dataScientist, aiResearcher, softwareEngineer) |
machineLearningEngineer |
No |
--web-search |
Enable web search | No | |
--full-auto |
Allow file edits (like codex exec) |
No |
- Examples
Interactive chat:
thesis code
Non-interactive exec with an argument prompt:
thesis code --exec "Write a short migration plan for this repo."
Non-interactive exec with stdin:
echo "List all TODOs and propose a plan." | thesis code --exec
- Notes
- Requires an active session. If none is found, it exits and instructs you to sign in at
https://thesis.aiand open Thesis Desktop to sync your session. - If the Core API is not healthy at
--core-url, the CLI will attempt to start local services (Core API + Jupyter) and may kill stale processes from prior runs.
- Requires an active session. If none is found, it exits and instructs you to sign in at