Skip to content
Night Brownie Night Brownie

API Reference

Top-level package for night-brownie.

Modules:

  • __main__

    Night Brownie CLI entrypoint.

  • config

    YAML config loader and Pydantic validation for Night Brownie.

  • containers

    Docker container lifecycle management for agent containers.

  • credentials

    Credential injection and environment variable resolution.

  • executor

    Translates DecisionMessage actions into GitHub API calls.

  • llm

    LLM backend abstraction layer.

  • logging_info

    Logging processors for structlog.

  • memory

    SQLite-backed memory: action_log and memory_summary.

  • middleware

    Custom middleware for night-brownie.

  • otel

    Open Telemetry configuration.

  • poller

    Asyncio polling loop for GitHub repositories.

  • protocol

    Pydantic models for the harness↔agent message protocol.

  • queue

    SQLite-backed task queue for the queue-mediated agent protocol.

  • router

    Routes GitHub events (repo + event_type) to agent URLs.

  • routers

    Router submodule.

  • server

    Night Brownie FastAPI application and dispatch loop.

  • settings

    Configuration for Night Brownie.