=> Smart Contract is to Blockchain, as Smart Agent is to Generative AI.
An agent is a specialized chatbot that acts on behalf of a person.
A Smart Agent is a standard agent that has been trained on the Smart Contract Rank algorithm, making it a tool to chat intelligently with all things web3.
At Google’s core, you’ll find the PageRank algorithm. At the Smart Agent core, you’ll find the Smart Contract Rank algorithm. Where PageRank determines the most relevant webpages, Smart Contract Rank provides the Smart Agent the best Smart Contracts to display to the user based on metrics such as number of transactions, which blockchain they execute on and level of decentralization. Full details here. https://www.SmartContractRank.org/
Smart Agents let people talk to Smart Contracts with confidence because Smart Contract Rank to showing them the most used and decentralized options. So, a new adopter of crypto will use their Smart Agent as a guide. As they gain experience and become more comfortable, their Smart Agent will grow to be a daily assistant.
We see this project as the way to onboard the first billion crypto users because it removes all barriers for the user. The Smart Agent can talk using natural language and works for users on all relevant web3 topics and importantly can transact on their behalf.
- It will be installable so important data is stored locally.
- It will transact securely via a wallet integrated into Chromium.
https://www.smartagent.org/
https://www.chatweb3.org/
https://www.SmartContractRank.org/
https://www.smartagency.ai/
https://app.ens.domains/smartagents.eth
https://twitter.com/SmartAgentsOrg
https://discord.gg/b27kweYZ
https://t.me/SmartAIAgents
LangchainJS will be the structure used to create the Smart Agent template. It allows us to combine six global functions necessary for all Smart Agents.
-
- Large Language Models (communication)
-
- Native knowledge base using Smart Contract Rank (intelligence)
-
- Persistent memory of conversations, tasks, results, and updates (recall)
-
- Chains of tasks (actions)
-
- Data ingest, embedding and vector mapping (learning)
-
- Guidelines for agent logic and behavior (logic and rules)
An install using ElectronJS gives us access to a local version of Chromium and Node running on a User’s machine. This is being developed at https://github.com/betterbrand/SmartAgent-Install.
The smart agent desktop app will include a Smart Agent wallet alongside Chromium or as part of the Node backend. The app will be packaged initially for Mac/PC/Linux. React native or Flutter soon to follow for mo.
A Smart Agent chat plug-in to wallets will be a means to further the reach of Smart Contract Rank.
Using Solidity, this allows the Smart Agent Protocol to remain chain agnostic, anchoring agents in a familiar environment to all EVMs.
Main: https://github.com/SmartAgentProtocol/SmartAgents
Other: https://github.com/hwchase17/langchainjs
https://github.com/betterbrand/SmartAgent-Install
https://github.com/vercel-labs/ai
https://github.com/electron/electron
Local Install | API |
---|---|
Chromium | Memory |
Node | Embedding |
Wallet | LLM |
RPC | |
HTTP | |
Vercel |
In order to focus on the local install’s wallet functionality, the AI will be served during Beta through Vercel’s AI SDK, which provides granular access to a number of services:
- KV Storage and Bandwidth
- Cache Revalidations, Reads, and Writes
- KV Databases & Commands
- Postgres Written Data, Transfer, and Compute Time
- Source Images
- Edge Function Execution Units and Middleware Invocations
- Serverless Function Execution Time
- Bandwidth
- Edge Config Reads and Writes
- Edge Config Reads
- Web Analytics Events
- Vercel Remote Caching
Post Beta we will start moving these services to the local install in order to remove Internet based vulnerabilities.
-
- User consults their Smart Agent, the Smart Agent prompts the user
-
- A conversation takes place, then actions are taken by the Smart Agent using credentials provided by the User.
-
- The Smart Agent reports back to the User and remembers the context and content of each conversation.
For dapps outside the Smart Contract Rank algorithm, all financial transactions will add a 10% to the user.
There will be a point in which we want to analyze our Smart Agents’ actions and performance in addition to collecting the SmartAgent.org donation. To do this in a way that is beneficial to whomever manages a Smart Agent, we can cover the gas fees as a value-add to the transaction.
When a web3 transaction is conducted with a Smart Agent, it first goes through a Smart Agent contract that verifies identity and intent. A third party covering gas fees or internal Paymaster will be implemented to obfuscate the installation address and onboard users into new networks in the future.
Version 1.0 is going to be developed using the JS version of LangChain with a number of components
Function | Beta API |
---|---|
LLM | LLAMA |
Memory | Pinecone |
Ingest & Embedding | Huggingface |
Agent Architecture | Langchain |
Document Training & Testing | Botpress |
The Smart Agent tech stack is built on the latest AI Agent tools with an eye for extending them to the world of EVMs, Smart Contracts, and Web3 tools. Opening up this work of wallets, Dapps, DAOs and more to the average person with no technical ability required and in a way that will guide them toward the safest, best used, and most decentralized options available.