Skip to Content
User GuidePluginsAPI Reference

Agent package manifest

Every key an agent package's manifest takes, what each one does, and the lists its values come from.

An agent package is a plugin whose plugin.json has an agent key, with schema set to taiku.agent.v1. taiku checks that key when the package is installed. A problem refuses the install and names its key and one of the codes at the end of this page. Each key below says what it does. Where taiku checks a key but doesn't act on it yet, its row says so.

Keys

KeyTakesDoes
schemataiku.agent.v1Names this version of the manifest. Required; any other value is refused.
agentType1 to 32 lowercase letters, digits or dashes, not systemThe agent's role. Turning the package on makes one agent of this type in each place, and other packages' lists name the agent by it. A built-in's role names that built-in only, never another package declaring it. Required.
name1 to 60 characters that don't spell taikuWhat the agent is called in the app, and in the line that says what woke a run. Required.
instancesaccount or projectWhere the agent runs: once for the account, or once in each project it is turned on in. Turning it on in the other kind of place is refused. Left out, it runs for the account.
prompta .md file in the package, at most 32 KiBThe agent's instructions, which each of its runs starts from. Required.
modelan objectHow its runs' model works. Which model it is, its owner chooses.
model.defaultnothingRefused: an agent's owner chooses its model, in the agent's settings. Leave it out.
model.by_triggernothingRefused: a run takes the one model its agent's owner chose. Leave it out.
model.effortlow, medium or highHow hard the model works on each turn, unless the owner has chosen.
model.user_overridetrueWhether the agent's owner may change its model. An owner always can, so false is refused. Leave it out.
placementan objectWhere its runs execute.
placement.defaultshared, box, lease or localWhere a new agent runs. Required in placement.
placement.fallbacka list of those places, none twice, not the default or in neverThe other places its owner may move it to.
placement.nevera list of those places, none twice, not the defaultPlaces its owner may never move it to.
inputsan objectWhat its runs take in.
inputs.modeisolatedEach run starts on its own, with nothing of another run's context. The one mode there is.
inputs.accepta list of user, events, tool_results and untrustedWhat a run takes in. With untrusted, the consent sheet lists every action its tools grant but ask.raise as asking the owner first while untrusted input is in the run. A run doesn't ask by that list yet.
inputs.mail_froma list of agentTypes, owner and agent:mineWhose mail wakes it. Mail from anyone else that links.receive lets in is delivered and waits for its next run. Left out, any mail it takes wakes it.
inputs.untrusteddataText a stranger wrote reaches a run marked as data, never as instructions. The one value.
triggersa list of at most 32What wakes it. Each trigger is exactly one of event, mail, ask_answered, invariant and schedule, and makes one job.
triggers[].eventa taiku event (Events, below)Wakes it when the event happens in its project. An event nothing on the server sees yet makes no job, and turning the agent on says which.
triggers[].branchesa list of at most 32 branch names; $default is the project's default branchOnly events on these branches: a pull request's base, a CI run's head.
triggers[].conclusionsa list of at most 32 CI conclusions, such as failureOnly CI results that ended this way.
triggers[].pathsan empty listRefused when it names a path: an event doesn't say which files changed, so nothing filters on them. Leave paths out.
triggers[].urgenttrue or falseAn urgent event starts its run at once, past the package's coalesce window.
triggers[].mailtrueWakes it on mail from another of the owner's agents, as inputs.mail_from and links.receive allow.
triggers[].ask_answeredtrueIs to wake it when one of its asks is answered. Nothing does yet, so this trigger makes no job, and turning the agent on says so.
triggers[].invariantnothingRefused: nothing sweeps for invariants yet, so none can wake an agent. Wake it with an event or a schedule.
triggers[].schedulea 5-field cron, at most every 5 minutesWakes it on that schedule.
triggers[].tzaccount, UTC or an IANA time zone, on a schedule onlyThe schedule's time zone. account is its owner's, read when the agent is turned on. Left out, UTC.
coalescean objectHow a burst of GitHub events becomes one run.
coalesce.window_s0 to 3600Seconds a wake waits for more before its run starts; that run reads every event that came in the meantime. Required in coalesce.
coalesce.keyrepoWhat shares a window: the agent's repository, since an agent has one job per repository. pr is refused. Required in coalesce.
coalesce.urgenta list of taiku eventsThese events start their run at once, as triggers[].urgent does.
toolsa list of at most 16, each connector onceWhat its runs can use (Connectors, below).
tools[].connectora connectorGrants the connector's own actions. Required in each tool.
tools[].scopesthat connector's scopesGrants each scope's actions. A package whose GitHub scopes write can't be turned on yet.
nevera list of actions, none of them a tool grantsWhat the agent may never do, shown on the consent sheet.
gatesa list of at most 32Conditions an action needs. Shown on the consent sheet; taiku doesn't check them yet, and no package whose tools write to GitHub can be turned on until it does.
gates[].actionan action a tool grantsThe action the gate is for. Required.
gates[].requirea list of at most 16 conditions, each naming exactly one predicateThe conditions, all of which are to hold.
gates[].require[].headtextShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].checkstextShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].verdictan objectShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].verdict.froman agentTypeShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].verdict.attextShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].verdict.ina list of textShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].nottextShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].classtextShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].evidence_quotes_added_linestrue or falseShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].evidence_attextShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].branch_prefixtextShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].paths_nottext or a list of textShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].attextShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].intext or a list of textShown on the consent sheet; taiku doesn't check it yet.
gates[].require[].iftext, at most 200 charactersShown on the consent sheet; taiku doesn't check it yet.
gates[].ratean objectShown on the consent sheet; taiku doesn't check it yet.
gates[].rate.maxa count, or a $scope. referenceShown on the consent sheet; taiku doesn't check it yet.
gates[].rate.pera taiku eventShown on the consent sheet; taiku doesn't check it yet.
approvalsan objectWhen an action is to ask the owner first. The consent sheet lists it and the agreement keeps it, but a run doesn't ask by it yet, so a package whose tools write to GitHub can't be turned on.
approvals.aska listActions that are to ask.
approvals.ask[].actionan action a tool grantsThe action that asks. Required.
approvals.ask[].whenfirst or alwaysWhether it is to ask the first time or every time. Required.
approvals.ask[].ttltext, at most 32 characters; the sheet words until_quitHow long an answer is to last.
approvals.when_tainteda list of actions tools grantActions that are to ask while untrusted input is in the run.
asksa list of at most 32, ids uniqueChecked at install; taiku doesn't act on it yet.
asks[].id1 to 32 lowercase letters, digits or dashesChecked at install; taiku doesn't act on it yet.
asks[].kindapproval or inputChecked at install; taiku doesn't act on it yet.
asks[].titleat most 120 characters, its {placeholders} from Ask placeholders, belowChecked at install; taiku doesn't act on it yet.
asks[].optionsa list of at most 4, each at most 40 charactersChecked at install; taiku doesn't act on it yet.
asks[].actionan action a tool grantsChecked at install; taiku doesn't act on it yet.
memoryan objectWhich memory its runs reach, each none, read or write.
memory.sessionnoneread and write are refused: taiku keeps no memory per conversation yet. Set it to none, and use memory.project or memory.account.
memory.projectnone, read or writeThe memory of the project a run works in, at /project.
memory.accountnone, read or writeThe account's memory, at /memories.
budgetsan object, each amount at most the account's own ceilingWhat its runs may spend. A run past a budget is stopped, and a day's budget stops new runs.
budgets.per_runan objectOne run's budget.
budgets.per_run.minutes0 to 120The longest a run goes.
budgets.per_run.usddollars, zero or moreThe most a run spends; its next model call past it is refused.
budgets.per_run.tokensa countThe most tokens a run uses.
budgets.per_dayan objectA day's budget for the package's agents together: its agents in different projects share it.
budgets.per_day.usddollars, zero or moreThe most they spend in a day; past it, none of them starts a new run.
budgets.per_day.runsa countThe most runs they start in a day, together.
budgets.per_repo_dayan objectOne agent's budget for a day in one repository.
budgets.per_repo_day.usddollars, zero or moreThe most it spends in a day in one repository.
budgets.on_exhaustedpause, ask or pause_and_askChecked at install; taiku doesn't act on it yet.
reportan objectChecked at install; taiku doesn't act on it yet.
report.toan agentType, owner, agent:mine or noneChecked at install; taiku doesn't act on it yet.
report.kindsa list of ask, urgent and digestChecked at install; taiku doesn't act on it yet.
report.urgenta list of at most 32 short snake_case namesChecked at install; taiku doesn't act on it yet.
report.digestan objectChecked at install; taiku doesn't act on it yet.
report.digest.everya count of minutes or hours, such as 30m or 1hChecked at install; taiku doesn't act on it yet.
report.digest.max_charsat most 4000Checked at install; taiku doesn't act on it yet.
report.digest.skip_if_unchangedtrue or falseChecked at install; taiku doesn't act on it yet.
linksan objectWhich of the owner's agents it mails, hears from, starts and is told about, shown on the consent sheet.
links.senda list of agentTypes, owner and agent:mineWho it may mail. A package with no list mails no one.
links.receivea list of agentTypes, owner, agent:mine and plugin:mineWhose mail it takes; plugin:mine lets the owner's plugins leave it a note.
links.spawnan objectSubagents it may start.
links.spawn.max0 to 10How many subagents a run may have going at once; one that ends frees its place, and 0 gives it no tool to start one.
links.observea list of agentTypes, owner and agent:mineWhich of the owner's other agents in its project a run is told of: those it names, agent:mine for all of them. A list that names any turns this on for its conversations; the owner can turn it off for each.
renderersa list, ids uniquePanels of this package drawn in the agent's tile.
renderers[].ida panel of this packageThe panel to draw.
renderers[].slotstackWhere it draws: the tile's stack.
renderers[].summaryat most 200 charactersChecked at install; taiku doesn't act on it yet.
renderers[].whenat most 200 charactersChecked at install; taiku doesn't act on it yet.
blocksa list of at most 8, ids uniqueCards the agent can show in its replies, listed on the consent sheet.
blocks[].id1 to 32 lowercase letters, digits or dashesWhat a run names the card by.
blocks[].filean .html file in the package, at most 512 KiBThe card, drawn in the reply with the data the run passes.
blocks[].title1 to 60 charactersThe card's header, unless the run gives its own.
blocks[].fallback1 to 200 charactersThe line shown where the card can't be, unless the run gives its own.
outputsa list of at most 32 short lowercase namesChecked at install; taiku doesn't act on it yet.
treatmentan objectChecked at install; taiku doesn't act on it yet.
treatment.tagat most 24 charactersChecked at install; taiku doesn't act on it yet.
treatment.styleat most 24 charactersChecked at install; taiku doesn't act on it yet.
statea list of states (States, below)Checked at install; taiku doesn't act on it yet.
suggestan objectWhen the app offers this agent, with a sentence and a recording. Read for taiku's own packages only.
suggest.signalat most 32 charactersThe usage the offer waits for.
suggest.thresholda numberHow much of the signal it waits for.
suggest.daysa numberOver how many days.
suggest.toastat most 80 charactersThe offer's sentence. Without it, nothing is offered.
suggest.videoan https:// address, at most 300 charactersThe recording Learn more plays.
suggest.posteran https:// address, at most 300 charactersThe picture shown until it plays.
suggest.phonean objectThe take a phone plays instead, on a screen under 700 pixels wide.
suggest.phone.videoan https:// address, at most 300 charactersThe phone's recording.
suggest.phone.posteran https:// address, at most 300 charactersThe picture shown until it plays.
suggest.phone.width1 to 8192The recording's width in pixels, the shape its frame takes before it loads.
suggest.phone.height1 to 8192Its height in pixels.
coachan objectChecked at install; taiku doesn't act on it yet.
coach.onat most 32 charactersChecked at install; taiku doesn't act on it yet.
coach.stepsa list of at most 8Checked at install; taiku doesn't act on it yet.
coach.steps[].anchorrenderer: and one of this agent's renderersChecked at install; taiku doesn't act on it yet.
coach.steps[].titleat most 60 charactersChecked at install; taiku doesn't act on it yet.
coach.steps[].bodyat most 200 charactersChecked at install; taiku doesn't act on it yet.
coach.steps[].posea pose (Coach poses, below)Checked at install; taiku doesn't act on it yet.
branchesan objectThe project's branches besides its default one, by what each is for.
branches.proda branch nameWhere it ships to production from: a project's CI and its agents' work on it are labelled prod.
branches.staginga branch name, not another key'sWhere it ships to staging from, labelled so.
branches.deva branch name, not another key'sIts development branch, labelled so.

Lists

Events, for triggers[].event, coalesce.urgent and gates[].rate.per: pr.opened, pr.updated, pr.review_requested, pr.reviewed, pr.closed, pr.commented, ci.finished, ci.check_finished, queue.entered, queue.ejected, merge.landed, deploy.finished.

Event filters besides urgent: branches, conclusions, paths.

Invariants, which no trigger can name yet: ready_not_queued_30m, hold_release_met, head_unverdicted_30m, ask_past_ttl.

Connectors, for tools[], with the scopes each offers and the actions each grants:

ConnectorGrants by being listedScopes, and what each grants
githubnothingpulls.read, contents.read, checks.read, actions.read, statuses.read, merge_queue.read, merge_queue.write (merge_queue.enqueue, merge_queue.dequeue, merge_queue.jump), comments.write (comments.write), labels.write_own (labels.write_own), pulls.write_draft (pulls.write_draft), reviews.write (reviews.write)
taiku.verdictsnothingread, write (verdict.write)
taiku.repo_statenothingread, pr_state.write (pr_state.write), holds.write (holds.write)
taiku.scopenothingread
taiku.rendernothingthis agent's renderer ids
taiku.mailmail.sendunasked (mail.unasked)
taiku.work_itemswork_items.readassign (work_items.assign)
taiku.asksask.raisenone
taiku.sessionssession.startnone
taiku.machinesspawn.new_machinenone
taiku.handoffhandoff.sendnone
taiku.decisionsdecision.recordnone

taiku.mail's unasked and taiku.work_items's assign act for a package taiku ships only: another package may list them, and its runs get nothing from them.

Actions no connector grants, which never may still list so the owner sees them refused: pulls.merge, pulls.merge_admin, repo.settings, repo.rulesets, repo.secrets, repo.environments, push.default_branch, push.force, branch.delete, workflows.write, reviews.approve, deploy.

Actions the consent sheet lists as asking every time, whatever approvals says: session.start, spawn.new_machine, merge_queue.jump. A run doesn't ask by the sheet's lists yet.

Gate predicates: head, checks, verdict, not, class, evidence_quotes_added_lines, evidence_at, branch_prefix, paths_not, qualified by at, in, if.

Ask kinds: approval, input. Ask placeholders: repo, pr, class, check, head, question.

States: working, waiting_on_you, idle, paused, blocked, stalled, failed.

Places: shared, box, lease, local. Memory levels: none, read, write. Input kinds: user, events, tool_results, untrusted. Input modes: isolated. Coalesce keys: repo.

Efforts: low, medium, high. When a budget runs out: pause, ask, pause_and_ask. Instances: account, project.

Report kinds: ask, urgent, digest. Renderer slots: stack. Coach poses: welcome, lead, point, approve.

Targets besides another agent's agentType: owner, agent:mine, plugin:mine; plugin:mine is for links.receive only.

Time zones: account, or any of the 597 IANA zones the server knows.

Limits

LimitAt most
An agentType or an id, in characters32
A name, in characters60
The prompt file, in bytes32768
Triggers32
Tools16
Asks32
An ask's title, in characters120
An ask's options4
Gates32
A gate's conditions16
Short text, in characters200
A trigger's branches or conclusions, report.urgent, or outputs32
The coalesce window, in seconds3600
A run, in minutes120
Subagents a run has going at once10
How often a schedule runs, in minutes apart (at least)5
Coach steps8
A model, in characters200
Cards in replies8
A card's file, in bytes524288
A recording's width or height, in pixels8192

Problems

CodeMeans
unknown_fieldA key no part of the manifest takes.
missing_fieldA required key is left out.
wrong_typeA value of the wrong kind: text for a list, a list for a number.
bad_valueA value outside what the key takes.
bad_slugNot lowercase letters, digits and dashes, or too long.
too_longText longer than the key takes.
too_manyA list longer than the key takes.
duplicateThe same entry twice where each must be unique.
bad_pathNot a path in the package, or not the kind of file the key wants.
missing_fileA path the package doesn't hold.
too_largeA file larger than the key takes.
bad_modelNot a model written provider/model, or a provider the server can't reach.
placement_conflictA place listed both as allowed and as never.
one_trigger_kindA trigger that isn't exactly one kind.
unknown_eventNot one of taiku's events.
filter_without_eventA filter on a trigger that isn't an event, or a time zone on one that isn't a schedule.
unknown_invariantNot one of the invariants.
bad_scheduleNot a 5-field cron.
schedule_too_frequentA schedule more often than every 5 minutes.
unknown_connectorNot one of taiku's connectors.
unknown_scopeNot a scope the connector offers.
unknown_actionNot an action anything names.
action_not_grantedAn action none of the package's tools grants.
never_conflicts_grantAn action listed as never that a tool grants.
unknown_predicateA gate condition that doesn't name exactly one predicate.
bad_placeholderA placeholder that isn't one of the fields, or unpaired braces.
bad_targetNot an agentType, owner or agent:mine where one is wanted.
unknown_panelA panel this package doesn't have.
unknown_rendererA renderer this agent doesn't have.
over_ceilingA budget above the account's own ceiling.
not_supportedA key or value the manifest names that taiku doesn't act on: the problem's words say what to use instead.

On this page