Metadata-Version: 2.4
Name: factorly
Version: 0.2.0
Summary: Security and governance layer for AI agent tool access
License: MIT
Project-URL: Homepage, https://github.com/factorly-dev/factorly
Project-URL: Documentation, https://github.com/factorly-dev/factorly/tree/main/docs
Project-URL: Repository, https://github.com/factorly-dev/factorly
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

One command. All your tools. Credentials stay out of your agent's hands.

Factorly sits between your AI agent and the tools it uses. Secrets stay in an encrypted vault. Every call is logged. Governance rules control what the agent can do. REST APIs, CLI commands, and 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](https://github.com/factorly-dev/factorly)

## License

MIT
