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.6.tar.gz (188.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.6-py3-none-any.whl (98.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: probiotic-0.3.6.tar.gz
  • Upload date:
  • Size: 188.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for probiotic-0.3.6.tar.gz
Algorithm Hash digest
SHA256 bb7c43581c6365f451e689b61f77c0863e6a56dd2f0bbdc54c89e5469d5d2bd5
MD5 bdea39a257fb089dc66088ec0b7406d3
BLAKE2b-256 2316bb038c7ae9edda4920bad2de0109bbe331a20afc6cb745cdad178d9471bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: probiotic-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 98.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for probiotic-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c7d353e81a929b5a19ac8a7a47587b260cb6fa7c0b0eb60d8811707d3e666347
MD5 61d96bf1df5c180d49ac041645e79ada
BLAKE2b-256 9bc710d74e8dc6c0dbe042d0d2bd16ca2e58fab9fe2f6ca7fde4e48c65277165

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