AI Agent Economic Operating Layer on Solana β A comprehensive full-stack platform for deploying, managing, and monetizing AI agents on Solana blockchain.
Build, deploy, and earn with AI agents on Solana
CORGENTIC is a modular, open-source monorepo providing a complete ecosystem for AI agents:
- π― Dashboard β Web interface for agent management and marketplace
- π API Server β RESTful backend for agent lifecycle management
- π» CLI β Command-line tools for deployment and configuration
- π¦ SDK β JavaScript/TypeScript client library
- ποΈ Database β Drizzle ORM schema and migrations
- βοΈ Shared Libraries β API specs, validation, and React hooks
- Frontend: React, TypeScript, Vite, Tailwind CSS
- Backend: Express.js, TypeScript, Pino logging
- Database: Drizzle ORM with PostgreSQL support
- Auth: Privy for Web3 authentication
- Blockchain: Solana ecosystem
- Package Manager: pnpm workspaces
- Runtime: Node.js >=18.17.0
corgentic/
βββ artifacts/
β βββ api-server/ # Express API server
β βββ cogentic/ # React web dashboard
βββ lib/
β βββ api-client-react/ # React hooks for API integration
β βββ api-spec/ # API type specifications
β βββ api-zod/ # Zod validation schemas
β βββ db/ # Database schema & migrations
βββ packages/
β βββ cli/ # Command-line interface
β βββ sdk/ # JavaScript/TypeScript SDK
βββ scripts/ # Build and utility scripts
- Node.js: >=18.17.0
- pnpm: >=8.15.0
# Clone the repository
git clone https://github.com/corgentic-dev/corgentic.git
cd corgentic
# Install dependencies
pnpm install# Start all services in development mode
pnpm dev
# Or start individual services:
pnpm dev:api # API server on http://localhost:8080# Build all packages
pnpm build
# Type checking
pnpm type-check
# Linting
pnpm lint
# Testing
pnpm test
# Clean build artifacts
pnpm cleanExpress.js server providing RESTful API endpoints for agent management, fee routes, marketplace, treasury, and token operations.
Key Routes:
/agentsβ Agent management/marketplaceβ Agent marketplace/tokensβ Token operations/treasuryβ Treasury management/fee-routesβ Fee configuration/healthβ Health checks
Features:
- CORS and rate limiting middleware
- Authentication via Privy
- Structured logging with Pino
- Helmet security headers
Start Development:
pnpm dev:apiReact-based dashboard providing UI for:
- Agent registry and management
- Marketplace publishing
- Token launches
- Dashboard analytics
- Documentation and API references
Start Development:
pnpm dev:webCommand-line interface for managing CORGENTIC agents:
corgentic agent [command] # Agent operations
corgentic marketplace [cmd] # Marketplace actions
corgentic token [command] # Token management
corgentic treasury [command] # Treasury operations
corgentic deploy [command] # Deploy agents
corgentic login # AuthenticateJavaScript/TypeScript client library for programmatic access:
import { CorgenticClient } from '@corgentic/sdk';
const client = new CorgenticClient({
baseURL: 'https://api.corgentic.com'
});
// Use SDK for agent management, marketplace, tokens, etc.Drizzle ORM configuration and schema definitions for:
- Agent records
- Marketplace listings
- Treasury transactions
- Token data
- User profiles
Setup:
cd lib/db
pnpm migrate- api-client-react β React hooks for API integration (
useAgents,useMarketplace,useTokens, etc.) - api-spec β Centralized API type definitions
- api-zod β Zod schemas for runtime validation
β¨ Agent Management β Deploy and manage AI agents on Solana
π° Marketplace β Publish and discover agents with monetization
πͺ Token Launch β Create and manage agent tokens
π³ Fee Routes β Configure and track fee distribution
ποΈ Treasury β Manage collective treasury and rewards
π Web3 Auth β Privy-powered wallet authentication
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
pnpm dev # Start all services
pnpm dev:api # Start API server
pnpm dev:web # Start web dashboard
pnpm build # Build all packages
pnpm type-check # TypeScript type checking
pnpm lint # Run ESLint
pnpm test # Run tests
pnpm clean # Clean build artifacts and node_modulesMIT
For questions, issues, or feedback, please open an issue on GitHub or reach out to the team.
Built with β€οΈ for the Solana ecosystem