Agent & CLI Time Entries

Time entries created by agents and the CLI work exactly like manual entries — with two additional fields that provide context about their origin.

The source Field

Every time entry has a source field indicating how it was created:

  • web — created in the Keito web app
  • cli — created via the Keito CLI
  • api — created via a direct API call
  • agent — created by an AI agent

This field is set automatically. You cannot change it after creation.

The metadata Field

Agent and API entries can include a metadata JSON object with contextual information:

FieldDescriptionExample
agent_idIdentifier for the agentreview-bot-01
agent_typeAgent platformclaude-code
session_idUnique session identifier550e8400-e29b-...
modelLLM model usedclaude-opus-4-6

Metadata is visible in the entry detail view and can be used for filtering in reports.

Visual Indicators

Agent entries display a violet “Agent” badge. CLI entries display an amber “CLI” badge. These badges appear in:

  • Day view
  • Week view
  • Expenses list
  • Entry detail view

Approving Agent Time

Agent entries follow the same approval workflow as human entries. When reviewing timesheets, you can:

  1. Filter by source to review only agent entries.
  2. Check the metadata to understand what the agent did.
  3. Approve, reject, or edit as needed.