> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# OpenProject Agent Engine Automates Workflow with Docker and API Integration
- URL: https://www.stirup.si/openproject-agent-engine-automates-workflow-with-docker-and-api-integr-b9b16f52/
- Published: 2026-11-01T09:15:06.000Z
- Updated: 2026-11-01T09:15:06.000Z
- Description: The OpenProject Agent Engine automates workflow by polling work packages, dispatching agents, and managing status transitions internally, relying on Docker, OpenProject 17, and API v3 for setup and execution.
- Author: Satish Das
- Tags: Community, News, Stirup Research

## System Workflow and Automation

The OpenProject Agent Engine automates workflow by polling work packages and dispatching agents to perform tasks. According to [Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si), the system identifies eligible tickets and assigns them to the pi coding agent for execution. The engine claims work, creates a per-agent clone, generates a prompt, runs the agent, and verifies the outcome against GitHub and OpenProject. It also manages all status transitions internally. [Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si) notes that OpenProject serves as the system of record, ensuring consistency across platforms. [Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si) outlines the ticket flow, showing how the engine reacts to different states, such as moving a ticket from 'New' to 'In Progress' or from 'Rejected' to 'On Hold.' Once a ticket is 'On Hold,' the engine ceases to act on it until a human intervenes, highlighting the system's reliance on human oversight for certain decisions.

## Setup and Configuration Requirements

The OpenProject Agent Engine requires specific setup and configuration to function properly. It depends on Docker and OpenProject 17 with API v3 enabled, along with a project and one-time administrator access ([Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si)). A one-time instance setup is necessary, including defining statuses, adding the GIT\_REPO project custom field, the AGENT work-package custom field, and the Agent Worker role, as detailed in *docs/OPENPROJECT\_SETUP.md* ([Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si)). Additionally, the URL must be accessible from within the engine container, as outlined in *docs/CONFIG.md* ([Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si)). These steps ensure the engine can interact with OpenProject and execute automated workflows effectively.

## Agent and Role Management

The OpenProject Agent Engine introduces a structured approach to agent and role management, assigning fixed roles to specific accounts and tokens. Each agent is tied to a unique login and kind, such as FRONTEND, BACKEND, LEAD\_DESIGNER, or REVIEWER, ensuring clear responsibilities within the workflow. The model used by the script is specified as AGENT\_MODEL=openrouter/deepseek/deepseek-v4.1-flash-1017, according to [Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si). When a reviewer switches to a dedicated account, they can submit an approving review before merging, as noted in [Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si). However, if both tokens belong to the same account, branch protection rules requiring a different approver may still block the merge, as described in [Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si). This highlights the importance of aligning token assignments with repository policies to ensure smooth workflow execution.

## Deployment and Container Management

The deployment and container management process for the OpenProject Agent Engine is streamlined through Docker. To begin, users can clone the repository and navigate to the `docker/` directory, where an interactive setup script (`agent-init.sh`) facilitates initial configuration. Re-running this script is safe and does not interfere with existing setups. Once initialized, the stack can be started with `docker compose up -d`, and logs can be monitored using `docker compose logs -f engine`.When changes are made to a project’s `GIT_REPO` or `AGENT` configuration in OpenProject, the engine container should be restarted with `docker compose restart engine`. Additionally, if modifications are made to the `docker/.env` file, users must run `docker compose up -d engine` to ensure the container is recreated with the updated environment variables.

## Documentation and Licensing

The OpenProject Agent Engine’s documentation is organized into several key files, including `DOCKER.md` for image internals and troubleshooting, `OPENPROJECT_SETUP.md` for setup details like the AGENT work-package custom field, and `CONFIG.md` for environment variables and CLI references. A read-only web UI is available via `DASHBOARD.md`, and `RUNBOOK.md` outlines procedures for managing agent status and recovery. The `ACCEPTANCE.md` file provides a fake-agent test and manual checklist, while `CURRENT_STATE.md` describes the implemented architecture and control flow. The project is open source and released under the MIT License, as stated in the license documentation. Contributions are welcomed through issues and pull requests. Branches follow the format `op--`, with a limit of `MAX_RUNS_PER_AGENT` runs per agent, defaulting to one. All engine comments begin with `ENGINE:` for clarity.

## Sources and reporting notes

- [Hacker News Show](https://github.com/310networks/openproject-agent-engine?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.