Skip to main content

Security and governance layer for AI agent tool access

Project description

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

Factorly

PyPI License: GPL-3.0 MCP GitHub Docs

Stop giving your AI agents your API keys.

Factorly is a local proxy between your AI agent and the tools it uses. Secrets stay in an encrypted vault on your device. Every call is logged, governed, and rate-limited.

Install it, and your agent has safe access to GitHub, Slack, Stripe, and 30+ more services, plus any CLI or MCP server, in under a minute.

Install

pip install factorly

Quick Start

Then, define your tools, secure your credentials, and sync with your agent:

# 1. Configure your tools or install a template (36 services: GitHub, Slack, Stripe, Linear, Gmail, ...)
factorly init

# 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 credentials. 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

Same tools, same interface. Now every call is logged, output is compressed, loops are detected, and calls are rate-limited.

What You Get

  • Encrypted vault — AES-256-GCM with per-entry encryption, secrets never leave your device
  • Governance — deny destructive operations, require confirmation for writes, rate-limit calls, detect agent loops
  • 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
  • Output compression — compresses JSON, deduplicates logs, truncates to head + tail to save tokens

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.6.2.tar.gz (4.2 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.6.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for factorly-0.6.2.tar.gz
Algorithm Hash digest
SHA256 9a578c3ad44d78cb72b837363f39ccb413cd1baa7f9eddce593e0c88e4d83440
MD5 e990fb776a544030a1a60e0c8a946ed0
BLAKE2b-256 59befdda52505504ce6d4873aebf3473591fb715acb6bfbdbf4c6f6919761531

See more details on using hashes here.

File details

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

File metadata

  • Download URL: factorly-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 59bfd98932510d864da8ad0462273811a37c2c7e225aa411f3f5befebbc08863
MD5 53c9dad6ecaa0c574807e9aad4d0311a
BLAKE2b-256 5bd55f79e87d999181a7faf90b7668fe24ae103059022e97a2e5a1e4ecabe1b0

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