Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ deploy/

# Claude Code
.claude/
python/.venv/
python/__pycache__/
**/__pycache__/
3 changes: 2 additions & 1 deletion icp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ canisters:
configuration:
path: .icp/icrc1-ledger.wasm.gz
candid: .icp/icrc1-ledger.did
init_args: .icp/ckusdc-ledger-init.candid
init_args:
path: .icp/ckusdc-ledger-init.candid

networks:
- name: local
Expand Down
21 changes: 21 additions & 0 deletions python/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# agentflow Python SDK — environment variables
# Copy to .env and fill in your values

# Required: 32-byte Ed25519 private key seed as hex (64 hex chars)
# Generate one: python -c "from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey; print(Ed25519PrivateKey.generate().private_bytes_raw().hex())"
IC402_PRIVATE_KEY_HEX=

# Required: ICP canister principal to interact with
# Example canister (local): use `dfx canister id example` after deploying
IC402_CANISTER_ID=

# Optional: CAIP-2 network identifier (default: icp:1 = mainnet)
# Use "icp:local" or leave as icp:1 for mainnet
IC402_NETWORK=icp:1

# Optional: ICP replica URL (default: mainnet)
# For local dev: http://localhost:4944
AGENTFLOW_IC_URL=https://icp-api.io

# Optional: set to "true" to use mock responses without a live canister
IC402_SIMULATION=false
Loading