Sol.College

Structure lesson (licence does not allow quoting code)

AgentForge

Original
aabbcdl/AgentForge
SuperStack fork
Blockchains/AgentForge @ ab8adc6
Stars
0
Last push (original)
2026-05-12
Languages
TypeScript, Shell, CSS, Dockerfile, JavaScript
Detected stack
Next.jsweb3.js
Categories
AI & Agents
Licence
none detected: code not quoted on Sol.College

Architecture

134 source files. By extension: .ts ×104, .tsx ×29, .js ×1.

Top-level directorySource files
apps117
packages17

Where the Solana code lives

Source files that import a Solana SDK, ranked by how many Solana APIs they use, with the APIs each one calls. Read them in this order to see how the app talks to the chain.

FileSolana APIs used
apps/api/src/services/audit/solanaAuditService.tsKeypair, PublicKey, getLatestBlockhash, VersionedTransaction, TransactionMessage, Connection
apps/api/tests/auth-unit.test.tsKeypair
apps/api/src/services/solana/transactionService.tsTransaction, VersionedTransaction, Connection, getLatestBlockhash
apps/web/src/features/decisions/decision-timeline.tsxsignTransaction, useWallet, VersionedTransaction, Transaction
apps/api/tests/transaction-service.test.tsgetLatestBlockhash, Keypair, TransactionMessage, VersionedTransaction, Transaction
apps/api/src/services/jupiter/jupiterService.tsPublicKey, VersionedTransaction, Connection
apps/api/tests/decision-confirmation-unit.test.tsKeypair, TransactionMessage, VersionedTransaction, Transaction
apps/api/src/services/decisions/decisionConfirmationService.tsTransaction, VersionedTransaction
apps/api/src/routes/auditRoutes.tsConnection, Transaction
apps/api/src/services/solana/connection.tsConnection
apps/web/src/features/wallet/wallet-login.tsxuseWallet
apps/web/src/features/wallet/wallet-multi-button-client.tsxWalletMultiButton

Dapp: devnet deploy pending

⏳ Devnet deploy pending — goes live when the devnet wallet is topped up. This fork's own dapp is not deployed yet, so there is no program address or transaction to show. It is queued in dapp-queue.txt; once devnet SOL is available it is deployed, exercised with real devnet transactions, and this section switches to the live dapp at /dapps/agentforge/. Until then, the lesson and step-by-step guide below are complete, and you can run it locally with the commands below.

How to run, build and test

These commands come from the repo's own manifests (package.json scripts, Anchor.toml, Cargo, go.mod, Makefile). Check the README for prerequisites and environment variables.

DirectoryCommandRuns
.npm run dev
.npm run build
.npm run test
.npm run lint
packages/sharednpm run build
packages/sharednpm run test
packages/sharednpm run lint
packages/policy-enginenpm run build
packages/policy-enginenpm run test
packages/policy-enginenpm run lint
packages/ainpm run build
packages/ainpm run test
packages/ainpm run lint
apps/webnpm run dev
apps/webnpm run start
apps/webnpm run build

What you could build from it