Kip
Jobs, schedules and plugins
Jobs are ready-made pieces of work. Run them on a schedule, start them from a web form, or add new ones with a plugin.
A job is a piece of work Kip knows how to do: what to ask for, which actions it may use, and how to do it well. Kip ships with one general job, Ask Kip (id ask). More jobs come from plugins.
Schedules
Run a job on its own every so many minutes:
{ "schedules": [{ "job": "followups", "everyMinutes": 1440, "input": {} }] }Kip checks schedules once a minute. Scheduled work is background work: it may read and draft, but anything that goes outside asks a person (unless policy.backgroundMaySend is on), and only the job's standing instruction counts as the owner's words.
Webhooks
Let a web form or another system start a job. Give the job a secret token:
{ "webhooks": { "ask": "a-long-random-token-of-24-characters-or-more" } }Then POST /hooks/{job}/{token} with JSON or a form. See JSON API and webhooks. Whatever is posted is treated as outside information, never as instructions.
Plugins
A plugin is a JavaScript or TypeScript module that exports jobs, tools or both. List it under plugins, by file path or package name:
{ "plugins": ["./my-jobs/index.ts", "@acme/kip-jobs"] }Kip prints each plugin and how many jobs and tools it added when it starts.
A job
import type { Job } from "@quietrobot/kip-core";
export const jobs: Job[] = [{
id: "price-check",
name: "Price check",
description: "Look up what we charge for a service.",
route: "auto", // cloud, local, or auto (cloud unless the data rules say otherwise)
tools: ["search_documents", "read_document", "calculate"],
inputs: [{ name: "service", label: "Which service?", type: "text", required: true }],
instructions: "Find the current price sheet. Quote the exact line you used.",
ownerRequest: (i) => `What do we charge for ${i.service}?`,
}];ownerRequest turns the form into the owner's own request: these are the words that can grant permission. tools limits the actions the job may use; "crm__*" matches every action from the crm integration. For scheduled or webhook jobs, standing is the standing instruction the owner agreed to when turning the job on.
A tool
A tool has a spec (name, description, input schema), a risk level, a describe function that writes the one-line approval card, and a run function. See packages/core/src/tools/types.ts and the built-in tools in packages/core/src/tools/builtin.ts.
Quiet Robot's ready-made jobs (quotes, new inquiries, follow-ups, answers from documents) are a plugin that comes with our setup service.