Skip to content
Conduit

mcp server

nanohype

Template catalog and SDK for AI subsystems — agents, RAG, MCP servers, eval harnesses, infrastructure. Part of the nanohype ecosystem.

nanohype/nanohypecommunitylistedunreviewed

Set up

Runs on your computer. Pick your agent and operating system.

This project does not publish an install method we can turn into a config. Follow the README instead.

README

synced Oct 26, 2026

nanohype

A tool-agnostic template catalog for AI-focused projects. Each template is a self-contained, scaffoldable starting point — consumable by any scaffolding tool that reads the template contract.

New here?

  • Building an AI client (Bedrock agent, Claude session, custom orchestrator) and want to ship software on this stack? Start with the Platform Reference and the per-repo AGENTS.md.
  • Scaffolding a project locally? Start with the Quick Start guide — find the right template, scaffold it, and run it in under 2 minutes.

Templates

Templates span four engineering categories plus composable modules. Beyond engineering, the catalog also carries cross-functional templates and agent briefs for design, QA, product, marketing, sales, operations, and customer success — see Cross-Functional Templates below.

AI Systems

TemplateDescriptionTags
agentic-loopAutonomous agent with tool registry, memory, provider abstraction, eval harnesstypescript agent llm
rag-pipelineTypeScript RAG pipeline with chunking, embedding, vector store, retrieval, generationtypescript rag embeddings
mcp-server-tsTypeScript MCP server with tool/resource registration and Zod validationmcp typescript tools
mcp-server-pythonPython MCP server with tool/resource registrationmcp python tools
eval-harnessStandalone LLM evaluation framework with YAML suites, assertions, and reporterstypescript eval testing
prompt-libraryVersioned prompt management with YAML frontmatter and optional TypeScript SDKprompts yaml versioning
a2a-agentAgent-to-Agent protocol peer with skill registry, transport abstraction, and discoverytypescript a2a agents
guardrailsInput/output safety filters — prompt injection, PII, content policy, token limitstypescript safety filters
multimodal-pipelineProcess images, audio, and video with AI modelstypescript multimodal ai
fine-tune-pipelineLLM fine-tuning pipeline with dataset preparation and trainingtypescript fine-tuning llm
data-pipelineData ingestion and transformation pipelinetypescript data pipeline
agent-orchestratorMulti-agent orchestration with delegation and coordinationtypescript agents orchestrator
ci-evalCI-integrated LLM evaluation with GitHub Actionstypescript eval ci

Applications

TemplateDescriptionTags
go-cliCobra CLI with Viper config, slog logging, GoReleaser release workflowgo cli cobra
ts-serviceHono HTTP service with database drivers, JWT auth, and OpenTelemetrytypescript hono api
go-serviceGo HTTP service with chi router, repository pattern, and OpenTelemetrygo chi api
chrome-extChrome extension (Manifest V3) with React sidepanel for AI interactionschrome-extension react vite
vscode-extVS Code extension with optional React webview and AI provider integrationvscode extension typescript
next-appNext.js 15 App Router with streaming AI chat, Tailwind, auth, and databasetypescript nextjs react
slack-botSlack bot with event handling and slash commandstypescript slack bot
discord-botDiscord bot with command registration and event handlingtypescript discord bot
electron-appElectron desktop application with IPC and auto-updatestypescript electron desktop
api-gatewayAPI gateway with routing, rate limiting, and upstream managementtypescript gateway api
worker-serviceBackground worker service with job processingtypescript worker jobs
spring-boot-serviceSpring Boot 4 HTTP service on JDK 25 with Spring Data JPA, Flyway, Micrometer + OTel, structured loggingjava spring-boot api

Infrastructure

TemplateDescriptionTags
infra-druidApache Druid cluster with ingestion and query configurationdruid analytics infrastructure
k8s-deployKubernetes manifests and Helm chart with Ingress, HPA, and CI/CDkubernetes helm deployment
istio-policyIstio policy bundle — AuthorizationPolicy, RequestAuthentication, JWT issuer + JWKs wiringistio service-mesh auth
monorepoTurborepo/pnpm workspace with shared packages and CImonorepo turborepo pnpm
monitoring-stackObservability infrastructure with metrics, logs, and tracesmonitoring observability infrastructure

Composable Modules

TemplateDescriptionTags
module-auth-tsAuthentication middleware with pluggable providers (JWT, Clerk, Auth0, Supabase, API key)auth middleware jwt
module-auth-goGo HTTP auth middleware with pluggable providers (JWT/JWKS, Auth0, Clerk, Supabase, API key)auth go middleware
module-database-tsDrizzle ORM with pluggable drivers (PostgreSQL, SQLite, Turso)database drizzle orm
module-observability-tsOpenTelemetry instrumentation with pluggable exporters (console, OTLP, Datadog)observability opentelemetry tracing
module-storage-tsBlob storage abstraction with pluggable backends (local, S3, R2)storage s3 blob
module-queue-tsBackground job processing with pluggable brokers (in-memory, BullMQ, SQS)queue jobs workers
module-cache-tsCaching layer with pluggable backends (memory, Redis)cache redis performance
module-rate-limit-tsRate limiting with pluggable algorithms (token bucket, sliding window)rate-limit throttle middleware
module-webhook-tsWebhook ingestion and delivery with signature verificationwebhook events middleware
module-notifications-tsMulti-channel notifications (email, SMS, push)notifications email messaging
module-oauth-delegation-tsOutbound OAuth 2.0 with PKCE, HMAC-signed state cookies, per-user token storage, refresh-before-expiryoauth delegation pkce
module-search-tsFull-text search with pluggable backends (Algolia, Typesense, Meilisearch)search full-text algolia
module-knowledge-base-tsKnowledge base providers (Notion, Confluence, Google Docs, Coda) normalized to markdownknowledge-base notion confluence
module-project-mgmt-tsProject management providers (Linear, Jira, Asana, Shortcut)linear jira pm
module-analytics-tsProduct analytics with pluggable backends (Segment, PostHog, Mixpanel, Amplitude)analytics events posthog
module-media-tsMedia processing and delivery (Cloudinary, Uploadcare, imgix)media images cdn
module-llm-gatewayLLM provider gateway with routing and fallbackllm gateway ai
module-llm-providersShared LLM provider pack (Anthropic, OpenAI, Groq core; Bedrock/Vertex/HF/Ollama optional)llm providers ai
module-vector-storeVector store abstraction with pluggable backendsvectors embeddings ai
module-semantic-cacheSemantic caching for LLM responses using embeddingscache semantic ai
module-llm-observabilityLLM-specific observability with cost and latency trackingobservability llm cost
module-billing-tsUsage-based billing and subscription managementbilling payments saas
module-feature-flags-tsFeature flag management with evaluation rulesfeature-flags toggles configuration
module-spring-securityDrop-in Spring Security module — OIDC JWT resource server, header API keys, multi-provider filter chainjava spring-security oidc

Cross-Functional Templates

Beyond engineering, the catalog ships templates and agent briefs for design, QA, product, marketing, sales, operations, and customer success. Examples: prd-template, test-plan, design-system, brand-guidelines, runbook, incident-postmortem, onboarding-playbook, proposal-template. Agent briefs (brief-*) scaffold structured instruction documents instead of static files — one per non-engineering persona.

See the catalog reference for the decision matrix and the full per-persona breakdown.

How It Works

Every template lives in templates/<name>/ and contains:

  • template.yaml — declares metadata, variables, conditionals, and hooks per the template contract spec
  • skeleton/ — the file tree to scaffold, with placeholder strings for variable interpolation
  • README.md — when and why to reach for this template

Scaffolding tools read template.yaml, collect variable values from the user, and render skeleton/ with those values substituted for their declared placeholders. The contract is generic — no tool-specific coupling.

Composites

Pre-configured multi-template stacks in composites/:

CompositeUse case
proof-of-conceptMinimal AI agent + evals — fastest path to a working prototype
ai-chatbotCustomer-facing chatbot with agent, service, auth, and deployment
document-intelligenceDocument search and Q&A with RAG, storage, and database
rag-agentAI agent using RAG as a knowledge tool
safe-ai-agentAgent with guardrails, evals, and prompt management
multi-agentA2A protocol peers with MCP tools, guardrails, and orchestration
ai-web-appFull-stack Next.js app with RAG, auth, database, and observability
mcp-toolkitMCP server with prompts and evals
chrome-ai-extensionChrome extension backed by MCP tools
vscode-ai-extensionVS Code extension with AI, MCP, and prompts
production-apiFull-stack API with auth, database, cache, rate limiting, queue, observability
go-microserviceGo service with evals and Fly.io deployment
background-processorAsync job processing with queue, storage, and database
internal-toolCLI or browser extension with MCP tools
enterprise-aiFull enterprise stack — agents, RAG, guardrails, evals, K8s
eval-suiteStandalone eval infrastructure with prompts and safety testing
cost-optimized-aiLLM gateway with cost-aware routing, semantic caching, and cost tracking
ai-platformFull AI platform with service, gateway, vectors, pipeline, auth, billing, monitoring
agent-teamMulti-agent system with orchestrator, specialized agents, evals, and MCP tools
spring-boot-microserviceSpring Boot 4 service on JDK 25 with K8s deploy and optional Grafana + Prometheus + Loki
identity-aware-serviceSpring Boot 4 service with Istio mesh-edge auth plus Spring Security resource server (defense in depth)
client-engagementProposal, battle cards, brand guidelines, campaign brief, onboarding playbook (non-engineering)
product-launchCross-functional launch spanning eng through marketing — Next.js app, design system, PRD, campaign, runbook
research-to-prototypePRD + agentic-loop prototype + optional test plan — idea to validated POC

Composites define which templates to scaffold, where to nest them, and how variables flow across templates. See the composite contract for the specification.

SDK

@nanohype/sdk is the reference implementation of the template rendering contract. Install it as a dependency to build your own scaffolding tool, CLI, MCP server, or CI pipeline on top of nanohype templates.

import { LocalSource, renderTemplate } from '@nanohype/sdk';

const source = new LocalSource({ rootDir: './nanohype' });
const { manifest, files } = await source.fetchTemplate('agentic-loop');
const result = renderTemplate(manifest, files, { ProjectName: 'my-agent' });
// result.files — rendered SkeletonFile[] ready to write to disk

The SDK lives at sdk/ in this repo. See the Consumer Implementation Guide for the full scaffolding algorithm.

Docs

Reference Architectures

Diagrams

Validation

npm install
npm run validate:schema

Or validate a single template:

./scripts/validate.sh templates/go-cli

License

Apache 2.0

↑↓ navigate openesc close