Author: Professor Codephreak | Org: AgenticPlace | PYTHAI
Contracts: daio/contracts/inft/ | UI: mindx.pythai.net/inft
Standard: ERC-721 (OpenZeppelin v5) | Solidity: ^0.8.20
See also: DAIO Governance | CORE Architecture | Book of mindX | Agent Registry
iNFT.solIntelligentNFT.solIntelligentNFTFactory.solIIntelligentNFT.solToken name: Immutable THOT | Symbol: iTHOT
An immutable ERC-721 representing a THOT (Transferable Hyper-Optimized Tensor) stored on IPFS. Once minted, the tensor data cannot be changed. CID uniqueness is enforced — no duplicate THOTs.
Data Structure:
struct ThotData {
bytes32 dataCID; // IPFS CID hash of the tensor
uint8 dimensions; // 64, 512, or 768 (THOT standard)
uint8 parallelUnits;// Processing units
uint40 timestamp; // Creation block timestamp
bool verified; // Verification status (true on mint)
}
Functions:
mint(address recipient, bytes32 dataCID, uint8 dimensions, uint8 parallelUnits) → uint256getThotData(uint256 tokenId) → ThotDatatokenURI(uint256 tokenId) → stringEvents:
ThotMinted(uint256 indexed tokenId, bytes32 indexed dataCID, uint8 dimensions, uint40 timestamp)THOT Dimension Standard — modular via _isValidDimension() in THOT.sol:
uint32 dimensions — supports up to 4,294,967,295. New dimensions added by extending _isValidDimension() only.
Extends DynamicNFT with agent interaction hooks, autonomous behavior, and AgenticPlace marketplace integration. This is the full iNFT — an NFT that can interact with AI agents and exhibit on-chain intelligence.
Intelligence Configuration:
struct IntelligenceConfig {
address agentAddress; // Agent wallet authorized to interact
bool autonomous; // Can the agent act without owner approval
string behaviorCID; // IPFS CID pointing to behavior definition
string thotCID; // Optional THOT tensor for intelligence
uint256 intelligenceLevel; // 0-100 intelligence level
}
NFT Metadata (inherited from DynamicNFT):
struct NFTMetadata {
string name;
string description;
string imageURI;
string externalURI;
string thotCID; // THOT artifact reference
bool isDynamic; // Can metadata be updated
uint256 lastUpdated; // Block timestamp of last update
}
Functions:
mintIntelligent(address to, NFTMetadata nftMetadata, IntelligenceConfig intelConfig) → uint256mintWithAgent(address to, address agentAddress, string initialURI) → uint256agentInteract(uint256 tokenId, bytes interactionData)triggerIntelligence(uint256 tokenId, bytes input) → bytesupdateIntelligence(uint256 tokenId, IntelligenceConfig newConfig)updateAgent(uint256 tokenId, address newAgent)linkTHOT(uint256 tokenId, string thotCID)intelligence(uint256 tokenId) → IntelligenceConfigofferSkillOnMarketplace(uint256 tokenId, uint256 price, bool isETH, address paymentToken, uint40 expiresAt)setAgenticPlace(address)Inherited from DynamicNFT:
mint(address, NFTMetadata) → uint256updateMetadata(uint256, NFTMetadata)freezeMetadata(uint256)metadata(uint256) → NFTMetadatafrozen(uint256) → boolEvents:
AgentInteraction(uint256 indexed tokenId, address indexed agent, bytes interactionData)IntelligenceUpdated(uint256 indexed tokenId, IntelligenceConfig config)MetadataUpdated(uint256 indexed tokenId, NFTMetadata) (inherited)MetadataFrozen(uint256) (inherited)AgenticPlaceUpdated(address indexed old, address indexed new) (inherited)Deploys new IntelligentNFT collections. Tracks all deployments by address.
deployIntelligentNFT(string name, string symbol, address agenticPlace) → addressgetDeployedContracts(address deployer) → address[]getTotalContracts() → uint256Events:
INFTDeployed(address indexed deployer, address indexed contract, string name, string symbol, uint256 timestamp)Foundry (preferred):
# Deploy iNFT (immutable THOT)
forge create --rpc-url $RPC_URL --private-key $KEY daio/contracts/inft/iNFT.sol:iNFT
Deploy IntelligentNFTFactory
forge create --rpc-url $RPC_URL --private-key $KEY daio/contracts/inft/IntelligentNFTFactory.sol:IntelligentNFTFactory
Deploy IntelligentNFT collection via factory (or directly)
forge create --rpc-url $RPC_URL --private-key $KEY \
--constructor-args "mindX Agents" "mXA" $OWNER $AGENTICPLACE \
daio/contracts/inft/IntelligentNFT.sol:IntelligentNFT
Toolchain Agents: SolidityFoundryAgent (preferred) | SolidityHardhatAgent
The AutoMINDX Agent generates iNFT-compatible JSON metadata for AI agent personas, bridging off-chain intelligence with on-chain representation.
The AutoMINDX Agent creates intelligent NFT metadata for AI agent personas, enabling immutable agentic inception on blockchain networks.
agents/automindx_agent.py)inft_exports/ directory for blockchain-ready filesexport_persona_as_inft_metadata(): Creates comprehensive iNFT-compatible JSON metadataexport_all_personas_as_inft(): Batch export of all personas as blockchain-ready filescreate_blockchain_publication_manifest(): Generates complete publication manifest_generate_a2a_protocol_hash(): Creates standardized cross-platform hashes_extract_persona_capabilities(): LLM-powered capability identification_extract_persona_traits(): Cognitive trait analysis_calculate_complexity_score(): Sophistication assessment algorithm{
"name": "mindX Persona: [Persona Name]",
"description": "An intelligent NFT representing an AI agent persona...",
"image": "ipfs://[IPFS_Hash]",
"external_url": "https://mindx.ai/personas",
"intelligence_metadata": {
"type": "agent_persona",
"platform": "mindX",
"cognitive_architecture": "BDI_AGInt",
"persona_text": "[Complete persona text]",
"persona_hash": "[SHA-256 hash]",
"token_id": "[Deterministic ID]",
"capabilities": ["strategic_planning", "..."],
"cognitive_traits": ["analytical", "..."],
"complexity_score": 0.87,
"a2a_compatibility": {
"protocol_version": "2.0",
"agent_registry_compatible": true,
"blockchain_ready": true
}
},
"attributes": [
{"trait_type": "Complexity Score", "value": 0.87},
{"trait_type": "Platform", "value": "mindX"}
],
"blockchain_metadata": {
"mindx_agent_registry_id": "automindx_agent_main",
"immutable_hash": "[Content hash]",
"a2a_protocol_hash": "[Protocol hash]"
}
}
official_agents_registry.jsonofficial_tools_registry.json structurescripts/test_automindx_inft.pydata/memory/agent_workspaces/automindx_agent_main/inft_exports/
├── blockchain_publication_manifest.json (2,382 bytes)
├── persona_mastermind_inft.json (2,367 bytes)
├── persona_audit_and_improve_inft.json (2,425 bytes)
└── persona_security_auditor_specializing_in_blockchain_smart_contract_vulnerabilities_inft.json (3,562 bytes)
14463138427131029122c8b763c53e7266823c866fd6003bf666b5bfc1c17acdd5b81d65c4a492c4d332afbc19da42264dad7ba43c605fff1c86602c6dbf463978873adb6d9a82ae585f13461243950555687097 bacff20d63bf68b9c81ffb2a1b75ea0930bf3325d1bffb740a45d9b5efbcc644d64a01b56d6774c33cdc3dcc18163413ef44d4d7ab87fd2e0f86d042add5f8afautomindx_agent_main with cryptographic identity0xCeFF40C3442656D06d0722DfB1e2b2A62D1C1d76contract MindXPersonaCollection is ERC721 {
struct PersonaMetadata {
string personaHash;
string a2aProtocolHash;
address creatorAgent;
uint256 complexityScore;
string[] capabilities;
}
mapping(uint256 => PersonaMetadata) public personaData;
function mintPersona(
address to,
uint256 tokenId,
string memory metadataURI,
PersonaMetadata memory metadata
) external onlyMinter;
}
AutoMINDX Agent → A2A Protocol → mindX Registry → Blockchain Publication
Persona Text → LLM Analysis → Capability Extraction → Trait Identification → Complexity Scoring → Cryptographic Hashing → iNFT Metadata → Blockchain Ready
Agent Identity → Registry Validation → Cryptographic Signature → A2A Protocol Hash → Immutable Publication
docs/automindx_agent.md: Comprehensive iNFT capabilities documentationdocs/automindx_and_personas.md: Blockchain integration and future implementationdocs/AUTOMINDX_INFT_SUMMARY.md: This comprehensive summaryThe AutoMINDX iNFT implementation represents a paradigm shift in AI agent architecture, successfully bridging traditional autonomous systems with blockchain-based economic models.
Key Achievements:
This enhancement positions mindX at the forefront of the emerging blockchain-AI convergence, creating the foundation for a new economy of intelligent, autonomous, and tradeable AI agents.
The future of AI is not just autonomous—it's ownable, tradeable, and immutably verifiable.