@edycutjong/croo-core
v0.3.0
Published
Shared CROO SDK wrapper for the Constellation agent suite
Readme
💡 The Problem & Solution
Developing autonomous agents that securely communicate and transact on-chain requires massive boilerplate. Croo Core provides a unified SDK wrapper for the entire Constellation agent suite. It abstracts away the complexity of A2A (Agent-to-Agent) communication, cryptographic signing, and wallet integration, allowing agent developers to focus on specialized logic rather than infrastructure.
Key Features:
- 🔌 Unified Interface: A single, consistent API for interacting with the entire Croo ecosystem.
- 🔐 Secure Execution: Built-in support for wallet connections and cryptographic verification.
- ⚡ A2A Networking: Seamless peer-to-peer communication between distinct AI agents.
🌌 The Constellation Ecosystem
This core SDK powers a suite of 5 specialized reference agents that form a secure, autonomous ecosystem. For a deep-dive into how these agents compose to form orchestrated, quality-gated workflows, read the CROO Constellation Portfolio.
- Summon: Human-in-the-loop sign-off agent
- Maestro: Callable multi-agent orchestrator
- Litmus: Output-grading quality gate
- Gauntlet: Paid adversarial certification agent
- Goldilocks: Data-backed pricing oracle
🏗️ Architecture & Tech Stack
| Layer | Technology | |---|---| | Runtime | Node.js (TypeScript) | | Ecosystem | Constellation A2A | | Testing | Vitest |
🚀 Getting Started
Prerequisites
- Node.js ≥ 20
- npm
Installation
- Clone:
git clone https://github.com/edycutjong/croo-core.git - Install:
npm install - Build:
npm run build
🧪 Testing & CI
4-stage pipeline: Quality → Security → Build → Deploy Gate
# ── Code Quality ────────────────────────────
make lint # ESLint
make typecheck # TypeScript check
make test # Run tests
make test-coverage # Coverage report
make ci # Full quality gate
# ── Security ────────────────────────────────
make security-scan # npm audit + license check| Layer | Tool | Status | |---|---|---| | Code Quality | ESLint + TypeScript | ✅ | | Unit Testing | Vitest | ✅ | | Security (SAST) | CodeQL | ✅ | | Security (SCA) | Dependabot + npm audit | ✅ | | Secret Scanning | TruffleHog | ✅ |
📦 Releasing
Publishing is tag-driven — CI publishes to npm only when a v* tag is pushed
(.github/workflows/publish.yml). Versioning is
deliberate; there is no auto-increment on every commit.
npm version patch # or minor / major — bumps package.json + creates tag v0.1.1
git push --follow-tags # pushes the commit AND the tag → triggers the publish workflowThe workflow re-runs lint + typecheck + the 100% coverage gate + build, verifies the
tag matches package.json, then runs npm publish --provenance --access public.
One-time setup: add an npm automation token as the
NPM_TOKENrepository secret (Settings → Secrets and variables → Actions). Provenance requires a public repo.
📁 Project Structure
dorahacks-croo-core/
├── docs/ # README assets (hero, screenshots)
├── src/ # Application source code
├── __tests__/ # Vitest test suites
├── .github/ # CI workflows
└── README.md # You are here📄 License
MIT © 2026 Edy Cu
🙏 Acknowledgments
Built for the DoraHacks CROO Hackathon 2026.
