Skip to main content

Infrastructure, container images, and reusable GitHub Actions for autonomous AI agents

Project description

agentic-factory

Infrastructure, container images, and reusable GitHub Actions for autonomous AI agents.

What This Is

A toolbox repo that provides the foundation for running AI agents. Agents themselves live in other repos — this repo builds:

  • Container images — layered Docker images with common dev tools + AI CLI tools (Claude Code, OpenCode, pi-coding-agent)
  • Shared composite action — reusable GitHub Action that any agent repo can reference
  • Infrastructure provisioning — Ansible playbooks for setting up self-hosted runners on Hetzner Cloud or MacBook
  • Agent tooling — Python package with CLI tools for agent communication (Discord notifications, etc.)

Quick Start

Using the Container Images

# In your agent repo's workflow:
jobs:
  agent:
    runs-on: [self-hosted, claude-agent]
    container:
      image: ghcr.io/ondrasek/agent-runtime-claude:latest
      env:
        CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
    steps:
      - uses: actions/checkout@v4
      - uses: ondrasek/agentic-factory/.github/actions/run-agent@main
        with:
          tool: claude-code
          prompt: "Review this PR for issues"
          post-to: pr
          post-number: ${{ github.event.pull_request.number }}

Available Images

Image Description
ghcr.io/ondrasek/agent-runtime-base Ubuntu 24.04 + Python, Node.js, git, gh, uv
ghcr.io/ondrasek/agent-runtime-claude Base + Claude Code CLI
ghcr.io/ondrasek/agent-runtime-opencode Base + OpenCode CLI
ghcr.io/ondrasek/agent-runtime-pi Base + pi-coding-agent

Discord Notifications

Agents can post to Discord using the af-discord CLI (included in all images):

af-discord send --channel agent-results "Code review complete for PR #42"
af-discord send --channel agent-results --title "Agent: Reviewer" --status success "LGTM"

Development

uv sync
uv run pytest
uv run ruff check .

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentic_factory-0.1.0.tar.gz (175.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentic_factory-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file agentic_factory-0.1.0.tar.gz.

File metadata

  • Download URL: agentic_factory-0.1.0.tar.gz
  • Upload date:
  • Size: 175.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agentic_factory-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82c7d9fc6a7fc9772ee28c2590831e867543700213b1e0a3ab839bf1896cf5ab
MD5 4ecfe0817e19c42e0e228b0b8400cfcf
BLAKE2b-256 ca1c87d781cfb16f61d1c1f3315b279398fd4e4205cf7c8cd4599611d3d16c37

See more details on using hashes here.

File details

Details for the file agentic_factory-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agentic_factory-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for agentic_factory-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4526eacfc1d5bd990e3b371d75c043725434e63c276134468a5a822732f6fc17
MD5 49ed316e3a57230ea609d304e369ed84
BLAKE2b-256 22216ddb447d2911cf149327e4056529578b071a83badfb6fba62a12c893039f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page