Skip to content
/

ai-ticket

ai-ticket-jmike · jmikedupont2/ai-ticket · ★ 33 · last commit 2026-01-22

Human-as-LLM-proxy ticket system where each AI-human interaction step creates a GitHub Issue ticket; designed for AutoGPT-era human-in-the-loop workflows.

Best whenThe human should act as a language model proxy, generating structured queries that become auditable tickets rather than having AI operate autonomously.
Skip ifFully autonomous AI execution without human approval gates
vs seeds
taskmaster-aibut the human-as-LLM concept is unique in the corpus. Likely superseded by modern Claude Code/Codex tooling; primarily o…
Primitive shape
No installable primitives
00

Summary

ai-ticket — Summary

ai-ticket is a Python-based "human-AI loop" ticket system where a human acts as a language model proxy, generating queries at each step that become GitHub Issues tickets, while AutoGPT integrates via a "Request Assistance" action to wait for ticket updates. The core concept is unusual: the user is positioned as the LLM that drives the workflow, with AI coding systems (AutoGPT) polling GitHub for human-authored responses before proceeding. The implementation is minimal — a Python package with a single pygithub.py backend that creates/comments on GitHub Issues and a find_name regex utility for identifying AI agent names in issue body JSON. The repo is low-activity (33 stars, last commit 2026-01-22) and the README describes a conceptual architecture that is only partially implemented.

Compared to seeds: no close seed match. The human-as-LLM-proxy concept is unique. Most similar to taskmaster-ai (GitHub Issues as task coordination layer) but inverts the agent/human roles — here the human authors tickets and the AI waits for human approval at every step rather than agents autonomously executing.

01

Overview

ai-ticket — Overview

Origin

Created by jmikedupont2 (Michael DuPont). 33 GitHub stars, MIT licensed, Python, last commit 2026-01-22.

Philosophy

"The AI and Human powered ticket system to manage your AI based code generation with tickets."

"Welcome to our innovative user-driven workflow, designed to empower you to interact with our system like a large language model."

The framework inverts the typical agent-as-executor model: the human takes on the role of an LLM proxy, generating structured queries (tickets) at each step, while AI systems (AutoGPT) wait for the human's ticket responses before proceeding.

Conceptual Architecture

  1. User as Language Model: Human generates queries/responses as if they were an LLM
  2. Proxy Server: Creates a GitHub Issue ticket for each interaction step
  3. AutoGPT Integration: AutoGPT's "Request Assistance" action posts the issue URL to its context
  4. Human-Controlled Process: Human writes the response to the ticket; AutoGPT polls for updates
  5. Ticket-Based Continuity: Each ticket records one step, ensuring documentation and continuity

Context

This appears to be an experimental research project from early AI agent development (circa 2024). The AutoGPT integration suggests it predates modern Claude Code/Codex-based workflows.

02

Architecture

ai-ticket — Architecture

Distribution

Python package with Docker support:

# Docker
docker-compose up -d

# Development
pip install -e .

Required Runtime

  • Python 3.x
  • Docker (docker-compose.yml present)
  • GitHub account + PAT (GITHUB_PAT env var)
  • GITHUB_REPO env var

Directory Tree

src/
└── ai_ticket/
    ├── __init__.py       # find_name() regex utility
    ├── backends/
    │   └── pygithub.py   # GitHub Issues integration
    └── events/           # Event handling (minimal)
pyproject.toml
docker-compose.yml
docker-compose-run.yml
.env.example

Config Files

  • .env with GITHUB_PAT and GITHUB_REPO

Target AI Tools

AutoGPT (primary integration target per README)

03

Components

ai-ticket — Components

Python Modules

ai_ticket/__init__.py

find_name(text) — regex utility that extracts AI agent name from a message body matching the pattern:

pattern = r'(```)?\s*{\s*"messages"\s*:\s*\[\s*\{\s*"role"\s*:\s*"system"\s*,\s*\"content"\s*:\s*"You\s+are\s+(?P<name>[^,]+),.*'

Used to identify which AI agent name is referenced in an issue body.

ai_ticket/backends/pygithub.py

GitHub Issues backend using PyGithub library:

Function Purpose
load_env() Load .env and connect to GitHub
load_repo(repo, pat) Initialize GitHub repo connection
get_issues() Generator yielding all open issues
get_existing_ticket(event) Find first ticket matching agent name regex
create_new_ticket(event) Create new GitHub Issue with JSON body
create_new_comment(ticket, event) Add comment to existing ticket

No CLI, No Skills, No MCP, No Hooks

ai-ticket is a library/backend, not a standalone agent framework. It provides GitHub Issue integration primitives for higher-level agent systems.

05

Prompts

ai-ticket — Prompt Files

ai-ticket does not ship prompt files in the traditional sense. The "prompts" in this system are the GitHub Issue bodies which contain structured JSON messages from AI agents.

Verbatim Excerpt 1: README workflow description

Prompting technique: Role-playing instruction (human takes on LLM role)

**1. User as Language Model**:
   - You take on the role of a large language model proxy.

**2. Step-by-Step Interaction**:
   - Each interaction with the system occurs step by step.
   - At each step, you generate a query or response, which becomes a "ticket."

**3. Proxy Server**:
   - A proxy server facilitates your interactions, creating a ticket for each step.

**4. Request Assistance Action**:
   - AutoGPT integrates with this workflow using a "Request Assistance" action.
   - This action includes the URL of the GitHub ticket comment linked to your query.

Verbatim Excerpt 2: Agent name detection regex (source code)

Prompting technique: Structural pattern matching for agent identity

pattern = r'(```)?\s*{\s*"messages"\s*:\s*\[\s*\{\s*"role"\s*:\s*"system"\s*,\s*\"content"\s*:\s*"You\s+are\s+(?P<name>[^,]+),.*'

This regex detects the agent name embedded in the system prompt JSON stored in issue bodies, allowing the backend to match tickets to the right agent context.

09

Uniqueness

ai-ticket — Uniqueness & Positioning

Differs from Seeds

ai-ticket doesn't match any seed framework closely. It's an experimental concept from early AutoGPT-era AI development (circa 2024) where the human acts as the LLM proxy and AI waits for human ticket responses. The closest seeds are taskmaster-ai (GitHub-based task coordination) and claude-conductor (markdown scaffolding), but neither inverts roles the way ai-ticket does. This is fundamentally a human-in-the-loop at-every-step system, not an AI-autonomous workflow.

Distinctive Positioning

  • Human-as-LLM-proxy concept: user authors tickets as if they were an LLM; AI waits
  • Step-by-step ticket documentation creates an unusually detailed audit trail
  • Designed for AutoGPT era (2024), not modern Claude Code/Codex workflows

Observable Failure Modes

  • Incomplete implementation: README describes architecture not fully built
  • AutoGPT dependency is outdated relative to modern agent frameworks
  • No path for modern AI coding tools (Claude Code, Codex, Cursor)
  • Low activity: likely abandoned or superseded by more complete tools
04

Workflow

ai-ticket — Workflow

Conceptual Workflow

  1. AI agent (AutoGPT) encounters a problem requiring human assistance
  2. Agent posts a "Request Assistance" action with the GitHub issue URL
  3. Proxy server calls create_new_ticket(event) → new GitHub Issue created with JSON body
  4. Human acts as LLM proxy: reads the ticket, generates a response, posts it as a comment
  5. create_new_comment(ticket, event) records the response
  6. AutoGPT polls for ticket updates; finds the human response
  7. AutoGPT re-triggers action based on human's response
  8. Cycle continues

Approval Gates

All gates — every step requires human response. This is by design: the human is explicitly the control loop.

Artifacts

Artifact Location
Step tickets GitHub Issues (JSON-formatted bodies)
Human responses GitHub Issue comments

Status

The workflow as described in the README is conceptual/partial. The implementation provides the GitHub Issues backend primitives but the full proxy server and AutoGPT integration appear to be in the vendor/ and nobuilds/ directories (gitmodules).

06

Memory Context

ai-ticket — Memory & Context

State Storage

GitHub Issues — all step tickets and human responses live on GitHub.

Persistence

Remote, cross-session. GitHub Issues are permanent until manually closed.

Context Handoff

The system prompt JSON in issue bodies encodes the AI agent's context at each step. The find_name() regex extracts agent identity from this JSON for ticket routing.

No Local State

No local files written by ai-ticket itself. All state is in GitHub.

07

Orchestration

ai-ticket — Orchestration

Multi-Agent

No. The system involves one AI agent (AutoGPT) + one human proxy.

Orchestration Pattern

Sequential (step-by-step human-in-the-loop).

Execution Mode

Event-driven: AutoGPT waits for ticket updates, then re-triggers.

Isolation

None.

Multi-Model

No.

08

Ui Cli Surface

ai-ticket — UI & CLI Surface

CLI Binary

None.

Local UI

GitHub Issues web interface serves as the UI.

IDE Integration

None.

Observability

GitHub Issues history is the audit trail.

Related frameworks

same archetype · same primary tool · same memory type

BMAD-METHOD ★ 48k

Provides a full agile delivery lifecycle with named expert-persona AI collaborators that elicit the human's best thinking rather…

Agent OS ★ 4.6k

Extracts implicit codebase conventions into token-efficient markdown standards files and injects them selectively into AI agent…

Claude Conductor ★ 367

Gives Claude Code a persistent, cross-linked, auto-analyzed documentation system so it retains codebase context across sessions.

Spec-Driver (Greenfield Spec-Driven Development) ★ 25

Prevents spec rot in AI-assisted development by making implementation changes flow back into evergreen, authoritative specs via…

Anthropic Knowledge Work Plugins ★ 16k

Role-specialized plugin bundles with live MCP connectors that turn Claude into a domain expert for enterprise knowledge workers.

Codex Integration for Claude Code (skill-codex) ★ 1.3k

Single Claude Code skill that handles Codex CLI invocation correctly (stdin blocking, thinking token suppression, session resume)…