Deployment¶
Choose between local processes, Docker Compose, or the MCP server. All options rely on the same Temporal workflow and activities.
Local processes (default)¶
- Start Temporal (dev):
temporal server start-devor pointTEMPORAL_ADDRESS/TEMPORAL_NAMESPACEat an existing cluster. - Export secrets (
OPENAI_API_KEY,JIRA_EMAIL/JIRA_API_TOKENorGITHUB_TOKEN) into your environment (shell exports, direnv, or a local env file loaded by your process manager). - Launch the worker:
uv run python -m agentsflow.worker --task-queue process-workflow - Trigger workflows from another shell via the CLI or MCP (see reference pages). Keep the worker running so activities stay registered.
Docker Compose¶
docker compose up --build starts three services:
temporal– Temporal dev server (ports 7233 gRPC / 8233 Web UI).worker– AgentsFlow worker with hot-reloaded source mounted from the host.mcp-server– FastMCP bridge exposing the same workflow.
Pass credentials from the host environment (as shown in docker-compose.yml). Rebuild when dependencies change: docker compose build --pull.
MCP server¶
Run the FastMCP bridge against an existing Temporal cluster:
uv run fastmcp run agentsflow/mcp_server.py
repository_path values passed to the tools are absolute paths visible to the worker host.
Operational knobs¶
ACP_AUTO_APPROVE=falseto require ACP permission prompts instead of auto-approving.PROCESS_CODING_AGENT_PROVIDERselectsclaude(default),gemini, orcodexACP binaries; override binary paths withACP_CLAUDE_BIN,ACP_GEMINI_BIN, orACP_CODEX_BIN.AGENTSFLOW_LOG_LEVEL=DEBUGincreases verbosity for both CLI and worker processes.