Skip to main content

AgentSecure Community

By ShellFrame AI

PyPI CI License

AgentSecure lets AI coding agents use credentials without exposing the real secret values to the agent.

Why AgentSecure

AI coding agents can access .env files, shell environments, MCP configuration, and local credentials. Ignore files are not a security boundary. AgentSecure keeps real secrets outside the agent's normal project and MCP context.

Quick Start

Run these commands from the project you want to protect.

1. Install AgentSecure

uv tool install agentsecure

2. Optionally scan the project

agentsecure scan .

The scan is local and does not change the project.

3. Run guided setup once

For Claude Code:

agentsecure start --client claude

Follow the printed MCP configuration step, then start Claude Code normally:

claude

For Codex:

agentsecure start --client codex --install-mcp

Then start Codex normally:

codex

agentsecure start is guided one-time project setup. It initializes the project, offers to move .env secrets into the local vault, writes persistent agent guidance, and prints or installs the selected MCP configuration.

It is not a persistent background service. After setup finishes, start Claude Code or Codex normally. You do not normally wrap the agent with agentsecure run.

How It Works

  1. During setup, real secrets are moved into the local AgentSecure vault.
  2. Project files receive aliases or safe placeholders instead of real values.
  3. The coding agent starts and runs normally.
  4. Secret-bearing requests use the AgentSecure MCP tool.
  5. AgentSecure validates the destination and injects the real secret while sending the request outside the agent's context.

Security Boundaries

AgentSecure helps protect against:

  • exposing raw secrets to the coding agent through the default MCP flow;
  • keeping real secrets in agent-readable project files;
  • sending protected secrets to destinations that are not approved by policy.

AgentSecure is not:

  • a complete operating-system sandbox;
  • a VM or container;
  • protection from an attacker who already controls the local user or machine;
  • a replacement for endpoint, identity, network, or cloud security controls.

The local user and machine remain inside the trust boundary. See the security model and limitations for the full threat model.

Documentation

License

Licensed under the Apache License 2.0. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentsecure-0.1.23.tar.gz (139.2 kB view details)

Uploaded Source

Built Distribution

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

agentsecure-0.1.23-py3-none-any.whl (141.2 kB view details)

Uploaded Python 3

File details

Details for the file agentsecure-0.1.23.tar.gz.

File metadata

  • Download URL: agentsecure-0.1.23.tar.gz
  • Upload date:
  • Size: 139.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agentsecure-0.1.23.tar.gz
Algorithm Hash digest
SHA256 80342478c7d6ae45af14e4d54328ad9515bfbde25652c537c76a08c64153f790
MD5 fdba26d9621360fb32f94d185396fdee
BLAKE2b-256 393984d3ff11c181fc53835642931c1b3e888becbb447a81847192f14343bf94

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsecure-0.1.23.tar.gz:

Publisher: publish-pypi.yml on ShellFrameAI/agentsecure-community

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentsecure-0.1.23-py3-none-any.whl.

File metadata

  • Download URL: agentsecure-0.1.23-py3-none-any.whl
  • Upload date:
  • Size: 141.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agentsecure-0.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 cda330241d616d91d40b3d331dc1ca2225adf2c871e9ea0361ced58d48ad9fef
MD5 56427f2bd1fc97ab62aceee5e9eda38b
BLAKE2b-256 b6c8cfe528ea04245bafe28b68f9a675f9cbb5c7c101205f72c3e9a037ac00c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentsecure-0.1.23-py3-none-any.whl:

Publisher: publish-pypi.yml on ShellFrameAI/agentsecure-community

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.23 This release

2 files

0.1.22

2 files

0.1.21

2 files

0.1.20

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page