kijk

See what agents changed. Anywhere.

kijk is an agent-native code viewer. It lists the Claude Code and Codex agents on this computer and on remote machines. Pick one to see its files, its diff and its git state.

Install
curl -fsSL https://kijk.dev/install.sh | shirm https://kijk.dev/install.ps1 | iex

In PowerShell. No administrator rights needed.

Or with Go:
go install github.com/kijk-dev/kijk@latest

Works with Claude Code and Codex. Pi is planned.

refresh.go
internal/auth/refresh.go+17−7
@@ -18,14 +18,29 @@ func (r *Refresher) Run(ctx context.Context) error {
1818 ticker := time.NewTicker(r.every)
1919 defer ticker.Stop()
2020 for {
2121 select {
2222 case <-ctx.Done():
2323 return ctx.Err()
2424 case <-ticker.C:
25 tok, err := r.store.Current()
26 if err != nil {
27 return err
28 }
29 if time.Until(tok.Expiry) < r.margin {
30 r.refresh(ctx, tok)
31 }
25 if err := r.refreshIfDue(ctx); err != nil {
26 r.log.Warn("token refresh failed", "err", err)
27 r.metrics.RefreshFailed.Inc()
28 }
3229 }
3330 }
3431}
32
33// refreshIfDue holds the lock, so two ticks never refresh the same token.
34func (r *Refresher) refreshIfDue(ctx context.Context) error {
35 r.mu.Lock()
36 defer r.mu.Unlock()
37 tok, err := r.store.Current()
38 if err != nil {
39 return fmt.Errorf("read token: %w", err)
40 }
41 if r.clock.Until(tok.Expiry) >= r.margin {
42 return nil
43 }
44 return r.refresh(ctx, tok)
45}
kijk

Every agent in one list.

kijk finds the Claude Code and Codex agents that run on your machine. You never open a project by hand. The newest work comes to the top. Rows appear, change and go as agents start, work and stop.

  • Agents in the same folder share one row, also a Claude Code and a Codex agent.
  • An agent in a git worktree gets its own.
  • Ctrl+Alt+1 to 9 opens the first nine.

Review every change.

Files open read-only, with syntax colours. The diff shows what changed, with line counts like+40 −12. Markdown shows rendered, with a bar beside each changed block.

When an agent writes to the open file, kijk reloads it and keeps your place.

  • Big files scroll smoothly. kijk draws only the lines on the screen.
  • One click previews a file in a tab. A double click keeps it open.

Know where the branch stands.

The branch graph puts the agent's branch next to main and the pull request target, from the commit where they split.

See what the agent committed, what is not pushed yet, and whether main moved on.

  • this branch, main. A pull request to another branch adds its own line.
  • Click a commit to see the files it changed.
feat/vat↑1
›Branch graph
  • feat/vatRound VAT per line6m agoNot pushed yet
    • Minvoice.tssrc+6−2
    • Around.tssrc/tax+14−0
The branch graph, in the Git tab. Click a commit to see its files.

Send it, safely.

Stage, commit, push and fetch from the Git tab. There is no discard, checkout, pull or stash, so a click cannot destroy an agent's work.

kijk runs your own git, so your config, credentials and hooks apply. With gh or glab, you also see the pull request of the branch, its checks and its review. kijk never stores a token.

feat/vat+18−2↑1
#57Add VAT to invoicesChecks passedApproved

Changes 2

Minvoice.tssrc+9−1
Mrates.tssrc/tax+4−1
Push after commitCommit
The Git tab. On a wide screen, try it on a demo agent above.

Add a machine to see its agents.

Some agents run on a VM or a box without a screen. Add the machine once, with an alias from your SSH config or user@host. Its agents join the same list, under their own header.

Read their files and diffs. Stage, commit, push and fetch there. kijk uses your own ssh, keys and known hosts, and copies itself to the machine when needed.

Demo. In a terminal, kijk machine add devbox prints “Testing the login to devbox…” and then “Saved devbox. kijk installs its own copy there when needed, and an open kijk window shows its agents within a few seconds.” The kijk window then shows the agents under two headers, Local and devbox, with the first devbox agent open on its changes.

Open a folder or a pull request.

kijk is also a light viewer for folders you pick. kijk ~/code/docs adds the folder to the Folders list. The bar on the left switches between Agents and Folders, and the open folder stays open.

Give kijk a pull request link and it finds a clone on this machine. With none, it clones the repo with your own gh or glab, adds it to Folders and opens the pull request.

  • Ctrl+Alt+0 switches lists. While Folders shows, a dot on Agents says an agent is busy or done.
  • It clones only from github.com, gitlab.com, or a host gh or glab is logged in to. kijk stores no token.
Demo. In a terminal, kijk https://github.com/acme/billing/pull/12 finds no clone of the repo, clones it with gh and prints “Added billing and opened #12. It is open in the kijk window.” The kijk window switches to the Folders list, shows billing at the end, and opens pull request #12 on its overview.

Your IntelliJ keys.

kijk uses the IntelliJ default keys, so your hands already know it. Every common action works without the mouse.

Some keys belong to the browser in a normal tab. For those, kijk has a second key, and the tooltip shows the one that works in your window.

kijk · keys
Keyboard shortcuts
Agents or Folders⌃⌥0Ctrl+Alt+0
Open row 1 to 9⌃⌥1 … ⌃⌥9Ctrl+Alt+1 … 9
Go to file⇧⌘OCtrl+Shift+N
Recent files⌘ECtrl+E
Find in file⌘FCtrl+F
Next and previous match⌘G ⇧⌘GF3 Shift+F3
Go to line⌘LCtrl+G
Next and previous changeF7 ⇧F7F7 Shift+F7
Back and forward⌘[ ⌘]Ctrl+Alt+← →
Files tab⌘1Alt+1
Git tab⌘0Alt+0
PRs tab⌘2Alt+2
Commit⌘KCtrl+K
Push⇧⌘KCtrl+Shift+K
Close tab⌘WCtrl+F4

Install kijk in one line.

Then run kijk, and your agents are in the list. Or kijk ~/code/api for just a folder.

Install
curl -fsSL https://kijk.dev/install.sh | shirm https://kijk.dev/install.ps1 | iex

In PowerShell. No administrator rights needed.