El model pot ser de qualsevol. L’agent hauria de ser teu.
Codewhale és un agent de programació de codi obert per al teu terminal, escrit en Rust. Funciona amb qualsevol model, pot repartir una tasca entre diversos agents i en pots llegir cada línia.
curl -fsSL https://codewhale.net/install.sh | sh
La versió 0.10.2 està publicada i no necessita cap compte.Llegeix el codi
▎ Add a --json flag to ls.py so the tests pass, then run the tests. ⢀⠤⠤⡀ ⢩⠋⡏⠉ ° ⠘ ⠘ ° ° ˚ ⠠⠓⠭⠒ ⠨⠒⠭⠒ ⠪⠪⠕⠂ ⠐⠕⠭⠒ · ⠱⠪⠕⠂ · ⠱⠪⠕⠂ ⠠⠓⠭⠒ ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮│❯ Type a follow-up… ││ [·] │╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work (Tab) Work bar (Ctrl+]) Model set to: scripted-demo scripted_local · scripted-demo context 5% cost: unknown (billing basis unknown)
▎ Add a --json flag to ls.py so the tests ▏ pass, then run the tests. ⢀⠤⠤⡀ ⢩⠋⡏⠉ ⠘ ⠘ ° ˚ ⠐⠕⠭⠒ ⠈⠖⠭⠒ ⠜⠪⠕⠂ ╭──────────────────────────────────────────────╮│❯ Type a follow-up… ││ [·] │╰──────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work scripted-demo context 5%
▎ Add a --json flag to ls.py so the tests pass, then run the tests. ✓ ◆ patch done · Updated ls.py · +4 -0 │ --- a/ls.py │ +++ b/ls.py │ @@ -1,8 +1,12 @@ ┃ 1 + import json ┃ 1 2 import sys ┃ 2 3 ┃ 3 4 NAMES = ["alpha", "beta"] ┃ 4 5 ┃ 5 6 def main(): ┃ 7 + if "--json" in sys.argv: ┃ 8 + print(json.dumps(NAMES)) ┃ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃● $ python3 -m unittest -q · waiting for approval ┃──────────────────────────────────────────────────────────────────────────────────────────────────── Runs a command Run `python3 -m unittest -q` Command: python3 -m unittest -q Save: always ask first run python3 -m unittest -q Do you want to proceed? [1 / y] Allow once [2 / a] Allow for this conversation ❯ [3 / d / n] Don't allow (Enter) [Esc] Stop this turn Pg↑/↓ review · Alt+V details · Esc stop · s allow now, and always ask before this again
▎ Add a --json flag to ls.py so the tests ┃▏ pass, then run the tests. ┃ ┃ ┃ ┃✓ ▷ read done · Reading ls.py ┃✓ ◆ patch done · Updated ls.py · +4 -0 ┃ --- a/ls.py ┃ +++ b/ls.py ┃ @@ -1,8 +1,12 @@ ┃ 1 + import json ┃ 1 2 import sys ┃ 2 3 ┃ 3 4 NAMES = ["alpha", "beta"] │ 4 5 ╭─╮│ 5 6 def main(): │↓││ 7 + if "--json" in sys.argv: ╰─╯│──────────────────────────────────────────────── Runs a command Run `python3 -m unittest -q` Command: python3 -m unittest -q Save: always ask first run python3 -m unittest -q Do you want to proceed? [1 / y] Allow once [2 / a] Allow for this conversation ❯ [3 / d / n] Don't allow (Enter) [Esc] Stop this turn Pg↑/↓ review · Alt+V details · Esc stop · s allow now, and always ask before this again
▎ Add a --json flag to ls.py so the tests pass, then run the tests. ✓ ◆ patch done · Updated ls.py · +4 -0 │ --- a/ls.py │ +++ b/ls.py │ @@ -1,8 +1,12 @@ ┃ 1 + import json ┃ 1 2 import sys ┃ 2 3 ┃ 3 4 NAMES = ["alpha", "beta"] ┃ 4 5 ┃ 5 6 def main(): ┃ 7 + if "--json" in sys.argv: ┃ 8 + print(json.dumps(NAMES)) ┃ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃● $ python3 -m unittest -q · waiting for approval ┃──────────────────────────────────────────────────────────────────────────────────────────────────── Runs a command Run `python3 -m unittest -q` Command: python3 -m unittest -q Save: always ask first run python3 -m unittest -q Do you want to proceed? [1 / y] Allow once [2 / a] Allow for this conversation ❯ [3 / d / n] Don't allow (Enter) [Esc] Stop this turn Pg↑/↓ review · Alt+V details · Esc stop · s allow now, and always ask before this again
▎ Add a --json flag to ls.py so the tests pass… --- a/ls.py │ +++ b/ls.py │ @@ -1,8 +1,12 @@ │ 1 + import json │ 1 2 import sys ┃ 2 3 ┃ 3 4 NAMES = ["alpha", "beta"] ┃ 4 5 ┃ 5 6 def main(): ┃ 7 + if "--json" in sys.argv: ┃ 8 + print(json.dumps(NAMES)) ┃ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃● $ python3 -m unit... · waiting for approval ┃──────────────────────────────────────────────── Runs a command Run `python3 -m unittest -q` Command: python3 -m unittest -q Save: always ask first run python3 -m unittest -q Do you want to proceed? [1 / y] Allow once [2 / a] Allow for this conversation ❯ [3 / d / n] Don't allow (Enter) [Esc] Stop this turn Pg↑/↓ review · Alt+V details · Esc stop · s allow now, and always ask before this again
▎ Add a --json flag to ls.py so the tests pass, then run the tests. +++ b/ls.py │ @@ -1,8 +1,12 @@ │ 1 + import json │ 1 2 import sys │ 2 3 │ 3 4 NAMES = ["alpha", "beta"] ┃ 4 5 ┃ 5 6 def main(): ┃ 7 + if "--json" in sys.argv: ┃ 8 + print(json.dumps(NAMES)) ┃ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃✓ $ python3 -m unittest -q ┃ ▏ ---------------------------------------------------------------------- ┃ ▏ Ran 2 tests in 0.018s ┃ ▏ OK ┃ ┃ ┃● Added --json to ls.py and ran the tests: both pass. ┃▏ ┃▏ This session uses a scripted local model, not a real provider. ┃╭──────────────────────────────────────────────────────────────────────────────────────────────────╮│❯ Type a message… ││ [·] │╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) Shift+Tab to change work (Tab) Work bar (Ctrl+]) scripted_local · scripted-demo context 5% cost: unknown (billing basis unknown) ttft 397ms
▎ Add a --json flag to ls.py so the tests pass… 1 2 import sys │ 2 3 │ 3 4 NAMES = ["alpha", "beta"] │ 4 5 │ 5 6 def main(): │ 7 + if "--json" in sys.argv: │ 8 + print(json.dumps(NAMES)) │ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃✓ $ python3 -m unittest -q ┃ ▏ ----------------------------------- ┃ ▏ ----------------------------------- ┃ ▏ Ran 2 tests in 0.018s ┃ ▏ OK ┃ ┃ ┃● Added --json to ls.py and ran the tests: ┃▏ both pass. ┃▏ ┃▏ This session uses a scripted local model, ┃▏ not a real provider. ┃╭──────────────────────────────────────────────╮│❯ Type a message… ││ [·] │╰──────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work scripted-demo context 5%
Una sessió real de terminal: les edicions i les proves es van executar de debò, i el model és una demostració amb guió.
Els fotogrames «Instrucció» i «Resultat» mostren el nom del model i el paràmetre Ask.
Qualsevol model pot treballar a través del teu agent.
Fes servir un proveïdor integrat, qualsevol punt d’accés compatible amb OpenAI o un model a la teva pròpia màquina, i canvia de model entre torns. Codewhale s’executa al teu repositori sense compte, i codewhale web et permet treballar-hi des del navegador, a la teva pròpia màquina.
┌ Custom provider ───────────────────────────────────┐ │OpenAI-compatible endpoint. Store an env var name, │ │ Name: scripted_local │ │ Base URL: http://127.0.0.1:8089/v1 │ │▸ Default model: scripted-demo │ │ API key env: optional │ │ │ │ │ │ │ │ │ │ Tab/↑↓ field Enter next/save Esc back │ └────────────────────────────────────────────────────┘
┌ Custom provider ───────────────────────────┐ │OpenAI-compatible endpoint. Store an env var│ │ Name: scripted_local │ │ Base URL: http://127.0.0.1:8089/v1 │ │▸ Default model: scripted-demo │ │ API key env: optional │ │ │ │ │ │ │ │ │ │ Tab/↑↓ field Enter next/save Esc back │ └────────────────────────────────────────────┘
El teu agent respon davant teu.
Tu decideixes què pot fer Codewhale sense preguntar, i les seves ordres poden executar-se en un entorn aïllat a macOS i Linux. Cada sessió deixa un rebut dels fitxers que ha canviat, de les ordres que ha executat i de qui ha aprovat cada pas.
▎ Add a --json flag to ls.py so the tests pass, then r… ▏ │▏ Changed 1 file · ran 1 command · 1 approved by │▏ you · 1 ran without asking under Ask │▏ │▏ 1. wrote ls.py │▏ 2. ran python3 -m unittest -q · approved by you │▏ │▏ Not recorded: │▏ - Exit codes: calls that saved no structured │▏ result (terminal sessions) show pass or fail, │▏ not the exit code. │▏ - Files changed outside file tools come from the │▏ workspace snapshots taken before and after each │▏ turn, so they include anything that wrote to │▏ the workspace during the turn, not only │▏ Codewhale. They leave out what snapshots do not ┃▏ track: ignored and skipped paths (.gitignore ┃▏ entries, .env, node_modules, target, and the ┃▏ like) and anything outside the workspace. ┃▏ - Line counts: some file changes have no saved ┃▏ diff, so their +/- counts are not recorded. ┃▏ - Timestamps: a terminal session saves calls in ┃▏ order, not when each one ran. ┃╭──────────────────────────────────────────────────────╮│❯ Type a message… ││ [·] │╰──────────────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work (Tab) scripted-demo context 5%
Note Receipt: Add a --json flag to ls.py so ┃▏ the tests pass, t... ┃▏ ──────────────────────────────────────── ┃▏ ┃▏ session ┃▏ cb7d3cbd-c380-4a36-8db2-9fa5ed22027b · ┃▏ /home/dev/proj · scripted-demo · Ask ┃▏ ┃▏ Changed 1 file · ran 1 command · 1 ┃▏ approved by you · 1 ran without asking ┃▏ under Ask ┃▏ ┃▏ 1. wrote ls.py ┃▏ 2. ran python3 -m unittest -q · approved ┃▏ by you ┃▏ ┃▏ Not recorded: ┃▏ - Exit codes: calls that saved no ┃▏ structured result (terminal sessions) ┃▏ show pass or fail, not the exit code. ┃▏ - Files changed outside file tools come ┃▏ from the workspace snapshots taken ┃▏ before and after each turn, so they ┃▏ include anything that wrote to the ┃▏ workspace during the turn, not only ┃▏ Codewhale. They leave out what ┃▏ snapshots do not track: ignored and ┃▏ skipped paths (.gitignore entries, ┃▏ .env, node_modules, target, and the ┃▏ like) and anything outside the ┃▏ workspace. ┃▏ - Line counts: some file changes have no ┃▏ saved diff, so their +/- counts are not ┃▏ recorded. ┃▏ - Timestamps: a terminal session saves ┃▏ calls in order, not when each one ran. ┃╭──────────────────────────────────────────────╮│❯ Type a message… ││ [·] │╰──────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work scripted-demo context 5%
Cap aquí va el teu agent.
Codewhale s’està convertint en un únic entorn que abasta el teu terminal, una aplicació d’escriptori, el navegador i ordinadors al núvol, tot mogut per un sol motor, perquè la teva feina pugui passar de l’un a l’altre i continuar sent teva. Cada part de sota diu on es troba avui.
- Un sol motor
- Aplicació de terminal Publicat Instal·la-la a macOS, Linux o Windows i executa
codewhalea qualsevol repositori. - Client de navegador local Publicat Executa
codewhale webper llegir la conversa, enviar una tasca i respondre a les aprovacions al navegador; ve amb el terminal i no necessita cap compte. - Molts agents en una tasca Publicat Els subagents, les Fleets i els fluxos de treball permeten que diversos agents comparteixin una tasca, cadascun amb el seu rol.
- Aplicació d’escriptori En desenvolupament, sense descàrrega Estem construint una aplicació d’escriptori sobre el mateix motor, i encara no té cap descàrrega pública.
- Ordinadors al núvol Només per invitació Els ordinadors al núvol són només per invitació, i els estem construint perquè una sessió pugui continuar treballant en una màquina al núvol.
- Una sessió a través de tots En construcció Estem construint una sessió que t’acompanya del terminal a l’escriptori, al navegador i al núvol, i continua sent teva tot el camí.
Un sol motor
- Aplicació de terminalPublicatInstal·la-la a macOS, Linux o Windows i executa
codewhalea qualsevol repositori. - Client de navegador localPublicatExecuta
codewhale webper llegir la conversa, enviar una tasca i respondre a les aprovacions al navegador; ve amb el terminal i no necessita cap compte. - Molts agents en una tascaPublicatEls subagents, les Fleets i els fluxos de treball permeten que diversos agents comparteixin una tasca, cadascun amb el seu rol.
- Aplicació d’escriptoriEn desenvolupament, sense descàrregaEstem construint una aplicació d’escriptori sobre el mateix motor, i encara no té cap descàrrega pública.
- Ordinadors al núvolNomés per invitacióEls ordinadors al núvol són només per invitació, i els estem construint perquè una sessió pugui continuar treballant en una màquina al núvol.
- Una sessió a través de totsEn construccióEstem construint una sessió que t’acompanya del terminal a l’escriptori, al navegador i al núvol, i continua sent teva tot el camí.
Codewhale es construeix en obert per les persones que l’utilitzen.
Va començar com una eina de terminal de codi obert per a un sol model i es va convertir en un projecte que centenars de persones, en molts idiomes, construeixen juntes. Pots llegir-ne el codi, canviar-lo o demanar-li que s’expliqui.
433col·laboradors
20 comptes de GitHub han tingut pull requests fusionats en els darrers 30 dies. A data de 11 de nov. 2026
luochen211chore: remove unreferenced code and stale dead_code allows
SamhandsomeLeefeat: drive Responses behavior from a dialect profile
Lstarsky0fix(tui): attach every line range when one file is mentioned twice
zhuowpfeat(transport): allow an optional host policy on model HTTP clients
gaordfix(engine): stop reporting provider timeouts as "after 0ns"
asto18089feat(tasks): pause the task wall clock for answerable human waits
SparkofSpikefix(net): go direct when a local proxy disappears
Felixkw12feat(providers): add Opper as a bundled descriptor row
Fes teu el teu agent avui.
Instal·la Codewhale i executa’l en un repositori amb una clau de model que ja tinguis o un model al teu propi ordinador. No necessites cap compte, i codewhale update el manté al dia.
curl -fsSL https://codewhale.net/install.sh | sh
La versió 0.10.2 està publicada i no necessita cap compte.Llegeix el codi