Skip to main content
Kliff

Overview

What an agent is, what its computer holds, and how a turn runs from your message to its reply.

An agent is a conversation with a coding model that has its own computer. You give it a task, it works on your repositories on that computer, and it replies when it is done. The computer and its files stay with the agent, so your next message picks up where the last one left off, even days later.

What an agent works on

When you start an agent, you choose what it Works on:

  • Repositories: up to 10, from GitHub, GitLab, or Kliff's own hosting.
  • A project: the repositories in a project, along with the project's instructions and files.
  • No repository: the agent starts on an empty computer, which keeps the files it writes. Kliff creates no repository for it until you select Create repository on the agent's page.

The agent clones its repositories onto its computer on the first message, and runs each repository's setup script if its environment has one.

Turns

Each message you send starts a turn. During a turn the agent reads files, runs commands, edits code, and calls tools, and its steps stream into the thread as it goes. The turn ends when the agent replies.

A turn has no time limit. It ends early when:

  • You stop it.
  • It uses the credits set aside for it, or your organization runs out of credits.
  • The agent stops reporting for 10 minutes. The thread then says Kliff lost track of the agent.

The thread says why a turn ended. Send another message to continue.

What an agent can do

On its computer, an agent can:

  • Read, search, and edit files, and run shell commands in its repositories.
  • Read git history and commit its work. Kliff does the pushing for it.
  • Read pull requests, issues, and CI checks, comment on a pull request, and open a draft pull request. It cannot merge, approve, or close anything. See Pull requests.
  • Read public web pages.
  • Save notes for later agents with memory.
  • Make docs and pages in Artifacts.
  • Use the tools of the connectors you allowed.
  • Ask to be woken later in the same thread, or set up a scheduled automation. Both wait for a person to approve them first.

What it may do without asking depends on the thread's permission mode and your organization's rules.

Statuses

StatusMeaning
ReadyThe agent is waiting for your next message.
WorkingThe agent is on a turn.
AsleepThe computer went to sleep after 10 minutes with nothing to do.
Needs youThe agent finished a turn you have not opened yet.
In reviewA pull request or merge request the agent opened is still open.

The sidebar also marks an agent Failed when its last turn failed. Sending a message to an asleep agent wakes its computer. See Computers for what survives sleep.

Who can see an agent

A new agent is Personal: only you can see it. Its creator can change it to Organization so everyone in the organization can open it and send it messages. See Sharing.