Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
> agents with specialized capabilities and tools, and the interactions between
> agents.

![cagent in action](docs/assets/cagent-run.gif)
![cagent in action](docs/demo.gif)

## ✨ What is `cagent`? ✨

Expand Down
4 changes: 4 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@ tasks:
vars: { AGENT: 'gopher' }
- task: push-agent
vars: { AGENT: 'mem' }

record-demo:
desc: Record demo gif
cmd: vhs ./docs/demo.tape
Binary file added docs/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions docs/demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Requires https://github.com/rumpl/vhs/tree/screen-settled
# and brew install ffmpeg ttyd

Output docs/demo.gif

Require cagent

Set Shell "zsh"
Set FontSize 24
Set Width 1800
Set Height 1000
Set PlaybackSpeed 2
Set Padding 0

Type "cagent run ./examples/gopher.yaml" Sleep 3s Enter
Sleep 1s

Type "Run my non e2e tests and show me a table of the top 10 slowest." Sleep 1s Enter

Wait+Screen /allow this tool call/
Sleep 1s
Type "A"

Sleep 1s WaitScreenSettled 1s Sleep 1s

Type "Now, look at the slowest test and optimize it." Sleep 1s Enter

Sleep 1s WaitScreenSettled 1s Sleep 1s

Sleep 20s