Logo
Learn
  • Explore Course
Build
  • Explore Buildathon
  • Project Archive
Hack
Hack Coming Soon
  • Explore IRL Hackhouse
  • How to Qualify
  • Past Events

0G Forge

A terminal-first agent framework for prompt-to-app workflows on 0G: generate, preview, deploy, and sync with inspectable plan/diff, persistent storage memory, and on-chain registration.

Videos

Description

0G Forge is a terminal-native agent framework and CLI for building, modifying, synchronizing, and deploying AI-generated applications directly on the 0G stack.

The project targets a core bottleneck in the agentic software era: today, autonomous agents can reason and generate code, but they still lack a reusable infrastructure layer for turning multi-step goals into persistent, deployable, verifiable applications. 0G Forge solves this by providing a programmable development substrate that both human developers and autonomous agents can use from the terminal.

At its core, 0G Forge introduces a modular agent runtime built around three extensible primitives:

- AgentLoop — a goal execution engine with reflection-based decision making, allowing agents to continue, retry, skip, or stop after each step

- ToolRegistry — a flexible orchestration layer where agent capabilities can be registered and composed

- MemoryLayer — a backend-agnostic persistence layer for storing agent state, execution history, and long-context progress

These primitives power the included Goal Agent, a working autonomous example that can read a sequence of development goals, execute og create and og edit actions, reflect on the result of each step, persist its memory, and continue toward a finished application. In other words, 0G Forge is not only a developer CLI; it is an agent-native framework for autonomous app creation.

The project deeply integrates 0G’s infrastructure across the full execution lifecycle:

- 0G Compute powers AI inference for prompt-driven code generation and code editing

- 0G Storage stores project metadata, decentralized sync payloads, and persistent agent memory

- 0G Chain anchors verifiable project state through the deployed FrameworkRegistry contract, which records framework registration and the latest sync hash on-chain

Through commands such as og init, og create, og edit, og preview, og sync push/pull, and og deploy vercel, developers can move from an idea to a live application entirely from the terminal. At the same time, agent builders can use the Forge runtime as a foundation for more advanced autonomous coding agents, specialized skills, and long-running AI workflows.

0G Forge directly aligns with the hackathon’s Agentic Infrastructure track by focusing on orchestration, agent frameworks, state persistence, and real 0G-native execution. Rather than presenting AI as a single-prompt coding assistant, it demonstrates how 0G can become the infrastructure layer where autonomous agents continuously build, remember, verify, and ship software.

Progress During Hackathon

<ul><li><p><strong>Built the </strong><code data-inline="true" spellcheck="false">og</code><strong> CLI with init/create/edit/preview/deploy/sync flows and plan+diff pipeline.</strong></p></li><li><p><strong>Implemented forge‑agent runtime (AgentLoop, ToolRegistry, MemoryLayer) and goal‑agent demo.</strong></p></li><li><p><strong>Integrated 0G Compute inference, 0G Storage sync provider, and on‑chain FrameworkRegistry.</strong></p></li><li><p><strong>Deployed FrameworkRegistry on 0G Mainnet and published updated npm package.</strong></p></li><li><p><strong>Finalized frontend landing + docs and demo flow.</strong><br><strong><br><br>During the hackathon, 0G Forge evolved from an initial concept into a working, 0G-native agent framework and CLI with end-to-end functionality.</strong><br><strong>We designed and implemented the full terminal workflow for AI-generated app development, including </strong><code data-inline="true" spellcheck="false">og init</code><strong>, </strong><code data-inline="true" spellcheck="false">og create</code><strong>, </strong><code data-inline="true" spellcheck="false">og edit</code><strong>, </strong><code data-inline="true" spellcheck="false">og preview</code><strong>, </strong><code data-inline="true" spellcheck="false">og deploy vercel</code><strong>, and </strong><code data-inline="true" spellcheck="false">og sync push/pull</code><strong>. This allows developers to move from project scaffolding to code generation, refinement, decentralized synchronization, and deployment directly from the terminal.</strong></p><h3><strong>A major milestone was the development of the </strong><code data-inline="true" spellcheck="false">forge-agent</code><strong> runtime, which turns 0G Forge from a simple CLI into reusable agentic infrastructure. We introduced three core primitives:</strong></h3><h3><strong>- </strong><code data-inline="true" spellcheck="false">AgentLoop</code><strong> for multi-step goal execution with reflection-based decisions</strong></h3><h3><strong>- </strong><code data-inline="true" spellcheck="false">ToolRegistry</code><strong> for registering and composing agent capabilities</strong></h3><h3><strong>- </strong><code data-inline="true" spellcheck="false">MemoryLayer</code><strong> for persistent agent state and execution history</strong></h3><h3><strong>On top of this runtime, we built a working autonomous Goal Agent that can process development goals, execute Forge commands, evaluate each step, retry or skip when needed, persist memory, and continue toward a completed application.</strong></h3><h3><strong>We also completed real 0G protocol integrations:</strong></h3><h3><strong>- Integrated 0G Compute for prompt-driven generation and editing</strong></h3><h3><strong>- Integrated 0G Storage for decentralized metadata sync and agent memory persistence</strong></h3><h3><strong>- Deployed a FrameworkRegistry contract on 0G Chain mainnet to register the framework and store the latest sync hash on-chain</strong></h3><h3><strong>In addition, we created the project’s technical architecture, modular monorepo structure, reproducible demo flow, environment configuration, local run instructions, and full README documentation for judges and developers.</strong></h3><h3><strong>By the end of the hackathon, 0G Forge became a complete prototype of an agent-native development layer on 0G: not just a tool that generates code, but a framework that enables autonomous agents to build, remember, verify, and ship applications.</strong></h3></li></ul>

Tech Stack

SolidityNodeReactWeb3Ethers

Fundraising Status

<p><strong>Not fundraising yet</strong></p>

Team Leader
KKaptan
GitHub Link
github

GitHub

https://github.com/karagozemin/0G-Forge
Product Category
InfraAIOther