@trygentic/agentloop 0.1.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,39 @@
1
+ **Commercial License Agreement**
2
+ Software: AgentLoop
3
+ Copyright © Troy Edwards Jr, All Rights Reserved
4
+
5
+ This Software is licensed, not sold.
6
+
7
+ 1. Grant of Use
8
+ You may install and use this Software only while you have a valid, active paid subscription to Your Service and only for your own internal use.
9
+
10
+ 2. No Redistribution
11
+ You may not copy, publish, distribute, or share the Software or make it available to any third party.
12
+
13
+ 3. No Reverse Engineering
14
+ You may not reverse engineer, decompile, disassemble, modify, or attempt to derive the source code, internal logic, or algorithms of the Software, except where such restriction is prohibited by law.
15
+
16
+ 4. Subscription & Access Requirements
17
+ Use of this Software requires an authenticated account and an active subscription.
18
+ If your subscription ends or is revoked, your right to use the Software ends immediately.
19
+
20
+ 5. API Keys & Credentials
21
+ API keys, tokens, and login credentials are personal to you.
22
+ You may not share them or use them to provide the Service to others.
23
+
24
+ 6. Prohibited Uses
25
+ You may not use the Software to build or train competing products or services.
26
+
27
+ 7. Ownership
28
+ All rights, title, and interest in the Software remain with the Licensor. No rights are granted except those explicitly stated in this Agreement.
29
+
30
+ 8. Termination
31
+ The Licensor may terminate this license if you violate these terms. Upon termination, you must stop using the Software and delete all copies.
32
+
33
+ 9. No Warranty
34
+ The Software is provided “as is” without warranties of any kind.
35
+
36
+ 10. Limitation of Liability
37
+ To the maximum extent permitted by law, the Licensor is not liable for any damages arising from the use or inability to use the Software.
38
+
39
+ By installing or using this Software, you agree to these terms.
package/README.md ADDED
@@ -0,0 +1,607 @@
1
+ <p align="center">
2
+ <a href="https://www.agentloop.run">
3
+ <img src="https://www.agentloop.run/_next/image?url=%2Flogo_no_text_big.png&w=384&q=75&dpl=dpl_8iUBYWKRHdJzWcavR94X4nKpB4aC" alt="AgentLoop Logo" width="150" />
4
+ </a>
5
+ </p>
6
+
7
+ <h1 align="center">AgentLoop</h1>
8
+
9
+ <p align="center">
10
+ <strong>Autonomous Multi-Agent Orchestration for Software Development</strong>
11
+ </p>
12
+
13
+ <p align="center">
14
+ <a href="https://www.agentloop.run">Website</a> &bull;
15
+ <a href="#installation">Installation</a> &bull;
16
+ <a href="#features">Features</a> &bull;
17
+ <a href="#interactive-commands">Commands</a> &bull;
18
+ <a href="https://discord.gg/B3SQ7mRQY8">Discord</a>
19
+ </p>
20
+
21
+ ---
22
+
23
+ ## Overview
24
+
25
+ AgentLoop is an autonomous agent orchestrator that coordinates multiple AI agents working together to complete complex software development tasks. Specialized agents analyze, implement, and test your code—all managed through an intelligent workflow with full human oversight.
26
+
27
+ ## Installation
28
+
29
+ ### Global Installation (Recommended)
30
+
31
+ ```bash
32
+ npm install -g @trygentic/agentloop
33
+ ```
34
+
35
+ ### Local Installation
36
+
37
+ ```bash
38
+ npm install @trygentic/agentloop
39
+ ```
40
+
41
+ ### Run Without Installing
42
+
43
+ ```bash
44
+ npx @trygentic/agentloop
45
+ ```
46
+
47
+ ## Quick Start
48
+
49
+ ```bash
50
+ # Start interactive mode
51
+ agentloop
52
+
53
+ # Run the orchestrator
54
+ agentloop orchestrator
55
+
56
+ # Send a single query
57
+ agentloop query "Analyze the architecture of this project"
58
+ ```
59
+
60
+ ### Interacting with AgentLoop
61
+
62
+ In interactive mode, you can communicate with agents using natural language—just type your message and press Enter. No slash commands required for conversations. AgentLoop uses tool calls behind the scenes to update the kanban board, manage tasks and dependencies in the DAG, and delegate work to specialized agents like Engineer and QA.
63
+
64
+ ```
65
+ > Break down "user authentication" into tasks and add them to the board
66
+ > What's the status of task 5? Mark it as in-progress
67
+ > Have the engineer agent implement the login API endpoint
68
+ > Ask the QA agent to test the new authentication flow
69
+ > Add a dependency so task 3 must complete before task 7
70
+ > Move all completed tasks to done and show me the kanban board
71
+ ```
72
+
73
+ Slash commands (like `/orchestrator run` or `/tasks`) are available for system operations, but day-to-day interaction—including task management, agent coordination, and board updates—is conversational.
74
+
75
+ ## Architecture
76
+
77
+ ```
78
+ ┌─────────────────────────────────────────────────────────────────────────────┐
79
+ │ AgentLoop CLI │
80
+ │ Interactive Mode / Query Mode / Daemon │
81
+ └─────────────────────────────────┬───────────────────────────────────────────┘
82
+
83
+
84
+ ┌─────────────────────────────────────────────────────────────────────────────┐
85
+ │ ORCHESTRATOR │
86
+ │ ┌─────────────────────────────────────────────────────────────────────┐ │
87
+ │ │ DAG Task Scheduler │ │
88
+ │ │ Manages dependencies, parallelism, and execution order │ │
89
+ │ └─────────────────────────────────────────────────────────────────────┘ │
90
+ │ ┌─────────────────────────────────────────────────────────────────────┐ │
91
+ │ │ Behavior Tree Engine │ │
92
+ │ │ Decision logic, validation layers, AI management │ │
93
+ │ └─────────────────────────────────────────────────────────────────────┘ │
94
+ └─────────────────────────────────┬───────────────────────────────────────────┘
95
+
96
+ ┌─────────────────────┼─────────────────────┐
97
+ │ │ │
98
+ ▼ ▼ ▼
99
+ ┌───────────────────┐ ┌───────────────────┐ ┌───────────────────┐
100
+ │ Product Manager │ │ Engineer(s) │ │ QA Tester │
101
+ │ Agent │ │ Agents │ │ Agent │
102
+ │ │ │ │ │ │
103
+ │ • Task breakdown │ │ • Code changes │ │ • Test execution │
104
+ │ • AGILE planning │ │ • Git operations │ │ • Validation │
105
+ │ • User stories │ │ • PR creation │ │ • Issue reporting │
106
+ └───────────────────┘ └───────────────────┘ └───────────────────┘
107
+ │ │ │
108
+ │ ┌───────────┴───────────┐ │
109
+ │ ▼ ▼ │
110
+ │ ┌─────────────┐ ┌─────────────┐ │
111
+ │ │ Worktree 1 │ │ Worktree 2 │ │
112
+ │ │ (branch-a) │ │ (branch-b) │ │
113
+ │ └─────────────┘ └─────────────┘ │
114
+ │ │
115
+ └──────────────────┬───────────────────────┘
116
+
117
+ ┌─────────────────────────────────────────────────────────────────────────────┐
118
+ │ Kanban Board │
119
+ │ ┌─────────┐ ┌─────────────┐ ┌────────┐ ┌──────┐ ┌─────────┐ │
120
+ │ │ Todo │ │ In Progress │ │ Review │ │ Done │ │ Blocked │ │
121
+ │ │ │ │ │ │ │ │ │ │ │ │
122
+ │ │ Task 1 │ │ Task 3 │ │ Task 5 │ │Task 7│ │ Task 9 │ │
123
+ │ │ Task 2 │ │ Task 4 │ │ Task 6 │ │Task 8│ │ │ │
124
+ │ └─────────┘ └─────────────┘ └────────┘ └──────┘ └─────────┘ │
125
+ └─────────────────────────────────────────────────────────────────────────────┘
126
+
127
+
128
+ ┌─────────────────────────────────────────────────────────────────────────────┐
129
+ │ External Integrations │
130
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
131
+ │ │ Jira │ │ GitHub │ │ MCP │ │
132
+ │ │ Sync │ │ PRs │ │ Servers │ │
133
+ │ └──────────┘ └──────────┘ └──────────┘ │
134
+ └─────────────────────────────────────────────────────────────────────────────┘
135
+ ```
136
+
137
+ ### How It Works
138
+
139
+ 1. **Task Creation** - Define tasks manually, generate them from descriptions using the Product Manager agent, or sync from Jira
140
+ 2. **DAG Scheduling** - The orchestrator analyzes task dependencies and creates an optimal execution plan
141
+ 3. **Parallel Execution** - Multiple engineer agents work simultaneously on independent tasks
142
+ 4. **Isolated Environments** - Each agent can work in its own git worktree or container sandbox
143
+ 5. **Quality Gates** - QA agents validate completed work before marking tasks done
144
+ 6. **Continuous Loop** - The orchestrator monitors progress and handles failures with self-healing recovery
145
+
146
+ ## Features
147
+
148
+ ### Multi-Agent Orchestration
149
+
150
+ AgentLoop coordinates multiple specialized AI agents that work together seamlessly:
151
+
152
+ - **Orchestrator Agent** - Manages overall workflow, delegates tasks, and ensures smooth handoffs between agents
153
+ - **Product Manager Agent** - Breaks down project descriptions into AGILE tasks, user stories, and sprint plans
154
+ - **Engineer Agent** - Autonomous code implementation with proper git workflows
155
+ - **QA Tester Agent** - Automated testing, issue identification, and validation
156
+ - **Code Analyzer Agent** - Deep codebase analysis for architecture and dependency understanding
157
+
158
+ ### Parallel Agent Execution
159
+
160
+ Multiple engineer agents can work on different tasks simultaneously, dramatically reducing development time through true concurrency with configurable parallelism limits.
161
+
162
+ ### DAG-Based Task Management
163
+
164
+ Define task dependencies using a Directed Acyclic Graph (DAG) and let the orchestrator automatically determine the optimal execution order. The system maximizes parallelism while respecting prerequisites and handles complex dependency chains intelligently.
165
+
166
+ ### Interactive Kanban Board
167
+
168
+ Visual task management with a terminal-based kanban board showing tasks across columns: Todo, In Progress, Review, Done, and Blocked. Navigate, update, and manage tasks directly from the terminal.
169
+
170
+ ### Intelligent Planning
171
+
172
+ Interactive planning sessions help gather requirements, clarify scope, and generate comprehensive task breakdowns. The questionnaire system adapts based on previous answers for intelligent requirements gathering.
173
+
174
+ ### Self-Healing & Recovery
175
+
176
+ - Automatic detection and recovery from orphaned tasks
177
+ - Process health monitoring with cleanup of stale executions
178
+ - Race condition prevention for task state consistency
179
+ - Recovery from crashes and restarts
180
+
181
+ ### Behavior Tree System
182
+
183
+ Configurable, modular decision-making logic for agents using industry-standard behavior tree patterns. Includes validation layers and live AI management for adaptive agent behavior.
184
+
185
+ ### Jira Integration
186
+
187
+ Bidirectional synchronization with Jira Cloud:
188
+ - OAuth 2.0 and Basic Auth support
189
+ - Automatic task syncing
190
+ - AI-powered DAG planning from Jira issues
191
+ - Sprint and board management
192
+
193
+ ### Plugin System
194
+
195
+ Extend AgentLoop with custom agents, behavior trees, and configurations:
196
+ - Custom agent templates using markdown
197
+ - Three-layer configuration (build-time, runtime, per-project)
198
+ - MCP (Model Context Protocol) integration for external tools
199
+
200
+ ---
201
+
202
+ ## Git Worktrees
203
+
204
+ AgentLoop leverages Git worktrees to enable true parallel development. Each worktree is a separate working directory linked to the same repository, allowing multiple agents to work on different branches simultaneously without conflicts.
205
+
206
+ ```
207
+ Main Repository (.git)
208
+
209
+ ├── Main Working Directory (main branch)
210
+
211
+ ├── .worktrees/
212
+ │ ├── feature-auth/ ← Agent 1 working here
213
+ │ │ └── (branch: feature/auth)
214
+ │ │
215
+ │ ├── feature-api/ ← Agent 2 working here
216
+ │ │ └── (branch: feature/api)
217
+ │ │
218
+ │ └── bugfix-login/ ← Agent 3 working here
219
+ │ └── (branch: bugfix/login)
220
+ ```
221
+
222
+ ### Benefits
223
+
224
+ - **No Merge Conflicts During Work** - Each agent has its own isolated working directory
225
+ - **True Parallelism** - Multiple agents can compile, test, and modify code simultaneously
226
+ - **Branch Isolation** - Changes in one worktree don't affect others until merged
227
+ - **Efficient Storage** - Worktrees share the same Git objects, minimizing disk usage
228
+
229
+ ### Worktree Commands
230
+
231
+ | Command | Description |
232
+ |---------|-------------|
233
+ | `/worktrees` | Open interactive worktree management view |
234
+ | `/worktrees list` | List all active worktrees |
235
+ | `/worktrees status` | Show worktree status summary |
236
+ | `/worktrees help` | Display worktree usage guide |
237
+
238
+ ---
239
+
240
+ ## Container Sandboxing (Podman)
241
+
242
+ AgentLoop supports optional container-based isolation using Podman, providing an additional layer of security for agent execution. When enabled, agents run inside containers with restricted filesystem and network access.
243
+
244
+ > **Note:** Docker support is coming soon.
245
+
246
+ ```
247
+ ┌─────────────────────────────────────────────────────────┐
248
+ │ Host System │
249
+ │ │
250
+ │ ┌───────────────────────────────────────────────────┐ │
251
+ │ │ Podman Container │ │
252
+ │ │ ┌─────────────────────────────────────────────┐ │ │
253
+ │ │ │ Engineer Agent │ │ │
254
+ │ │ │ │ │ │
255
+ │ │ │ • Restricted filesystem access │ │ │
256
+ │ │ │ • Network isolation (configurable) │ │ │
257
+ │ │ │ • Resource limits (CPU, memory) │ │ │
258
+ │ │ │ • No access to host system files │ │ │
259
+ │ │ └─────────────────────────────────────────────┘ │ │
260
+ │ │ │ │ │
261
+ │ │ Mount: /workspace │ │
262
+ │ │ │ │ │
263
+ │ └───────────────────────┼───────────────────────────┘ │
264
+ │ │ │
265
+ │ ▼ │
266
+ │ Project Directory (read/write) │
267
+ └─────────────────────────────────────────────────────────┘
268
+ ```
269
+
270
+ ### Why Use Sandboxing?
271
+
272
+ - **Security** - Agents cannot access sensitive files outside the project
273
+ - **Isolation** - Failed or misbehaving agents can't affect the host system
274
+ - **Reproducibility** - Consistent execution environment across different machines
275
+ - **Resource Control** - Limit CPU and memory usage per agent
276
+
277
+ ### Setup Commands
278
+
279
+ | Command | Description |
280
+ |---------|-------------|
281
+ | `/setup podman` | Interactive Podman installation and configuration |
282
+ | `/setup podman status` | Check Podman installation and container status |
283
+ | `/setup podman help` | Display sandboxing configuration guide |
284
+ | `/orchestrator sandbox` | Manage sandbox settings for agent execution |
285
+
286
+ ---
287
+
288
+ ## Background Daemon
289
+
290
+ The AgentLoop daemon allows you to run the orchestrator as a persistent background service. This is useful for long-running tasks, CI/CD integration, or when you want sessions to survive terminal closures.
291
+
292
+ ```
293
+ ┌──────────────────────────────────────────────────────────────────┐
294
+ │ User Terminal │
295
+ │ │
296
+ │ $ agentloop $ agentloop │
297
+ │ > /daemon start > /orchestrator status │
298
+ │ Daemon started ✓ Connected to daemon... │
299
+ │ > /exit Orchestrator: running │
300
+ │ (terminal closed) Tasks: 3 in-progress │
301
+ │ │
302
+ └──────────────────────────────────────────────────────────────────┘
303
+
304
+
305
+ ┌──────────────────────────────────────────────────────────────────┐
306
+ │ Background Daemon Process │
307
+ │ │
308
+ │ ┌────────────────────────────────────────────────────────┐ │
309
+ │ │ Orchestrator │ │
310
+ │ │ │ │
311
+ │ │ • Continues running after terminal closes │ │
312
+ │ │ • Processes tasks autonomously │ │
313
+ │ │ • Maintains session state and history │ │
314
+ │ │ • Reconnectable from any terminal │ │
315
+ │ │ • Automatic recovery from interruptions │ │
316
+ │ └────────────────────────────────────────────────────────┘ │
317
+ │ │
318
+ │ Session Data: ~/.agentloop/daemon/ │
319
+ │ Logs: ~/.agentloop/logs/ │
320
+ └──────────────────────────────────────────────────────────────────┘
321
+ ```
322
+
323
+ ### Use Cases
324
+
325
+ - **Long-Running Tasks** - Start a large refactoring job and disconnect; reconnect later to check progress
326
+ - **CI/CD Integration** - Run the daemon in your build pipeline for automated code generation
327
+ - **Remote Development** - SSH into a server, start the daemon, disconnect, and reconnect later. You can also work directly on mounted worktrees from your local IDE without needing to SSH
328
+ - **Persistent Sessions** - Conversation history and task state persist across CLI restarts
329
+
330
+ ### Daemon Commands
331
+
332
+ | Command | Description |
333
+ |---------|-------------|
334
+ | `/daemon start` | Start the background daemon service |
335
+ | `/daemon stop` | Stop the running daemon |
336
+ | `/daemon restart` | Restart the daemon (useful after configuration changes) |
337
+ | `/daemon status` | Check if daemon is running and view connection info |
338
+
339
+ ---
340
+
341
+ ## Interactive Commands
342
+
343
+ ### Core Commands
344
+
345
+ | Command | Description |
346
+ |---------|-------------|
347
+ | `/help` | Show all available commands |
348
+ | `/exit` | Exit interactive mode |
349
+ | `/clear` | Clear conversation history |
350
+ | `/init` | Detect project type and initialize AgentLoop |
351
+
352
+ ### Orchestrator Commands
353
+
354
+ | Command | Description |
355
+ |---------|-------------|
356
+ | `/orchestrator run` | Run the orchestrator (processes tasks until complete) |
357
+ | `/orchestrator run --infinite` | Run continuously, watching for new tasks |
358
+ | `/orchestrator generate <description>` | Generate AGILE tasks from a project description |
359
+ | `/orchestrator status` | Show current orchestrator status |
360
+ | `/orchestrator agents` | Live agent monitoring with real-time status |
361
+ | `/orchestrator kanban` | Open interactive kanban board |
362
+ | `/orchestrator stop` | Stop the running orchestrator |
363
+ | `/orchestrator clear` | Clear all tasks for the current project |
364
+ | `/orchestrator logs <task-id>` | Show agent execution logs for a task |
365
+
366
+ ### DAG Commands
367
+
368
+ | Command | Description |
369
+ |---------|-------------|
370
+ | `/orchestrator dag` | Show DAG status with statistics |
371
+ | `/orchestrator dag ascii` | ASCII visualization of task dependencies |
372
+ | `/orchestrator dag dot` | Export DAG in DOT format |
373
+
374
+ ### Task Commands
375
+
376
+ | Command | Description |
377
+ |---------|-------------|
378
+ | `/tasks` | List all tasks in the current project |
379
+ | `/tasks --status <status>` | Filter by status (todo, in-progress, review, done, blocked) |
380
+ | `/tasks --priority <priority>` | Filter by priority (low, medium, high, critical) |
381
+ | `/task add <title> <description>` | Add a new task |
382
+
383
+ ### Configuration Commands
384
+
385
+ | Command | Description |
386
+ |---------|-------------|
387
+ | `/config show` | Show current configuration |
388
+ | `/config set-token <token>` | Set authentication token |
389
+ | `/config set-base-url <url>` | Set API base URL |
390
+ | `/config clear` | Clear configuration |
391
+ | `/settings show` | Show current settings |
392
+ | `/settings telemetry [on\|off]` | Enable or disable telemetry |
393
+
394
+ ### Jira Integration
395
+
396
+ | Command | Description |
397
+ |---------|-------------|
398
+ | `/jira sync` | Bidirectional sync with Jira |
399
+ | `/jira sync-dag` | AI-powered sync with dependency analysis |
400
+ | `/jira configure siteUrl <url>` | Set Jira site URL |
401
+ | `/jira configure projectKey <key>` | Set Jira project key |
402
+ | `/jira configure boardId <id>` | Set Jira board ID |
403
+ | `/jira set-auth <email> <token>` | Set Basic Auth credentials |
404
+ | `/jira set-oauth <id> <secret>` | Set OAuth credentials |
405
+ | `/jira authorize` | Perform OAuth authorization |
406
+ | `/jira status` | Show Jira integration status |
407
+
408
+ ### Mock & Testing
409
+
410
+ | Command | Description |
411
+ |---------|-------------|
412
+ | `/mock` | Open mock configuration view |
413
+ | `/mock status` | Show mock configuration status |
414
+ | `/mock enable` | Enable mock mode |
415
+ | `/mock disable` | Disable mock mode |
416
+
417
+ ---
418
+
419
+ ## Configuration
420
+
421
+ AgentLoop uses TOML configuration files with a layered priority system.
422
+
423
+ ### Configuration File Locations
424
+
425
+ | Location | Purpose |
426
+ |----------|---------|
427
+ | `./.agentloop/config.toml` | Project-level config (local overrides) |
428
+ | `~/.agentloop/config.toml` | User-level config (global defaults) |
429
+ | `~/.config/agentloop/` | Database, credentials, and cache |
430
+
431
+ ### Configuration Priority (Highest to Lowest)
432
+
433
+ 1. Environment variables
434
+ 2. Project config (`./.agentloop/config.toml`)
435
+ 3. User config (`~/.agentloop/config.toml`)
436
+ 4. Default values
437
+
438
+ ---
439
+
440
+ ### Orchestrator Settings
441
+
442
+ ```toml
443
+ [orchestrator]
444
+ max_parallel_agents = 1 # Number of agents that can run in parallel
445
+ use_worktrees = false # Enable git worktrees for parallel development
446
+ worktrees_dir = ".worktrees" # Directory for worktrees (relative to project)
447
+ cleanup_worktrees_on_complete = false # Auto-cleanup worktrees after completion
448
+ ```
449
+
450
+ | Option | Default | Env Variable | Description |
451
+ |--------|---------|--------------|-------------|
452
+ | `max_parallel_agents` | `1` | `AGENTLOOP_MAX_PARALLEL_AGENTS` | Maximum parallel agents |
453
+ | `use_worktrees` | `false` | `AGENTLOOP_USE_WORKTREES` | Enable git worktrees |
454
+ | `worktrees_dir` | `.worktrees` | `AGENTLOOP_WORKTREES_DIR` | Worktrees directory |
455
+ | `cleanup_worktrees_on_complete` | `false` | `AGENTLOOP_CLEANUP_WORKTREES` | Auto-cleanup worktrees |
456
+
457
+ ---
458
+
459
+ ### Container Sandbox Settings
460
+
461
+ ```toml
462
+ [orchestrator.container_sandbox]
463
+ enabled = false # Enable Podman sandboxing
464
+ container_image = "agentloop-worker"
465
+ network_mode = "slirp4netns" # none, slirp4netns, or host
466
+ memory_limit = "4g"
467
+ cpu_limit = "2"
468
+
469
+ [orchestrator.container_sandbox.agent_images]
470
+ engineer = "agentloop-worker"
471
+ qa-tester = "agentloop-qa-worker"
472
+ analyzer = "agentloop-worker"
473
+ product-manager = "agentloop-worker"
474
+ ```
475
+
476
+ | Option | Default | Description |
477
+ |--------|---------|-------------|
478
+ | `enabled` | `false` | Enable container sandboxing |
479
+ | `container_image` | `agentloop-worker` | Default container image |
480
+ | `network_mode` | `slirp4netns` | Network isolation mode |
481
+ | `memory_limit` | `4g` | Memory limit per container |
482
+ | `cpu_limit` | `2` | CPU limit per container |
483
+
484
+ ---
485
+
486
+ ### GitHub Settings
487
+
488
+ ```toml
489
+ [github]
490
+ enabled = true
491
+ token = "ghp_your_token_here" # Or use GITHUB_PERSONAL_ACCESS_TOKEN env var
492
+ ```
493
+
494
+ | Option | Default | Env Variable | Description |
495
+ |--------|---------|--------------|-------------|
496
+ | `enabled` | `true` | - | Enable GitHub integration |
497
+ | `token` | - | `GITHUB_PERSONAL_ACCESS_TOKEN` | GitHub PAT (scopes: repo, workflow) |
498
+
499
+ ---
500
+
501
+ ### Jira Settings
502
+
503
+ ```toml
504
+ [jira]
505
+ siteUrl = "https://yourcompany.atlassian.net"
506
+ project = "PROJ"
507
+ boardId = "123"
508
+
509
+ # Basic Auth (simpler)
510
+ email = "user@example.com"
511
+ apiToken = "your_api_token"
512
+
513
+ # Or OAuth (more secure) - set via /jira set-oauth command
514
+ # clientId = "your_oauth_client_id"
515
+ # clientSecret = "your_oauth_client_secret"
516
+ ```
517
+
518
+ | Option | Description |
519
+ |--------|-------------|
520
+ | `siteUrl` | Jira site URL |
521
+ | `project` | Jira project key |
522
+ | `boardId` | Board ID for accurate syncing (find in board URL) |
523
+ | `email` | Email for Basic Auth |
524
+ | `apiToken` | API token for Basic Auth |
525
+
526
+ ---
527
+
528
+ ### Example Configuration
529
+
530
+ **User-level defaults** (`~/.agentloop/config.toml`):
531
+ ```toml
532
+ [github]
533
+ enabled = true
534
+
535
+ [orchestrator]
536
+ max_parallel_agents = 4
537
+ use_worktrees = true
538
+ ```
539
+
540
+ **Project-level overrides** (`./.agentloop/config.toml`):
541
+ ```toml
542
+ [orchestrator]
543
+ max_parallel_agents = 10
544
+
545
+ [orchestrator.container_sandbox]
546
+ enabled = true
547
+ network_mode = "slirp4netns"
548
+
549
+ [jira]
550
+ siteUrl = "https://company.atlassian.net"
551
+ project = "MYPROJ"
552
+ boardId = "42"
553
+ ```
554
+
555
+ ---
556
+
557
+ ## Preview Features (Alpha)
558
+
559
+ The following features are in active development and available for early testing. They may change significantly or be incomplete.
560
+
561
+ ### Planning & Requirements
562
+
563
+ | Command | Description |
564
+ |---------|-------------|
565
+ | `/planning` | Start interactive PM agent planning session |
566
+ | `/questionnaire` | Open questionnaire DAG view |
567
+ | `/bt` | Open behavior tree debug view |
568
+
569
+ ---
570
+
571
+ ## CLI Commands
572
+
573
+ ```bash
574
+ # Start interactive session
575
+ agentloop
576
+
577
+ # Run orchestrator directly
578
+ agentloop orchestrator
579
+
580
+ # Single query mode
581
+ agentloop query "Your question here"
582
+
583
+ # Authentication management
584
+ agentloop auth status
585
+ agentloop auth logout
586
+ agentloop auth switch
587
+
588
+ # Configuration
589
+ agentloop config
590
+ ```
591
+
592
+ ## Requirements
593
+
594
+ - Node.js >= 18.0.0
595
+ - npm or yarn
596
+ - Podman (optional, for container sandboxing)
597
+
598
+ ## License
599
+
600
+ See [License](./license)
601
+
602
+ ## Support
603
+
604
+ For issues, questions, or contributions:
605
+
606
+ - **Discord**: [Join our community](https://discord.gg/B3SQ7mRQY8)
607
+ - **Website**: [agentloop.run](https://www.agentloop.run)