Skip to content
المشاريع

حول

An extensible, native terminal workbench for macOS and Linux. Your shell. Your instruments.

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
جارٍ جمع السجل
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Kajo — an open terminal workbench. The Speaking Machine above a red cursor block. Computing as a craft.

Kajo

Your shell. Your instruments.

A native terminal for macOS and Linux that stays out of your way until a tool has something to show you. The shell keeps the keyboard. What your tools produce — a JSON result, a commit, a Git history — opens in a native view beside it, and focus stays where you were typing. Local only: no account, no daemon, no cloud. Agents are welcome, never required.

Install · Try it · What it does · Instruments · Agents · Philosophy · Contributing

Kajo on macOS: git log in the shell on the left, Kajo's native Git Graph of the same repository on the right, in the Kajo Ink theme.

A demo repository: git log in the shell, Kajo’s Git Graph of the same history beside it. Kajo Ink theme on macOS.

Try it in one minute

  1. Install Kajo and open it from your app launcher, or run kajo open.

  2. Click Commands (⌘K on macOS, Ctrl+Shift+K on Linux). Try Split Terminal for two shells, Git Graph for a repository, or Terminal Settings to preview a new theme. Press Esc to get back to your shell.

  3. Give the shell something to show beside it. Paste this into Kajo's shell:

    printf '%s\n' '{"instruments":["shell","inspector"],"ready":true}' | kajo view json
    

    A native JSON pane opens and your shell keeps the keyboard. No repository, agent or account is needed for this example.

macOS Linux
Everything, searchable ⌘K Ctrl+Shift+K
New tab · split ⌘T · ⌘D Ctrl+Shift+T · Ctrl+Shift+D
Find in scrollback ⌘F Ctrl+Shift+F
Jump to what needs you ⌘⇧N Ctrl+Shift+N
Back to the shell Esc Esc

The rest is in the palette, and in all shortcuts.

What it does

  • A terminal first. Native SwiftTerm on macOS and VTE on Linux. Tabs and splits are independent shells that start where you are. Font, size, cursor and theme preview live on open panes, and find searches scrollback. Workspaces jumps between live shells and reopens saved layouts.
  • Instruments beside the shell. kajo view json, kajo inspect commit and kajo inspect path open native views without moving focus. Plugins are ordinary executables that answer from the palette.
  • Git that knows where you work. Git Graph follows the focused shell and shows every branch and worktree, in colour, so an agent's worktree is on the same graph as yours. Outside a checkout it stays open as Projects: open a graph or review a different checkout without moving the shell.
  • Return. What tools published while you were away, your notes, requests that need you, and Git changes since your last checkpoint. Nothing is guessed from terminal output. More
  • Instant. The palette floats over the terminal, and so does Workspaces on macOS; on Linux, Workspaces opens as a dialog. ⌘K reaches a focused search field in about 30 ms, down from about 330 ms with the old sheet (M4 Pro, measurements).
  • Yours. Kajo Ink, Kajo Paper, Neutral Dark, or your own colours; the whole window follows the terminal. Configure
Kajo Paper theme: the same shell and Git Graph on a cream ground with ink type. The command palette floating over two terminal panes, filtered to Git Graph commands.
Kajo Paper. The same scene, printed. The palette floats over the terminal and is ready to type in.

Screens are real Kajo windows with disposable demo repositories.

Install

On macOS 14 or later with Apple silicon:

brew install --cask yairfalse/kajo/kajo

If Homebrew refuses the untrusted tap, brew trust --cask yairfalse/kajo/kajo trusts Kajo's cask alone; then install again.

Kajo is not notarized yet, so macOS blocks the app and its kajo commands the first time. Clear the download flag on both:

xattr -dr com.apple.quarantine "/Applications/Kajo.app" "$(brew --prefix)/Caskroom/kajo"

If you install apps elsewhere with --appdir, use that folder instead of /Applications. Or choose Open Anyway in System Settings > Privacy & Security when macOS asks. Never choose Move to Trash: it deletes the command.

On Ubuntu 24.04 (arm64), install the .deb from the latest release; other Linux systems can use its archive. Install and remove Kajo lists every download.

Or build from source. From the checkout, make run builds and launches Kajo. To install a local copy, use make install or create an archive for your OS and CPU with make package. Both include the standalone kajo CLI. You do not need Ghostty installed.

To try the CLI before installing, use ./.build/kajo from the checkout or its absolute path from another directory.

  • macOS 14 or later: Extract the archive. Move Kajo.app into ~/Applications and put kajo on your PATH, for example in ~/.local/bin. Drag Kajo.app to the Dock to keep it there, or type kajo in a shell. The bundle is ad hoc signed, not notarized.
  • Linux: Install GTK 4 and VTE GTK 4 (0.76 or later). On Ubuntu 24.04 the VTE runtime package is libvte-2.91-gtk4-0; on Fedora it is vte291-gtk4. Extract the archive under ~/.local and launch Kajo from your application menu or type kajo in a shell. Keep ~/.local/bin on the desktop session's PATH for the menu entry.

Git is required for worktree registration and commit inspection. Path metadata and JSON inspection do not require it.

Fedora and Ubuntu package repositories, and packages for x86_64, come later.

Instruments & plugins

Publish from the shell

kajo view json reads standard input. Any program that writes JSON can use it without registering a plugin. From a Git checkout, you can also publish a commit or a file reference:

kajo inspect commit "$(git rev-parse --short HEAD)" "$PWD"
kajo inspect path README.md "$PWD"

A valid result updates the inspector without moving keyboard focus. If a plugin view such as Git, Workshop or Return is open in the macOS sidebar, the result waits. Invalid requests leave the current view alone. To preview a file at a compiler location, select a reference such as src/lib.rs:42:7 in a worktree pane and choose Open File Reference.

To hand a check's diagnostic and source line to someone using the same Kajo profile, save it as a result and share the reference. Reopening it shows the saved excerpt, not the current version of the file.

Register a command

Turn a command you already use into a palette action:

kajo plugin add short-status "Short Git Status" --worktree -- /usr/bin/git status --short

From a worktree tab, open Plugins and choose Short Git Status. Kajo runs the executable in that checkout and displays its text output. You can also use Plugins → Add Command… to enter the executable and arguments. Registering a command does not run it.

For a structured instrument, write an independent executable that speaks the JSON plugin protocol used by bundled Git. It returns text and a native list of rows with explicit follow-up actions; a row can carry a graph cell and marks, short words such as proven drawn in the theme's colours (the standard). Try it with kajo plugin run manifest.json, which runs it as Kajo would and registers nothing, then use Plugins → Import Manifest… to review and register it. Write an instrument walks through it; the bundled Workflow plugin is a complete one. Every plugin, Git and Workflow included, follows one standard: any tool connects with a manifest file.

See a bundled instrument: Git

Git Graph follows the focused local shell, including after you cd into another checkout. It shows every local branch and every worktree, so you see where work is happening, in the terminal's own colours, with your HEAD selected; select a commit and press Enter to open its details. It also switches when you focus a different shell, without taking the keyboard.

Outside a checkout (for example, in ~/projects), Git Graph stays open as Projects. Find a repository by name, branch, or path. Open its graph, or choose Review for its staged, unstaged, conflicted, and untracked paths. Neither action changes the directory of your shell. Repositories with saved attention or live Kajo agents appear first. Use Projects to return to the list, Pin to keep a checkout visible when you move the shell, or Follow Shell to start following again.

Stage and unstage operate on one file after confirmation. Kajo does not fetch, commit, or push from the workbench.

Agent workflows

Run an agent in a regular shell, or choose Start Agent from a worktree tab to review the checkout and launch Codex or Claude Code through Toimija. Launching this way requires Toimija and the selected agent on Kajo’s PATH. Agent Sessions shows the sessions Toimija reports for your open and registered worktrees, including those in the clone's other worktrees and those started outside any repository whose scope names it. When Toimija says its coverage is partial, so does Kajo. Kajo does not infer agent state from terminal output.

A tool in a Kajo shell can call kajo attention 'Review ready' without stealing focus. Next Attention jumps to the tab when you ask.

The bundled Workflow plugin adds a command for each of these tools it finds. Toimija: Work, pinned beside Git Graph, shows where the work is: every branch in progress against the remote's default branch, drawn as a graph of their tips, each with who is working there, its proof, its review, and needs you where a person's approval is asked; it opens on the branch you are on. Toimija: Sessions (who works in this repository), Sykli: Proof Status (each branch's proof and review), Sykli: Proof for Selected Commit (what Sykli keeps for the hash selected in the terminal), with Review Findings for any branch's kept review, by severity, Ohjaa: Knowledge (accepted knowledge by kind, and what waits for your decision), Ohjaa: Briefing, Vessa: Digest (who is live, the open pull requests, each session's measured tokens, from Vessa's last snapshot, whose age it says; Kajo never refreshes it) and Vessa: Token Usage (recorded usage by UTC day). It looks on Kajo’s PATH, then in ~/.local/bin, ~/.cargo/bin, /opt/homebrew/bin and /usr/local/bin. When a tool says its report is partial, so does the view. A tool that is not installed adds no command: you can use the shell and its instruments without any False Systems integration; kajo plugin disable kajo.workflow switches it off.

Philosophy

Unix tools compose because they can exchange data without owning the program that consumes it. Kajo brings that idea to the interface: a tool can publish a result to a running workbench or answer a request from the palette. The tool produces data; Kajo presents it; you decide what happens next.

Plan 9 and Acme showed what a coherent working environment can offer without absorbing every tool into one program. Emacs treats extensibility as a property of the environment itself. Kajo follows those ideas while keeping the live shell as the place you work. A checkout is context for a command, not permission to run it.

Architecture

Native Kajo connects a terminal to a local shell and worktree. The CLI sends inspections to the Rust core over a Unix socket; the core provides the native inspector model.

The macOS app is Swift with SwiftTerm; the Linux app is Rust with GTK 4 and VTE GTK 4. Both use the Rust core for local workspace data and inspector requests. The CLI uses an authenticated Unix socket to publish to the running app. Plugins run as separate processes.

Kajo has no account, network listener, daemon, or terminal recording. It owns the local PTYs it opens. Closing the app does not detach those shells, and restoring a workspace does not restart commands.

Contributing

Use the Rust toolchain pinned in rust-toolchain.toml. macOS needs Apple Command Line Tools with Swift 6.2 or later. Linux needs pkg-config and the GTK 4 and VTE GTK 4 development packages: libgtk-4-dev and libvte-2.91-gtk4-dev on Ubuntu 24.04; gtk4-devel and vte291-gtk4-devel on Fedora.

make build        # Native app and CLI under .build/
make run          # Launch Kajo
make cli          # Standalone CLI without Swift or GTK
make package      # Archive the current target OS and architecture
make test         # Rust core, plugin and contract tests; on macOS also
                  # the Swift bridge harness and a type-check of every Swift file
make test-desktop # Run in a graphical session
make probe-views  # Check the bundled overview views and save demo images
                  # to .build/views/ (macOS; personal views are opt-in)

Use make test-terminal on macOS. On Linux, use xvfb-run -a make test-terminal with Xvfb, xdotool, zsh, and Vim. The Linux probe exercises X11, not Wayland. See the contributor guide, terminal notes, and visual design guide.

Kajo is under active development and available under the MIT licence. The founding directive records the longer design, including ideas that do not ship today.

Computing as a craft. A False Systems project.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…