Skip to main content

Security and governance layer for AI agent tool access

Project description

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

Factorly

PyPI License: GPL-3.0 MCP GitHub Docs

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

Factorly is a local proxy between your AI agent and the tools it uses. Secrets stay in an encrypted vault. Every call is logged. Governance rules let you deny destructive operations, require approval for writes, rate-limit calls, and detect agent loops. REST APIs, CLI commands, and MCP servers — one config, one audit log, one set of rules.

Install

pip install factorly

Quick Start

# 1. Install a template (36 services: GitHub, Slack, Stripe, Linear, Gmail, ...)
factorly tools import templates github

# 2. Store your credentials in the encrypted vault
factorly vault set GITHUB_TOKEN ghp_xxxxxxxxxxxx

# 3. Connect to your agent (auto-detects Claude Code, Cursor, Codex)
factorly sync

The agent never sees your GitHub token. Factorly injected it, made the API call, logged it, and returned the data.

Already Using an MCP Server?

Wrap it with Factorly — no config file needed, no changes to the server:

factorly wrap -- npx @modelcontextprotocol/server-github

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 proxyfactorly 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

License

GPL-3.0

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

factorly-0.3.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

factorly-0.3.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file factorly-0.3.2.tar.gz.

File metadata

  • Download URL: factorly-0.3.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for factorly-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b47f178d0c50bca0eb7186a0ca9b7df20938d4a064a1190266469e0b307e00e5
MD5 d93ae7206bb730b0ffc795b0c188bb3f
BLAKE2b-256 589b53045f75a3148875e5dd3f3c94f7a76fecde03130abcb2f1f8514fd0cace

See more details on using hashes here.

File details

Details for the file factorly-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: factorly-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for factorly-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cce3f3a057b00af3df6ccdf25ba82becfd257d282da1e7050e1c7fb467e05e1a
MD5 68449d52e9cb417f2e6aaa37258d4cbb
BLAKE2b-256 ddcbbdc102936b849c13fbdf79b0fde71c545c6a3a3f141fd4a5a61e44a36df1

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