Hark
Hark is an extensible AI agent that works from your terminal. Give it a goal and a working folder, and it can inspect files, run commands, edit content, and work through multi-step tasks.
Use Hark for software development, research notes, writing projects, data files, or hobby work. You can use Hark as is, prompt it to adapt itself to your workflow, or build other applications powered by Hark using the SDK.
Start using Hark
New to Hark? Follow the Quickstart to install Hark, connect a model, and complete your first task.
If Hark is already installed, choose what you want to do:
- Use Hark interactively to add files, run commands, direct ongoing work, and export results.
- Choose a model or connect a subscription, API key, local model, or compatible endpoint.
- Continue or branch a session to resume work or explore another approach without losing history.
- Configure Hark for your preferences, working folders, instructions, and reusable resources.
- Understand how Hark works, including tools, context, sessions, and the agent loop.
Customize Hark
Hark can reuse prompts, load specialized instructions, add executable integrations, change its terminal interface, connect model services, and distribute these resources as packages. Use the Quickstart customization chooser to select the smallest mechanism that meets your need.
Automate or embed Hark
- Use print mode for one-off and scripted tasks.
- Use JSON event stream mode to consume structured events from one run.
- Use RPC mode to control a separate Hark process.
- Use the TypeScript SDK to run Hark inside an application.
Find reference and setup information
Use the reference pages to look up CLI options, settings, providers, keybindings, and environment variables.
For platform-specific help, see Terminal Setup, Windows, tmux, Termux on Android, or Containerization.
Work safely
Hark’s tools and extensions run with the permissions of the Hark process. Project trust controls which project resources Hark loads, but it does not sandbox tool calls. Review Security before using untrusted files, repositories, extensions, or unattended automation.