Projects

Create and update projects, and read Klarity's computed status and forecast.

Use this when the user groups work into projects or asks "where does project X stand" or "when will it be done".

Find and read

  • list_projects filters by status (active, on_hold, completed, archived), organization_id, or search by name.
  • get_project returns one project with its client.
  • list_tasks with project_id lists its tasks.

Status and forecast

get_project_status returns where a project stands, computed by Klarity: the outcome, the next action and its planned slot, a forecast (plan_eta from the last planned block; p50 and p85 finish dates from the user's own estimate history and free capacity), hours spent and planned against the appetite, amounts when billable, burn against progress on fixed-fee work, and the effect of starting it on other projects.

Quote these numbers and their inputs. Do not adjust them or make up your own forecast. When thin_history is true, say the forecast uses a default because there is little history. Name the unestimated tasks it reports and suggest estimating them.

Create and update

  • create_project needs a name. Optional: description, status, priority, color (hex), organization_id, due_date.
  • update_project changes only the fields you send; null clears the client or due date. is_personal: true hides it from everyone but the user.
  • Add work with create_task and project_id, each with an estimate, so the forecast has something to plan.

Pitfalls

  • A project's due date does not schedule anything; the tasks do. If the forecast lands after the due date, offer the planning fixes from the planning guide.
  • Completing a project does not close its tasks. Ask before closing them in bulk.
More agent guides

All docs →