Metadata-Version: 2.4
Name: factorly
Version: 0.1.10
Summary: Security and governance layer for AI agent tool access
License: MIT
Project-URL: Homepage, https://github.com/factorly-dev/factorly-cli
Project-URL: Documentation, https://github.com/factorly-dev/factorly-cli/tree/main/docs
Project-URL: Repository, https://github.com/factorly-dev/factorly-cli
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Requires-Python: >=3.8
Description-Content-Type: text/markdown

```
░█▀▀░█▀█░█▀▀░▀█▀░█▀█░█▀▄░█░░█░█
░█▀▀░█▀█░█░░░░█░░█░█░█▀▄░█░░░█░
░▀░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀░▀░▀▀▀░▀░
```

# Factorly

Your agent calls tools. Factorly holds the keys.

A security and governance layer between AI agents and the tools they use. REST APIs, CLI commands, MCP servers — one config, one audit log, one set of rules.

## Install

```bash
pip install factorly
```

Or with pipx:

```bash
pipx install factorly
```

## Try It in 10 Seconds

```bash
# Run any command with compression + logging
factorly exec -- git status

# Wrap any MCP server with zero config
factorly wrap -- npx @modelcontextprotocol/server-everything

# Install a template for a service you use
factorly tools import templates github
```

## Quick Start

```bash
factorly init                              # set up a project
factorly vault set GITHUB_TOKEN ghp_xxx    # store a secret
factorly sync                              # connect to Claude Code / Cursor
```

## What You Get

- **Credential isolation** — secrets in encrypted vault, agent never sees them
- **Governance** — deny, confirm, rate limit, loop detection per tool
- **Audit log** — every call logged with params, response, and governance outcome
- **36 templates** — pre-built configs for GitHub, Slack, Stripe, Gmail, Linear, and more
- **Zero-config proxy** — `factorly wrap` and `factorly exec` add safety instantly

## Supported Platforms

| OS | Architecture |
|----|-------------|
| Linux | x64 |
| macOS | x64, arm64 |
| Windows | x64 |

The pip package downloads the pre-built Go binary for your platform on first run.

## Documentation

Full docs at [github.com/factorly-dev/factorly-cli](https://github.com/factorly-dev/factorly-cli)

## License

MIT
