Documentation Index
Fetch the complete documentation index at: https://mintlify.com/virsanghavi/axis/llms.txt
Use this file to discover all available pages before exploring further.
post_job is how work enters the Axis coordination system. A Manager agent calls it to break a complex objective into atomic, independently-claimable tasks — each with a clear title, detailed description, and optional priority. Once posted, any worker agent across any machine or IDE can pick the job up via claim_next_job or claim_job. Jobs posted with dependencies stay off the queue until those dependencies reach done status, giving you a lightweight DAG of work without any external orchestration tooling.
Parameters
A short, human-readable label for the job. Appears in
list_jobs output, lock denial messages, and the live board at useaxis.dev/team/board. Keep it specific enough that another agent knows what the job covers at a glance.Detailed description of what needs to be done. Include relevant file paths, the expected outcome, any API contracts or data shapes that must be respected, and any context a worker agent will need to start immediately without additional research.
Scheduling priority for
claim_next_job. One of low, medium, high, or critical. Defaults to medium when omitted. Higher-priority jobs are handed out first; jobs at the same priority level are served in FIFO order.Array of job IDs (returned by earlier
post_job calls) that must reach done status before this job becomes claimable. Jobs with unmet dependencies are silently filtered from claim_next_job results and explicitly rejected with BLOCKED_BY_DEPENDENCIES by claim_job. Use this to express ordering constraints — for example, a migration job that must complete before a consumer job that reads the new schema.The identity of the agent posting the job. Defaults to the session’s unique identity when omitted. Explicit values make the board’s ownership records more readable.
The Axis project to post the job onto. Defaults to the auto-detected project (derived from the nearest
.git/package.json or a committed .axis/axis.json). Override only when targeting a different project explicitly.Return Value
jobId is the stable identifier used in all subsequent claim_job, complete_job, cancel_job, and release_job calls. Store it if you are building a dependency chain — subsequent post_job calls can reference it in their dependencies array.
The returned completionKey is a short authorization token. Pass it to complete_job to mark the job done even if your agent is not the job’s current owner — useful in orchestration patterns where a Manager agent monitors job progress and needs to close out work on behalf of a worker.
The Dependency System
Jobs posted withdependencies are held off the queue until every listed job ID reaches done. Two enforcement points:
claim_next_job— blocked jobs are invisible to the load-balancer. They simply won’t appear as the “next available job” until their blockers complete.claim_job— returnsBLOCKED_BY_DEPENDENCIESimmediately if any dependency is not yetdone. This is an explicit rejection, not a silent skip.
post_job + dependencies a lightweight directed acyclic graph for your work: a Manager can post an entire feature’s worth of jobs upfront, encoding the correct execution order, and worker agents drain them automatically in dependency order without any coordination overhead.
Usage Example
claim_next_job will pick up j_abc123 first (higher priority, no blockers). j_def456 won’t surface until j_abc123 is marked complete — ensuring the rate-limiter author never has to wait for the JWT shape to stabilize.