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
Metadata
Release files for agentic-factory 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentic_factory-0.1.0.tar.gz | 175.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentic_factory-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 182.1 kB
Release files / agentic_factory-0.1.0.tar.gz
| Download URL | agentic_factory-0.1.0.tar.gz |
|---|---|
| Size | 175.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82c7d9fc6a7fc9772ee28c2590831e867543700213b1e0a3ab839bf1896cf5ab
|
|
BLAKE2b-256 checksum How to use checksums |
ca1c87d781cfb16f61d1c1f3315b279398fd4e4205cf7c8cd4599611d3d16c37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / agentic_factory-0.1.0-py3-none-any.whl
| Download URL | agentic_factory-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4526eacfc1d5bd990e3b371d75c043725434e63c276134468a5a822732f6fc17
|
|
BLAKE2b-256 checksum How to use checksums |
22216ddb447d2911cf149327e4056529578b071a83badfb6fba62a12c893039f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|