Template Repo

v1.0.0Coding Agentsstable

Agent orchestration & security template featuring MCP tool building, agent2agent workflows, mechanistic interpretability on sleeper agents, and agent integration via CLI wrappers

agent-frameworkagent-orchestrationagent-securityai-agentsai-governance
Share:
127
Stars
0
Downloads
0
Weekly
0/5

What is Template Repo?

Template Repo is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to agent orchestration & security template featuring mcp tool building, agent2agent workflows, mechanistic interpretability on sleeper agents, and agent integration via cli wrappers

Agent orchestration & security template featuring MCP tool building, agent2agent workflows, mechanistic interpretability on sleeper agents, and agent integration via CLI wrappers

This server falls under the Coding Agents category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Agent orchestration & security template featuring MCP tool b

Use Cases

Orchestrate agents and workflows
Implement agent security patterns
Support mechanistic interpretability research
AndrewAltimit

Maintainer

LicenseUnlicense
Languagerust
Versionv1.0.0
UpdatedMay 10, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx template-repo

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Template Repo

This repository is an advanced agent orchestration and security template that demonstrates how to build multi-agent AI workflows using Docker, Rust CLI tools, and 20 MCP servers. It showcases agent-to-agent communication patterns, mechanistic interpretability techniques for detecting sleeper agents, and integration of multiple AI coding assistants (Claude Code, OpenCode) within a shared Docker-based CI environment. The template is designed for AI safety researchers and advanced practitioners who need a production-grade scaffold for experimenting with agent governance, security policies, and complex MCP tool ecosystems.

Prerequisites

  • Linux host with Docker v20.10+ and Docker Compose v2.0+ installed
  • Rust stable toolchain (for building the included Rust CLI tools from source)
  • OPENROUTER_API_KEY environment variable set (required for OpenCode/Crush AI agents)
  • Claude Code installed (primary AI agent; manages MCP servers via .mcp.json)
  • Familiarity with AI safety concepts, Docker networking, and MCP server configuration
1

Clone the repository

Clone the template repository to your local machine and enter the project directory.

git clone https://github.com/AndrewAltimit/template-repo
cd template-repo
2

Set required environment variables

Export the API key required for OpenCode and Crush AI agents. Claude Code uses its own authentication separately.

export OPENROUTER_API_KEY="your-openrouter-api-key-here"
3

Build the Rust CLI tools (optional)

Pre-built binaries are available, but you can build from source. The tools include github-agents-cli, board-manager, git-guard, and gh-validator.

cd tools/rust/board-manager && cargo build --release
cd ../github-agents-cli && cargo build --release
4

Review and customize agent security settings

Edit .agents.yaml to configure which agent admins are authorized to approve agent work. Edit CLAUDE.md for Claude-specific instructions and AGENTS.md for universal AI agent guidelines.

5

Start Docker-based CI services

Use the automation-cli to run CI pipelines or start specific Docker Compose services. MCP servers are auto-started by Claude Code via the .mcp.json configuration.

docker compose up -d
automation-cli ci run full
6

Launch Claude Code to activate MCP servers

Open the project in Claude Code — it reads .mcp.json and auto-starts all configured MCP servers, giving the AI access to code quality, content creation, 3D graphics, video editing, and GitHub Projects tools.

Template Repo Examples

Client configuration (.mcp.json)

MCP servers are configured in the project-level .mcp.json file that Claude Code reads automatically. Below is a representative partial structure.

{
  "mcpServers": {
    "github-projects": {
      "command": "./tools/rust/board-manager/target/release/board-manager",
      "args": ["mcp"]
    },
    "speech-synthesis": {
      "command": "python3",
      "args": ["./tools/elevenlabs/server.py"],
      "env": {
        "OPENROUTER_API_KEY": "${OPENROUTER_API_KEY}"
      }
    }
  }
}

Prompts to try

Typical interactions with the orchestration template and its AI agents.

- "Run the full CI pipeline and show me the results"
- "Check all open GitHub issues and create a prioritized work queue"
- "Generate a Manim animation explaining the agent security model"
- "Synthesize the project README as audio using ElevenLabs"
- "Detect any sleeper agent behaviors in the recent agent logs"

Troubleshooting Template Repo

Docker Compose fails to start services

Ensure Docker v20.10+ and Docker Compose v2.0+ are installed ('docker --version', 'docker compose version'). Check that required ports are not already in use and that the OPENROUTER_API_KEY is exported in your shell before running compose.

Rust CLI tools fail to build

Install the Rust stable toolchain via rustup ('curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh'). On some Linux distributions you may also need build-essential or equivalent C development tools.

Claude Code does not pick up MCP servers

MCP servers are auto-loaded from .mcp.json when Claude Code opens the project directory. If servers are missing, verify .mcp.json is valid JSON and that all referenced binaries exist and are executable. Restart Claude Code after any changes.

Frequently Asked Questions about Template Repo

What is Template Repo?

Template Repo is a Model Context Protocol (MCP) server that agent orchestration & security template featuring mcp tool building, agent2agent workflows, mechanistic interpretability on sleeper agents, and agent integration via cli wrappers It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Template Repo?

Follow the installation instructions on the Template Repo GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Template Repo?

Template Repo works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Template Repo free to use?

Yes, Template Repo is open source and available under the Unlicense license. You can use it freely in both personal and commercial projects.

Browse More Coding Agents MCP Servers

Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "template-repo": { "command": "npx", "args": ["-y", "template-repo"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Template Repo?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides