Skip to main content

Autonomous self-improving agent framework for code repositories

Project description

Probiotic

Probiotic is a lightweight runtime for repository-native autonomous agents.

It provides:

  • a DNA runtime that installs as a Python package
  • repo-local cells under symbiont/cells/
  • a nightly scheduler
  • optional hive reporting and prompt improvement distribution

Status

This project is currently alpha.

The v2 loop implemented in this repo includes:

  • prompt hashing based on shareable prompt text
  • passive approval metrics from local run history
  • hive prompt snapshot storage
  • analyzer-generated prompt patches
  • nightly apply_updates() before cell execution

Install

Until the package is published to PyPI, install it from GitHub or from a built wheel:

pip install git+https://github.com/penthoy/probiotic.git

or

pip install probiotic-0.1.0-py3-none-any.whl

CLI

probiotic init
probiotic init --self-host
probiotic spawn janitor --template janitor
probiotic doctor
probiotic run-nightly
probiotic connect-hive http://<host>:8000 --api-key <key>
probiotic update-check
probiotic install-worker

probiotic install-worker adds a low-cost cron watchdog for the resident Hive job worker. The worker uses outbound long polling, so dashboard jobs reach an online host in a few seconds without opening an inbound port.

Use probiotic init --self-host only when the current repository is hosting Probiotic itself. Self-host mode injects a host safety policy into every cell, enforces protected control-plane paths, and expects the CLI to run from an installed wheel or tool environment outside the repo checkout. Run probiotic doctor before scheduling cells on a self-hosted repo.

Development

uv sync --extra dev --extra hive-server
uv run pytest
uv build

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

probiotic-0.3.0.tar.gz (174.5 kB view details)

Uploaded Source

Built Distribution

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

probiotic-0.3.0-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

Details for the file probiotic-0.3.0.tar.gz.

File metadata

  • Download URL: probiotic-0.3.0.tar.gz
  • Upload date:
  • Size: 174.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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":null}

File hashes

Hashes for probiotic-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a5bb81b754cc8f6d90c3a10fa7dc47540ae8e981bf7a969553bda60f8a23c84b
MD5 5b7851b5488cac3ca1a09a12384321df
BLAKE2b-256 4752c7dcf9ebfa9afd97b21c8899ba181b6347bdcc7566d6996e3108be881609

See more details on using hashes here.

File details

Details for the file probiotic-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: probiotic-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 90.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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":null}

File hashes

Hashes for probiotic-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe9b5b616e1df8aecb13477648e20442bfdd859040409e5b8191a5d3648451bd
MD5 b7f175abe4c75a6861a25e0e3b0f7b7e
BLAKE2b-256 39ecd0b59a82658b99d84b2c780105d91cf5c5052d3e0e6ebce38a5e8f37a627

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