Metadata-Version: 2.5
Name: fabrikant
Version: 0.2.2
Summary: fabrikant — a local software factory: agentic development loops as YAML specs
Project-URL: Homepage, https://github.com/didaskomathetes/fabrikant
Project-URL: Source, https://github.com/didaskomathetes/fabrikant
Project-URL: Issues, https://github.com/didaskomathetes/fabrikant/issues
Project-URL: Documentation, https://github.com/didaskomathetes/fabrikant/tree/main/docs
License: Apache-2.0
License-File: LICENSE
Keywords: agents,automation,ci,llm,software-factory,workflow
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.11
Requires-Dist: alembic>=1.13
Requires-Dist: cryptography>=50.0.2
Requires-Dist: jsonschema>=4.21
Requires-Dist: mcp<3,>=2.3
Requires-Dist: pyyaml>=6.0
Requires-Dist: ruamel-yaml>=0.19.1
Requires-Dist: sqlalchemy>=2.0
Provides-Extra: injection-llm-guard
Requires-Dist: torch>=2.4; extra == 'injection-llm-guard'
Requires-Dist: transformers<6,>=5.10; extra == 'injection-llm-guard'
Provides-Extra: oidc
Requires-Dist: pyjwt[crypto]>=2.8; extra == 'oidc'
Description-Content-Type: text/markdown

# fabrikant — the software factory

Define agentic development loops as YAML specs, run them locally, steer them from the web UI or a chat. One
engine process (`fabrikant serve`) watches triggers and executes loops; the UI at `http://127.0.0.1:8321` shows
projects, loops, runs, live logs and a chat interface.

**Key idea: autonomy with gates.** The conductor is deterministic code, agents are replaceable workers. Git
projects run in isolated worktrees, results go out as a branch + PR (never a push to `main`), and loops run on
their own — only steps you mark as critical (`approval: true`) pause until a human approves.

## How it fits together

Deployment-neutral view: every box is a replaceable component behind a port, so the same engine runs on a laptop,
a server or (via a different run launcher) a cluster.

![fabrikant architecture](https://raw.githubusercontent.com/didaskomathetes/fabrikant/main/docs/images/architecture.png)

Agents never reach the internet directly: all egress goes through the allowlist proxy, and results leave as a
branch + PR on the code host. Component details: [architecture](https://github.com/didaskomathetes/fabrikant/blob/main/docs/architecture.md).

## Install

Python 3.11+:

```bash
pip install fabrikant
# or: docker run -p 8321:8321 -v fabrikant-data:/data ghcr.io/didaskomathetes/fabrikant
```

## Getting started

> **Some recommended features are off by default**, for a safe and simple default setup: the agent sandbox,
> an approval step before every merge, API authentication and passing PR review threads to agents. Check
> [recommended opt-ins](https://github.com/didaskomathetes/fabrikant/blob/main/docs/getting-started.md#recommended-opt-ins) before you point fabrikant at a real repository.

```bash
mkdir my-factory && cd my-factory
fabrikant init                          # projects/hello.fabrikant.yaml, fabrikant.env, plugins/ skeleton
fabrikant validate                      # check the specs
fabrikant run hello greet               # run the hello example once
fabrikant serve                         # engine + UI + scheduler on http://127.0.0.1:8321
```

Next steps: [getting started](https://github.com/didaskomathetes/fabrikant/blob/main/docs/getting-started.md).

A spec is a few lines of YAML (the hello example, bundled with `fabrikant init`):

```yaml
name: hello
root: .
loops:
  greet:
    tier: 1
    steps:
      - {type: shell, name: say-hello, cmd: "echo hello from fabrikant"}
```

Custom steps are plain Python packages registered via the `fabrikant.steps` entry point
([docs/plugins.md](https://github.com/didaskomathetes/fabrikant/blob/main/docs/plugins.md)). All commands: [docs/cli.md](https://github.com/didaskomathetes/fabrikant/blob/main/docs/cli.md).

## Documentation

The full index is [docs/README.md](https://github.com/didaskomathetes/fabrikant/blob/main/docs/README.md). Highlights:

- [Architecture overview](https://github.com/didaskomathetes/fabrikant/blob/main/docs/architecture.md) and [roadmap](https://github.com/didaskomathetes/fabrikant/blob/main/docs/roadmap.md)
- [Configuration](https://github.com/didaskomathetes/fabrikant/blob/main/docs/configuration.md) · [spec reference](https://github.com/didaskomathetes/fabrikant/blob/main/docs/spec-reference.md) · [step types](https://github.com/didaskomathetes/fabrikant/blob/main/docs/steps.md) · [triggers and alerts](https://github.com/didaskomathetes/fabrikant/blob/main/docs/triggers.md)
- [Agent backends](https://github.com/didaskomathetes/fabrikant/blob/main/docs/backends.md) · [runs](https://github.com/didaskomathetes/fabrikant/blob/main/docs/runs.md) · [relay tasks](https://github.com/didaskomathetes/fabrikant/blob/main/docs/relay.md)
- [Chat and LLM providers](https://github.com/didaskomathetes/fabrikant/blob/main/docs/chat.md) · [HTTP API](https://github.com/didaskomathetes/fabrikant/blob/main/docs/api.md) · [MCP server](https://github.com/didaskomathetes/fabrikant/blob/main/docs/mcp.md) · [authentication](https://github.com/didaskomathetes/fabrikant/blob/main/docs/auth.md) · [security](https://github.com/didaskomathetes/fabrikant/blob/main/docs/security.md)
- [Operations](https://github.com/didaskomathetes/fabrikant/blob/main/docs/operations.md) (systemd, workers, worktrees) · [development](https://github.com/didaskomathetes/fabrikant/blob/main/docs/development.md) · [releasing](https://github.com/didaskomathetes/fabrikant/blob/main/docs/releasing.md)
- [Architecture decisions (ADRs)](https://github.com/didaskomathetes/fabrikant/blob/main/docs/adr/README.md)

## License

Apache 2.0 — see [LICENSE](https://github.com/didaskomathetes/fabrikant/blob/main/LICENSE). Contributions: [CONTRIBUTING.md](https://github.com/didaskomathetes/fabrikant/blob/main/CONTRIBUTING.md); security reports: [SECURITY.md](https://github.com/didaskomathetes/fabrikant/blob/main/SECURITY.md). Third-party packages can extend fabrikant through the step plugin contract
([docs/plugins.md](https://github.com/didaskomathetes/fabrikant/blob/main/docs/plugins.md)).
