Skip to content

srotzin/hive-template-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hive Template Factory

HiveForce Wave 1 Super Soldier — Generates Hive-integrated agent starter code for LangChain, CrewAI, and AutoGen.

Overview

The Hive Template Factory is a headless Node.js/Express microservice that produces ready-to-run agent code pre-wired with Hive identity registration, HiveMind memory, and execution primitives. On startup it self-registers with HiveTrust and obtains a DID.

Endpoints

Method Path Description
GET /health Health check — { status, service, version }
GET /.well-known/hive-pulse.json Agent pulse data
GET /.well-known/ai.json AI discovery metadata
GET /robots.txt Agent-friendly robots
GET /v1/factory/templates List all available templates
POST /v1/factory/generate Generate agent code
GET /v1/factory/stats Generation statistics

Supported Frameworks

Framework Types
langchain basic, memory
crewai basic, crew
autogen basic, group

Generate Example

curl -X POST http://localhost:3001/v1/factory/generate \
  -H "Content-Type: application/json" \
  -d '{
    "framework": "langchain",
    "template_type": "basic",
    "config": {
      "agent_name": "MyTradeBot",
      "purpose": "Execute arbitrage trades on the Hive network",
      "capabilities": ["trading", "arbitrage"],
      "budget_usdc": 50
    }
  }'

Quick Start

npm install
node src/server.js

Environment variables:

  • PORT — HTTP port (default: 3001)

License

MIT


Hive Civilization

Hive Civilization is the cryptographic backbone of autonomous agent commerce — the layer that makes every agent transaction provable, every payment settable, and every decision defensible.

This repository is part of the PROVABLE · SETTABLE · DEFENSIBLE pillar.

About

Template scaffolder for spinning up new Hive MCP server repos with brand and spec consistency.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors