Step 1: Install the CLI
Install the Jules CLI from npm or the standalone binary. Authenticate with your Google account.
Step 2: Create tasks programmatically
Use 'jules create' or POST /tasks to submit tasks with descriptions, target repos, and configuration options.
Step 3: Monitor task status
Poll task status via CLI or API. Get real time updates on progress, view logs, and receive completion notifications.
Step 4: Integrate into workflows
Connect Jules to CI/CD pipelines, Slack bots, custom dashboards, or batch scripting for organization wide operations.
| Feature | Web UI | GitHub Integration | CLI | REST API | |
|---|---|---|---|---|---|
| Create tasks | Create tasks | Yes (issue labels) | |||
| Monitor status | Monitor status | Yes (dashboard) | Yes (PR status) | ||
| Cancel tasks | Cancel tasks | ||||
| View suggestions | View suggestions | ||||
| Approve suggestions | Approve suggestions | ||||
| Batch operations | Batch operations | Yes (scriptable) | Yes (scriptable) | ||
| CI/CD integration | CI/CD integration | ||||
| Automation friendly | Automation friendly |
Start with the CLI, scale with the API
The CLI is the fastest way to try programmatic access. Use 'jules create' to submit tasks from your terminal while you are getting familiar with how Jules handles different types of work. Once you have patterns you want to automate, move to the REST API for integration with your CI/CD system, internal tools, or custom workflows.