{"id":23986537,"url":"https://github.com/icefirelabs/wasm-ipfs-sentientnet","last_synced_at":"2025-04-14T11:06:43.587Z","repository":{"id":234402275,"uuid":"788804121","full_name":"IceFireLabs/WASM-IPFS-SentientNet","owner":"IceFireLabs","description":"WASM-IPFS-SentientNet integrates WebAssembly computing, IPFS storage, and AI Agents into a serverless framework for decentralized applications.","archived":false,"fork":false,"pushed_at":"2025-03-19T23:17:34.000Z","size":7053,"stargazers_count":13,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T11:06:38.731Z","etag":null,"topics":["decentralized-computing","filecoin","framework","ipfs","wasm"],"latest_commit_sha":null,"homepage":"https://wis.icefirelabs.xyz","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IceFireLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-19T05:47:26.000Z","updated_at":"2025-03-12T05:17:01.000Z","dependencies_parsed_at":"2024-04-28T10:29:14.694Z","dependency_job_id":"5eb5df33-e9c9-44ef-8e7d-c9d7eb368c64","html_url":"https://github.com/IceFireLabs/WASM-IPFS-SentientNet","commit_stats":{"total_commits":46,"total_committers":3,"mean_commits":"15.333333333333334","dds":0.5652173913043479,"last_synced_commit":"f4f6e659604468d491f340224e1d97dbcc1ffdf2"},"previous_names":["blockcraftsman/wasm-ipfs-serverless","icefirelabs/wasm-ipfs-sentientnet","icefirelabs/wasm-ipfs-serverless"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IceFireLabs%2FWASM-IPFS-SentientNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IceFireLabs%2FWASM-IPFS-SentientNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IceFireLabs%2FWASM-IPFS-SentientNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IceFireLabs%2FWASM-IPFS-SentientNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IceFireLabs","download_url":"https://codeload.github.com/IceFireLabs/WASM-IPFS-SentientNet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868768,"owners_count":21174757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decentralized-computing","filecoin","framework","ipfs","wasm"],"created_at":"2025-01-07T15:19:28.221Z","updated_at":"2025-04-14T11:06:43.565Z","avatar_url":"https://github.com/IceFireLabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WASM-IPFS-SentientNet: Decentralized Computing and AI Agent Made Simple\n\n![build](https://github.com/IceFireLabs/WASM-IPFS-SentientNet/actions/workflows/build.yml/badge.svg)\n![test](https://github.com/IceFireLabs/WASM-IPFS-SentientNet/actions/workflows/test.yml/badge.svg)\n\n**WASM-IPFS-SentientNet** is an innovative framework that seamlessly integrates **WebAssembly (WASM) computing**, **IPFS storage**, and **AI Agent capabilities** to deliver a robust, serverless solution for decentralized applications (dApps). Designed to empower developers with cutting-edge technologies, this project revolutionizes decentralized computing by combining the efficiency of WASM, the reliability of IPFS, and the intelligence of AI Agents.\n\n![image](https://github.com/user-attachments/assets/df18291c-8075-43c4-bf59-1d5d83f6cb49)\n---\n\n## Key Features and Components\n\n- **WebAssembly Computing**: Harness the power of WebAssembly for efficient, scalable, and portable computation within decentralized applications.\n- **IPFS Integration**: Utilize IPFS for secure, decentralized storage and retrieval of data, ensuring data integrity and availability.\n- **AI Agent Capabilities**: Empower your applications with intelligent decision-making, automation, and multi-agent control powered by AI.\n- **Serverless Architecture**: Embrace a serverless paradigm for flexible, cost-effective deployment of dApps, eliminating the complexities of traditional server management.\n- **Technical Support**: Benefit from seamless integration with **Filecoin-Lassie** for IPFS file retrieval, **Filecoin-IPLD-Go-Car** for IPFS Car file extraction, **Extism** for WASM plugin management, **wazero** for WASM virtual machine, and **Fiber** for high-performance HTTP server capabilities.\n\n---\n\n## How It's Made\n\nHere's a breakdown of how **WASM-IPFS-SentientNet** was built, including the technologies used, their integration, and notable aspects:\n\n### WebAssembly (WASM) Computing\n- **Technology**: Leveraged WebAssembly for its efficient and portable bytecode format, enabling high-performance computing within the serverless environment.\n- **Integration**: Integrated WebAssembly runtime libraries and tools to compile and execute WASM modules seamlessly within the serverless framework.\n\n### IPFS Integration\n- **Technology**: Utilized IPFS (InterPlanetary File System) for decentralized storage and retrieval of data.\n- **Integration**: Integrated IPFS libraries and APIs to interact with the IPFS network, ensuring secure and decentralized data storage and retrieval.\n\n### AI Agent Capabilities\n- **Technology**: Integrated advanced AI frameworks to enable intelligent decision-making, automation, and multi-agent control.\n- **Integration**: Combined AI Agent capabilities with WASM and IPFS to create a powerful, intelligent, and decentralized computing ecosystem.\n\n### Partner Technologies and Benefits\n- **Filecoin-Lassie**: Leveraged for IPFS file retrieval, enhancing data access capabilities within the serverless environment.\n- **Filecoin-IPLD-Go-Car**: Used for IPFS Car file extraction, enabling efficient handling of IPFS Car files within the project.\n- **Extism**: Integrated for WASM plugin management, facilitating extensibility and customization of the serverless environment through WASM plugins.\n- **wazero**: Utilized for WASM virtual machine capabilities, ensuring efficient execution of WebAssembly code within the serverless framework.\n- **Fiber**: Integrated for high-performance HTTP server functionalities, enhancing network communication and HTTP request handling within the serverless environment.\n\n### Notable Aspects\n- **Dynamic IPFS Integration**: Dynamically integrated with IPFS using Filecoin-Lassie and IPFS CID references in the configuration, allowing for seamless interaction with IPFS resources.\n- **AI-Driven Automation**: Enabled intelligent automation and decision-making through AI Agent integration, making decentralized computing smarter and more efficient.\n\n---\n\n## Quick Start\n\n### 1. Clone the Repository\n```bash\ngit clone https://github.com/IceFireLabs/WASM-IPFS-SentientNet.git\n```\n\n### 2. Build the Project\n```bash\ncd WASM-IPFS-SentientNet\nmake\n```\n\n### 3. Adjust Configuration File\n```yaml\napp-type: \"WASM-IPFS-SentientNet-WORKER\"\n\n# The network model of HTTP handle: NetPoll (gin) or RAWEPOLL (fiber)\nnet-model: \"NETPOLL\"\n\n# Process inflow traffic network configuration\nNetWork:\n  bind-network: \"TCP\" # Network transport layer type: TCP | UDP\n  protocol-type: \"HTTP\" # Application layer network protocol: HTTP | RESP | QUIC\n  bind-address: \"127.0.0.1:28080\" # Network listening address\n\n# Runtime debug option\ndebug:\n  enable: false\n  pprof-bind-addr: \"127.0.0.1:19090\"\n\nwasm-modules-files:\n  enable: false\n  path:\n    - \"hello.wasm\"\n\nwasm-modules-ipfs:\n  enable: true\n  lassie-net:\n    scheme: \"http\"\n    host: \"38.45.67.159\" # Filecoin Lassie daemon bind IP (temporary address; visit https://github.com/filecoin-project/lassie for setup)\n    port: 62156 # Filecoin Lassie daemon bind Port\n  cids:\n    - \"QmeDsaLTc8dAfPrQ5duC4j5KqPdGbcinEo5htDqSgU8u8Z\" # WASM IPFS CID\n```\n\n### 4. Load Configuration and Run\n```bash\nWASM-IPFS-SentientNet -c wis_worker.yaml\n```\n\n### 5. Test the IPFS Version of WASM Serverless\n```bash\ncurl -d \"WASM-IPFS-SentientNet\" \"http://localhost:28080\"\n\n👋 Hello WASM-IPFS-SentientNet%\n```\n\n---\n\n## Performance Testing\n\n```bash\nhey -n 1000000 -c 50 -m POST \\\n-d 'WASM-IPFS-SentientNet' \\\n\"http://127.0.0.1:28080\"\n\nSummary:\n  Total:        25.5373 secs\n  Slowest:      0.0360 secs\n  Fastest:      0.0001 secs\n  Average:      0.0013 secs\n  Requests/sec: 39158.4411\n  \n  Total data:   31000000 bytes\n  Size/request: 31 bytes\n\nResponse time histogram:\n  0.000 [1]     |\n  0.004 [995857]        |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■\n  0.007 [3829]  |\n  0.011 [205]   |\n  0.014 [22]    |\n  0.018 [14]    |\n  0.022 [18]    |\n  0.025 [4]     |\n  0.029 [0]     |\n  0.032 [0]     |\n  0.036 [50]    |\n\nLatency distribution:\n  10% in 0.0002 secs\n  25% in 0.0004 secs\n  50% in 0.0014 secs\n  75% in 0.0017 secs\n  90% in 0.0021 secs\n  95% in 0.0024 secs\n  99% in 0.0031 secs\n\nDetails (average, fastest, slowest):\n  DNS+dialup:   0.0000 secs, 0.0001 secs, 0.0360 secs\n  DNS-lookup:   0.0000 secs, 0.0000 secs, 0.0000 secs\n  req write:    0.0000 secs, 0.0000 secs, 0.0135 secs\n  resp wait:    0.0012 secs, 0.0000 secs, 0.0349 secs\n  resp read:    0.0000 secs, 0.0000 secs, 0.0049 secs\n\nStatus code distribution:\n  [200] 1000000 responses\n```\n\n---\n\n## Contributing\n\nWe welcome contributions from the community! To contribute to **WASM-IPFS-SentientNet**:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/your-feature`).\n3. Make your changes and commit them (`git commit -am 'Add new feature'`).\n4. Push your changes to the branch (`git push origin feature/your-feature`).\n5. Create a new Pull Request.\n\n---\n\n## License\n\nThis library is dual-licensed under **Apache 2.0** and **MIT** terms.\n\n---\n\n## ❤️ Thanks for Technical Support ❤️\n\n1. [**Filecoin-Lassie**](https://github.com/filecoin-project/lassie/): Support IPFS file retrieval.\n2. [**Filecoin-IPLD-Go-Car**](https://github.com/ipld/go-car): Support IPFS Car file extraction.\n3. [**Extism**](https://extism.org/): WASM plugin management.\n4. [**wazero**](https://wazero.io/): WASM virtual machine.\n5. [**Fiber**](https://gofiber.io/): High-performance HTTP server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficefirelabs%2Fwasm-ipfs-sentientnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficefirelabs%2Fwasm-ipfs-sentientnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficefirelabs%2Fwasm-ipfs-sentientnet/lists"}