Skip to main content

Aegis Python SDK

Install locally with pip install -e sdk/python. The SDK never stores a private key. aegis init records only public identifiers and addresses in a mode-0600 state file so an interrupted setup can resume.

export AEGIS_API_KEY=aegis_...
aegis init --name my-agent --owner 0x... --signer 0x... \
  --chain-id 11155111 --policy-file sdk/python/examples/minimal-sepolia-policy.json
aegis doctor AGENT_UUID --permission-id PERMISSION_UUID

Use permission_calldata(permission_id, calldata) to create the exact Aegis permission envelope. Never select a permission by “newest”; pass the permission UUID or on-chain bytes32 ID explicitly and run doctor immediately before use.

build_execute and build_execute_batch encode policy-only account calls. estimate_userop preserves the bundler's raw RpcError.data for diagnosis; sign_userop uses the EIP-191 encoding expected by the account; and submit_userop sends the fully estimated and signed v0.6 operation.

Release files for aegis-smart-accounts 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aegis-smart-accounts 0.1.0
File Size Uploaded
aegis_smart_accounts-0.1.0.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aegis-smart-accounts 0.1.0
File Interpreter ABI Platform
aegis_smart_accounts-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / aegis_smart_accounts-0.1.0.tar.gz

Download URL aegis_smart_accounts-0.1.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3648e2b832f130c0f3eedd75aa485a626fafc1c090b65b9a729b7676f16917bd
BLAKE2b-256 checksum
How to use checksums
91bd2101e971997bc03853e108463fc96a1f5225171b9cc9138482644aacbc31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / aegis_smart_accounts-0.1.0-py3-none-any.whl

Download URL aegis_smart_accounts-0.1.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5515392d679d12f794c2cb46b470821ef4b92607f86f0150ef638581fc59ff3
BLAKE2b-256 checksum
How to use checksums
18884dcb718af16258b4bff8a13e25799912b9ccba8c54350a4de23d9ba53548
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.5.0

2 release files

0.4.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.0 This release

2 release 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