Skip to main content
Glama

Julius Hub

MIT License Python 3.11+ FastAPI React 19 Tailwind Dark UI Docker GHCR

Overview

Julius Hub is an autonomous Junior AI Coder Runner and Tech Lead Cockpit designed to streamline the development process. It follows the Junior/Senior Coder pattern, where Junior personas (Bolt, Palette, Sentinel) execute isolated worktree tasks under 50 lines of code. The Senior Tech Lead supervises, reviews diffs, approves/discards changes, or escalates to the Antigravity IDE via the Chrome DevTools Protocol (CDP) Bridge on port 9000.

Related MCP server: GenieOS MCP Server

Architecture and Core Components

Hub Components

  • hub/scanner.py: Discovers registered repositories.

  • hub/worktree_manager.py: Manages zero-dirty git worktrees in /home/federico/jules/worktrees/<repo>-<mode>.

  • hub/engine_router.py: Routes tasks to different engines:

    • Flash: Cloud Gemini Flash.

    • Local: Local Ollama RTX 5070 Ti (http://localhost:11434).

    • Hybrid: Local pre-screening + Cloud execution with fallback.

  • hub/cdp_bridge.py: Handles Chrome DevTools Protocol (CDP) bridge for 1-click escalation to Antigravity Senior Coder.

  • hub/app.py: FastAPI backend on port 4100, serving Server-Sent Events (/api/events) for real-time telemetry.

UI Components

  • ui/: React + Vite + Tailwind Dark Cockpit served on port 4100.

CLI Entry Point

  • curator.py: Provides CLI commands for run, fix-ci, knowledge, list, status, and cleanup.

Quickstart and Docker Deployment

To deploy Julius Hub using Docker, follow these steps:

  1. Create a compose.yaml file:

    version: '3.8'
    
    services:
      julius-hub:
        image: ghcr.io/cavuminfundo/julius-hub:latest
        network_mode: host
        environment:
          - PORT=4100
          - CDP_PORT=9000
          - OLLAMA_HOST=http://localhost:11434
  2. Run the Docker Compose command:

    docker-compose up -d

Local Development and Testing

For local development and testing, use the following commands:

  1. Sync dependencies:

    uv sync
  2. Run tests:

    uv run pytest tests/ -q
  3. Start the FastAPI backend:

    uv run uvicorn hub.app:app --host 0.0.0.0 --port 4100

License

Julius Hub is licensed under the MIT License. See the LICENSE file for more details.


Note: Ensure that all dependencies and configurations are correctly set up before running the application.

Available Tools

13 tools
approve_session_planApprove Session PlanC

Approve the generated plan for a session in a single native MCP call.

Inputs: session_id (required), _meta. Returns: object

clean_completed_sessionsClean Completed SessionsB

Scans all sessions and deletes completed, terminated, failed, or inactive sessions automatically.

Inputs: _meta. Returns: object

create_sessionCreate SessionC

Create a new Jules session for a given source and prompt.

Inputs: prompt (required), source (required), _meta, title, +2 more. Returns: object

delete_sessionDelete SessionB

Delete a completed or terminated session by ID.

Inputs: session_id (required), _meta. Returns: object

get_activityGet ActivityC

Get details for a single activity by ID.

Inputs: session_id (required), activity_id (required), _meta. Returns: object

get_all_sourcesGet All SourcesC

Get all sources with optional filtering (auto-pagination).

Inputs: _meta, filter_str. Returns: object

get_sessionGet SessionB

Get details for a single session by ID or resource name.

Inputs: session_id (required), _meta. Returns: object

get_sourceGet SourceC

Get details for a single source by ID.

Inputs: source_id (required), _meta. Returns: object

list_activitiesList ActivitiesC

List activities for a specific session.

Inputs: session_id (required), _meta, page_size, page_token. Returns: object

list_all_activitiesList All ActivitiesC

List all activities for a session with automatic pagination.

Inputs: session_id (required), _meta. Returns: object

list_sessionsList SessionsC

List sessions with optional automatic pagination to retrieve sessions natively.

Inputs: _meta, fetch_all, page_size, page_token. Returns: object

list_sourcesList SourcesC

List sources with optional filter and pagination.

Inputs: _meta, page_size, filter_str, page_token. Returns: object

send_session_messageSend Session MessageC

Send a user message (prompt) to an existing session.

Inputs: session_id (required), _meta, prompt, message. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 13 tools

    Disambiguation2/5

    Several tools have unclear boundaries, especially list_activities vs list_all_activities and list_sources vs get_all_sources, which appear to perform nearly the same listing operation with only subtle pagination differences. Descriptions do not clearly explain when to choose one over the other.

    Naming Consistency4/5

    Most names follow a consistent snake_case verb_noun pattern (list_sessions, get_session, create_session, delete_session). Minor deviations exist: get_all_sources uses 'get' for a list operation, and list_all_activities/list_activities plus list_sources/get_all_sources introduce inconsistent list vs get_all phrasing.

    Tool Count4/5

    13 tools is reasonable for a session/activity/source management server. However, the redundant auto-pagination variants slightly inflate the count, meaning not every tool clearly earns its place.

    Completeness4/5

    Core session lifecycle is covered with create, get, list, delete, bulk cleanup, plan approval, and messaging. Activities and sources are read/list-oriented, which may be appropriate if they are externally managed, but there is no update or termination operation beyond delete.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Exposes any stdio-based MCP server to the internet via HTTP/SSE transport, enabling remote agents to access MCP tools over a network.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI clients to interact with EDA projects via natural language by wrapping EDI's gRPC interface, CLI tools, and ANSYS HFSS as MCP tools supporting SSE and stdio transports.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Coordinate and verify OpenCode worker agents over MCP Streamable HTTP. The bridge lets compatible AI harnesses dispatch scoped work, inspect progress, run approved commands, and verify results through a safe worker-only endpoint.
      4
      PolyForm Noncommercial 1.0.0