Starknet to bring on AI agents that can carry out on-chain activity


Ethereum layer-2 blockchain Starknet will soon allow artificial intelligence (AI) agents on its blockchain that can autonomously perform on-chain activities for users, such as optimizing yield and re-allocating portfolios.

Giza — a firm aiming to bring AI to blockchains — raised $3 million in a pre-seed round led by CoinFund in July 2023 and is spearheading the effort. Co-founder Renç Korzay told Cointelegraph that AI agents would be deployed on Starknet by the end of June, with other chains to follow.

Korzay said the agents could take over four activities, the first being yield aggregating — finding “where the highest return is and depositing to different yield avenues.”

Later releases will see the AI agents also be a “robo-advisor and figure out the best portfolio allocation for a user given their risk appetite,” said Korzay.

In the beta phase, the Giza team will be auditing and approving agent strategies to ensure security. In the future, Agents will become completely permissionless through the Giza Protocol, which will provide both cryptographic and cryptoeconomic security to ensure a trust-minimized exchange between developers and users.

They can also autonomously provide liquidity on decentralized exchanges or make leveraged price bets and “predict price movements,” adjusting crypto holdings “based on the strategy set by the user,” he added.

The yield-optimizing AI agents will be the first to deploy, with the other types to follow, according to a May 9 press release shared with Cointelegraph.

It’s billed as “low-cost and low-computation,” and it can max out returns by buying or selling assets so they stay at the same weighting in a portfolio on lending platforms that it can directly use and sign off on transactions.

“As all accounts on Starknet are smart contracts — via the network’s native account abstraction features — this allows for proofs to be verified directly within the contract,” Giza explained.

Three-month Starknet active users chart. March saw activity spike as it conducted a token airdrop. Source: Starkscan

The AI models are built with the Starknet programming language Cairo and “verify complex computations” using Zero-Knowledge Scalable Transparent Argument of Knowledge and zero-knowledge proofs (ZK-proofs) created by Starknet development firm StarkWare.

ZK-proofs allow for information to be shared and authenticated while maintaining user privacy.

Related: Philosopher Yuval Noah Harari warns of AI’s risks in finance

Giza co-founder Cem Dagdelen said in a statement the company expects agents will “become the new application layer for Web3, abstracting away smart contract risks and complexities from users.”

However, the agents aren’t limited to just crypto and blockchain. According to Giza, they can also help “highly regulated sectors” cut oversight costs by using models to check “the validity of their outputs.”

Ava Labs founder Emin Gün Sirer said at a recent blockchain conference he thinks AI-backed smart contract coding is five to 10 years away and, when it arrives, could “onboard billions of new [blockchain] users.”

Meanwhile, Ethereum co-founder Vitalik Buterin has cautioned developers that it’s “worth treading carefully” when adding AI to blockchains, saying AI can help humans understand what is happening on-chain, but it shouldn’t be tasked with enforcing smart contract rules.

Magazine: How to control the AIs and incentivize the humans with crypto