Skip to content

Commit 155d3e6

Browse files
authored
Merge pull request #1027 from dgageot/demo-vhs
Record a new demo
2 parents 264e49e + 89b7d5f commit 155d3e6

4 files changed

Lines changed: 35 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
> agents with specialized capabilities and tools, and the interactions between
55
> agents.
66
7-
![cagent in action](docs/assets/cagent-run.gif)
7+
![cagent in action](docs/demo.gif)
88

99
## ✨ What is `cagent`? ✨
1010

Taskfile.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,7 @@ tasks:
9292
vars: { AGENT: 'gopher' }
9393
- task: push-agent
9494
vars: { AGENT: 'mem' }
95+
96+
record-demo:
97+
desc: Record demo gif
98+
cmd: vhs ./docs/demo.tape

docs/demo.gif

12.3 MB
Loading

docs/demo.tape

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Requires https://github.com/rumpl/vhs/tree/screen-settled
2+
# and brew install ffmpeg ttyd
3+
4+
Output docs/demo.gif
5+
6+
Require cagent
7+
8+
Set Shell "zsh"
9+
Set FontSize 24
10+
Set Width 1800
11+
Set Height 1000
12+
Set PlaybackSpeed 2
13+
Set Padding 0
14+
15+
Type "cagent run ./examples/gopher.yaml" Sleep 3s Enter
16+
Sleep 1s
17+
18+
Type "Run my non e2e tests and show me a table of the top 10 slowest." Sleep 1s Enter
19+
20+
Wait+Screen /allow this tool call/
21+
Sleep 1s
22+
Type "A"
23+
24+
Sleep 1s WaitScreenSettled 1s Sleep 1s
25+
26+
Type "Now, look at the slowest test and optimize it." Sleep 1s Enter
27+
28+
Sleep 1s WaitScreenSettled 1s Sleep 1s
29+
30+
Sleep 20s

0 commit comments

Comments
 (0)