Skip to content

GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.

Notifications You must be signed in to change notification settings

TayDa64/copilot-Liku-cli

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

105 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GitHub Copilot CLI: Liku Edition (Public Preview)

npm version Node.js License: MIT

The power of GitHub Copilot, now with visual-spatial awareness and advanced automation.

GitHub Copilot-Liku CLI brings AI-powered coding assistance and UI automation directly to your terminal. This "Liku Edition" extends the standard Copilot experience with an ultra-thin Electron overlay, allowing the agent to "see" and interact with your screen through a coordinated grid system and native UI automation.

See our official documentation or the Liku Architecture for more information.

Image of the splash screen for the Copilot CLI

๐Ÿš€ Introduction and Overview

We're bringing the power of GitHub Copilot coding agent directly to your terminal, enhanced with Liku's visual awareness. Work locally and synchronously with an AI collaborator that understands your code AND your UI state.

  • Unified Intelligence: Combines terminal-native development with visual-spatial awareness.
  • Ultra-Thin Overlay: A transparent Electron layer for high-performance UI element detection and interaction.
  • Multi-Agent Orchestration: A sophisticated Supervisor-Builder-Verifier pattern for complex, multi-step task execution.
  • Liku CLI Suite: A comprehensive set of automation tools (click, find, type, keys, screenshot) available from any shell.
  • Defensive AI Architecture: Engineered for minimal footprint ($<300$MB memory) and zero-intrusion workflows.

๐Ÿ› ๏ธ The Liku CLI (liku)

The liku command is your entry point for visual interaction and automation. It can be used alongside the standard copilot command.

Launching the Agent

liku start
# or simply
liku

This launches the Electron-based visual agent including the chat interface and the transparent overlay.

Automation Commands

Command Usage Description
click liku click "Submit" --double Click UI element by text or coordinates.
find liku find "Save" --type Button Locate elements using native UI Automation / OCR.
type liku type "Hello World" Input string at the current cursor position.
keys liku keys ctrl+s Send complex keyboard combinations.
window liku window "VS Code" Focus a specific application window.
screenshot liku screenshot Capture the current screen state for analysis.
repl liku repl Launch an interactive automation shell.

Power User Examples

  • Chained Automation: liku window "Notepad" && liku type "Done!" && liku keys ctrl+s
  • Coordinate Precision: liku click 500,300 --right
  • JSON Processing: liku find "*" --json | jq '.[0].name'

๐Ÿ‘๏ธ Visual Awareness & Grid System

Liku perceives your workspace through a dual-mode interaction layer.

  • Passive Mode: Fully click-through, remaining dormant until needed.
  • Dot-Grid Targeting: When the agent needs to target a specific point, it generates a coordinate grid (Coarse ~100px or Fine ~25px) using alphanumeric labels (e.g., A1, C3.21).
  • Live UI Inspection: Uses native accessibility trees (Windows UI Automation) to highlight and "lock onto" buttons, menus, and text fields in real-time.

Global Shortcuts (Overlay)

  • Ctrl+Alt+Space: Toggle the Chat Interface.
  • Ctrl+Alt+F: Toggle Fine Grid (Precise targeting).
  • Ctrl+Alt+I: Toggle Inspect Mode (UI Element highlighting).
  • Ctrl+Shift+O: Toggle Overlay Visibility.

๐Ÿค– Multi-Agent System

The Liku Edition moves beyond single-turn responses with a specialized team of agents:

  • Supervisor: Task planning and decomposition.
  • Builder: Code implementation and file modifications.
  • Verifier: Phased validation and automated testing.
  • Researcher: Workspace context gathering and info retrieval.

Chat Slash Commands

  • /orchestrate <task>: Start full multi-agent workflow.
  • /research <query>: Execute deep workspace/web research.
  • /build <spec>: Generate implementation from a spec.
  • /verify <target>: Run validation checks on a feature or UI.
  • /agentic: Toggle Autonomous Mode (Allow AI actions without manual confirmation).

๐Ÿ“ฆ Getting Started

Prerequisites

  • Node.js v22 or higher
  • npm v10 or higher
  • (On Windows) PowerShell v6 or higher
  • An active Copilot subscription.

Installation

Global Installation (Recommended for Users)

Install globally from npm:

npm install -g copilot-liku-cli

This will make the liku command available globally from any directory.

To verify installation:

liku --version

To update to the latest version:

npm update -g copilot-liku-cli

Local Development Installation

To install the Liku Edition for local development and contributing:

git clone https://github.com/TayDa64/copilot-Liku-cli
cd copilot-Liku-cli
npm install
npm link

This will make the liku command available globally, linked to your local development copy.

Note for contributors: Use npm link during development so changes are immediately reflected without reinstalling.

Authenticate

If you're not logged in, launch the agent and use the /login slash command, or set a personal access token (PAT):

  1. Visit GitHub PAT Settings
  2. Enable "Copilot Requests" permission.
  3. Export GH_TOKEN or GITHUB_TOKEN in your environment.

๐Ÿ› ๏ธ Technical Architecture

GitHub Copilot-Liku CLI is built on a "Defensive AI" architectureโ€”a design philosophy focused on minimal footprint, secure execution, and zero-intrusion workflows.

Performance Benchmarks

Engineered for performance and stability, the system hits the following metrics:

  • Memory Footprint: $< 300$MB steady-state (~150MB baseline).
  • CPU Usage: $&lt; 0.5%$ idle; $&lt; 2%$ in selection mode.
  • Startup Latency: $&lt; 3$ seconds from launch to functional state.

Security & Isolation

  • Hardened Electron Environment: Uses contextIsolation and sandbox modes to prevent prototype pollution.
  • Content Security Policy (CSP): Strict headers to disable unauthorized external resources.
  • Isolated Preload Bridges: Secure IPC routing where renderers only have access to necessary system APIs.

๐Ÿšง Overlay Development

See docs/inspect-overlay-plan.md for the inspect overlay plan and acceptance criteria.

๐Ÿ“š Documentation

๐Ÿ“ข Feedback and Participation

We're excited to have you join us early in the Copilot CLI journey.

This is an early-stage preview, and we're building quickly. Expect frequent updates--please keep your client up to date for the latest features and fixes!

Your insights are invaluable! Open issue in this repo, join Discussions, and run /feedback from the CLI to submit a confidential feedback survey!

About

GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.0%
  • HTML 5.0%
  • Other 2.0%