xonecas.ioDon't click! Sean Caetano Martin Sign in
cast / cast.md 20 lines2.2 kB RenderedSource Raw

Cast - A tool to craft and execute workflows from a prompt.

cast is a tool to help users go from a prompt to a set of tasks and their workflow and their execution. The user writes a prompt in a rich media markdown editor, with support to embed graphs, images, video. Dual pane with editor and a live preview. The editor has rich paste support. The editor is agent assisted, with features to generate at the cursor, and highlighting a section of text for an agent to edit. Similar to cursor's and zed's editors agent integration. At any point the user can ask for an agent to receive the prompt and generate a workflow of tasks to execute, each task includes the decisions it made and the acceptance criteria and evidence to attach. The user then can review and edit each task, the workflow order, and provide feedback to refine it. Or discard it and go back to the prompt for further editting and repeat the process until they are happy. Once a workflow is ready, the user can execute it with cast. With controls to go one task a time, one workflow step at a time, of the whole wrkflow as designed. At any point the user can request a pause, this pauses the workflow and doesn't start new tasks until the user resumes or cancels. While executing the workflow, there is a visual progress of it.

cast works on directories, users open a directory and start writting their prompts, each resulting task is run in the working directory cast is in. cast itself doesn't touch git, an agent can if it's instructed to do so.

Cast runs agents in a virtual machine. At install time a qemu image is baked (using a debian cloud image) with all the required dev packages and agent token (we can either get the claude token from the bash env, or ask the user to input one in the app), and the user's claude config (CLAUDE.md global and skills) with the working folder mounted into the vm.

Single binary, written in Rust with Rune UI. Linux first, mac os later. Claude support via claude token, opencode support via opencode api key. User chooses which agent to use by default, and a local overide when generating tasks and workflow/implementing it.

References