Open Source Alternatives LogoOpen Source Alternatives
AlternativesBlogAdvertise
Open Source Alternatives LogoOpen Source Alternatives

Stay Updated

Subscribe to our newsletter for the latest news and updates about Alternatives

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Product
  • Categories
  • Tag
  • Sign In
Resources
  • Blog
  • Collection
  • Submit
  • Advertise your tool
Company
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap
Alternatives
  • Superhuman
  • Notion
  • Slack
  • Linear
  • Airtable
  • Wispr Flow
  • All alternatives
Copyright © 2026 All Rights Reserved.
Home/Categories/AI & Machine Learning/teamai-cli
icon of teamai-cli

teamai-cli

Manage your team's AI skills, rules, and MCP configs across Claude Code, Codex, Cursor, and other agents via a shared git-backed config layer.

3K starsTypeScriptMITActive this week
Visit websiteGitHub repo
image of teamai-cli
Contents
  1. 01Who teamai-cli is for
  2. 02The problem it solves
  3. 03How it solves it
  4. 04Strengths and trade-offs
  5. 05teamai-cli vs alternatives
  6. 06Install and self-host
  7. 07Tech stack
  8. 08FAQ
  9. 09Similar open-source tools
TL;DR

teamai-cli TeamAI CLI manages AI agent configuration across a whole engineering team by storing skills, rules, MCP settings, hooks, and docs in a shared git repository and syncing them to every member's local AI tools. It replaces the ad-hoc approach of each developer maintaining their own CLAUDE.md or Cursor rules in isolation, bringing the same push/review/pull discipline to AI config that teams already apply to code. MIT licensed and git-hosted, it works with Claude Code, Codex, Cursor, CodeBuddy, and several other agents without requiring a proprietary platform. Best for engineering teams that have started writing AI agent rules and want a versioned, reviewable process for sharing them.MIT · TypeScript · 3K stars · Active this week

who it's for

Who teamai-cli is for#

Engineering teams using Claude Code or Codex

TeamAI distributes CLAUDE.md fragments, skills, hooks, and MCP configs from a shared repo to every developer's local Claude Code or Codex environment. A SessionStart hook runs `teamai pull` automatically, so each session starts with the latest team standards without any manual steps.

Skip if:

If your team is not using any agentic AI coding tools or is on a single-user setup, TeamAI's sharing model has nothing to distribute.

Platform engineers managing AI agent standards

Admins configure role-to-namespace mappings and tag-based subscriptions once, then any new skill or rule pushed to the team repo propagates to exactly the members who need it. The `teamai status` command shows each member's local vs. team repo diff, making it easy to audit alignment.

Skip if:

If you need real-time config enforcement rather than pull-based sync, note that TeamAI updates land on session start, not continuously.

Developers capturing hard-won debugging knowledge

The friction-based learning capture scores sessions for signals like AI retries and user interruptions. When a session involved real problem-solving, TeamAI suggests running `/teamai-share-learnings` to summarize and push a structured learning document to the team repo. Future sessions can search it via `teamai recall`.

Skip if:

If your sessions are mostly routine code generation with no significant debugging, the friction scoring will rarely trigger and the recall knowledge base will grow slowly.

Teams running multiple AI coding agents

TeamAI covers Claude Code, Codex, Cursor, CodeBuddy, OpenCode, and other agents from one shared repo. Skills and rules written once are distributed to whichever agents each team member uses, removing the need to maintain separate configuration files per tool.

Skip if:

If your team has standardized on a single agent that has a built-in team sync feature, TeamAI's multi-agent breadth adds setup overhead without benefit for that specific setup.

the problem

The problem it solves#

Engineering teams using AI coding agents accumulate configuration in isolation. Each developer has their own CLAUDE.md, their own Cursor rules file, their own MCP tools configured locally. When one person figures out an effective skill or a useful coding standard for the AI, they have no channel to distribute it. Other team members either repeat the same discovery process or never benefit from it.

The challenge compounds as teams adopt more agents. A team running Claude Code and Cursor simultaneously has two separate configuration systems with no shared layer. Skills written for one agent do not transfer to another. And when team standards evolve, updating everyone's local configs is a manual, error-prone process. Teams with a strong knowledge-sharing culture still find that AI agent configuration is the one area where everything stays siloed.

how teamai-cli solves it

How it solves it#

Cross-agent config sync

Stores skills, rules, docs, hooks, MCP configs, and environment variables in a shared git repo and distributes them to Claude Code, Codex, Cursor, CodeBuddy, WorkBuddy, OpenCode, and five other agents on pull. Each resource type has its own directory format: skills at `skills/<name>/SKILL.md`, rules at `rules/*.md`, and MCP at `mcp/mcp.yaml`.

Friction-based learning capture

When a session ends, a Stop hook scores it for friction signals: interruptions, denied tool calls, and AI retries. High-friction sessions trigger a prompt to run `/teamai-share-learnings`, which summarizes the session and opens a pull request to the team repo. Low-friction sessions generate no prompts, keeping noise low.

Team knowledge recall

An opt-in subagent (`teamai-recall`) deploys to each AI tool's agents directory and searches accumulated team knowledge before a task using BM25 ranking plus a codebase graph boost. The agent runs a relevance precheck first and skips retrieval when the task is unrelated to stored team knowledge.

Codebase knowledge graph

`teamai import` parses repositories into a structured graph under `teamwiki/` using a WASM tree-sitter parser for TypeScript, JavaScript, Python, and Go, falling back to regex-based heuristics for other languages. The graph stores components, interfaces, configs, and cross-repo import edges, which recall uses for graph-boosted re-ranking.

Role and tag-based distribution

Admins configure role-to-namespace mappings so each team member syncs only the skills relevant to their role. Tags let members subscribe to a subset of skills and rules. A `teamai source` command subscribes to skills from other teams' or shared repos, which sync automatically on pull.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • No proprietary infrastructure requiredTeamAI runs on any standard git host: GitHub, GitLab, GitCode, CNB, TGit, or a private Git service. There is no server to operate, no vendor account to maintain, and no data leaving your git provider. The configuration lives in a repo the team already controls.
  • MIT licensed with no usage restrictionsThe MIT license allows use, modification, distribution, and commercial deployment without additional restrictions. Teams can fork the CLI, adapt it for internal tooling, or include it in their own pipelines without licensing concerns.
  • Broadest multi-agent coverage in the categoryOne shared repo distributes configuration to Claude Code, Codex, Cursor, CodeBuddy, WorkBuddy, OpenCode, Qoder, ZCode, and others. A single shared repo covers the agents a team already uses rather than requiring separate config management per tool.
  • Git-native review workflow for AI configChanges to team skills and rules go through a standard push/MR/merge flow. The same review discipline teams apply to code applies to AI configuration, giving a versioned history of every change and a clear approval path before any update reaches team members.

Trade-offs

  • -Team Context and Improvement features are betaThe recall, codebase knowledge graph, session digest, and dashboard capabilities are marked beta in the README. Teams should treat these as experimental and not depend on them for critical workflows until they stabilize.
  • -Requires a shared git repository to be set upGetting started requires creating and hosting a shared git repo, granting write access to team members, and running `teamai init` on each member's machine. Teams without a self-managed Git setup will need to provision one. Straightforward, but not a zero-config install.
  • -Multi-agent support varies across providersNot every agent supports every feature. WorkBuddy lacks the `agents` capability, OpenCode has no usage or session tracking, and the DeepSeek integration supports neither rules nor hooks. Teams relying on less-supported agents will get a subset of the full feature set.
versus alternatives

teamai-cli vs alternatives#

TeamAI CLI vs GitHub Copilot Enterprise

GitHub Copilot Enterprise distributes coding instructions across an organization via repository-level instruction files and its organization settings UI. Both tools aim for consistent AI behavior across a team. The key difference is scope and vendor dependency.

FeatureTeamAI CLIGitHub Copilot Enterprise
LicenseMITProprietary
Config hostingAny git providerGitHub only
Agent coverageClaude Code, Codex, Cursor, 8+ othersCopilot only
Self-hostingYes (your git repo)No

TeamAI is the better choice when your team uses multiple AI coding agents or wants to avoid committing to a single vendor. The git-native config model means changes to team AI standards go through the same approval process as code changes. GitHub Copilot Enterprise is the better fit when your team is already standardized on GitHub and Copilot, since the native integration requires no additional tooling or onboarding.

TeamAI CLI vs Cursor Teams

Cursor Teams syncs rules and project-level AI context across a team within Cursor. TeamAI serves a similar need but covers a broader set of agents and adds knowledge recall and session learning capture.

FeatureTeamAI CLICursor Teams
LicenseMITProprietary
Config hostingAny git providerCursor-managed
Agent coverageClaude Code, Codex, Cursor, 8+ othersCursor only
Knowledge recallYes (opt-in)No
Self-hostingYes (your git repo)No

For teams using only Cursor, the native Cursor Teams sync is simpler to set up. TeamAI adds value when teams run Cursor alongside Claude Code or Codex, or when teams want to capture and search accumulated session learnings across the codebase.

install · self-host

Install and self-host#

bash
Install globally with npm, then initialize against your team's shared git repository.
```bash
npm install -g teamai-cli
teamai init https://github.com/yourorg/yourrepo
```
tech stack · detected from GitHub

What it's built on#

Languages
TypeScript
frequently asked

FAQ#

How does TeamAI distribute configuration to team members?

TeamAI uses a shared git repository as the source of truth. Admins push skills, rules, hooks, and MCP configs to the repo; members run teamai pull (or let the automatic SessionStart hook do it) to sync the latest resources to their local AI tools. Changes go through the standard push/merge-request/merge flow before reaching members.

Which AI agents does TeamAI support?

The README lists full support for Claude Code, Codex, Cursor, CodeBuddy, and Qoder. OpenCode, WorkBuddy, OpenClaw, Hermes, ZCode, and the DeepSeek integration have partial support, with some feature categories unavailable. The feature matrix in the README documents which capabilities apply to each agent.

What does the team knowledge recall feature do?

When enabled, recall deploys a teamai-recall subagent to each AI tool's agents directory. Before a task, the agent searches accumulated team knowledge using BM25 ranking plus a codebase graph boost, then returns a structured summary of relevant learnings. It is disabled by default and must be enabled explicitly with teamai recall enable.

Is TeamAI self-hosted?

TeamAI is a CLI that runs locally; your team's configuration lives in any git repository you choose (GitHub, GitLab, private Git). There is no cloud service to subscribe to. The CLI is MIT licensed and free to use.

How does the codebase knowledge graph work?

teamai import parses source repositories using a WASM tree-sitter parser for TypeScript, JavaScript, Python, and Go, extracting import edges, call sites, and interface implementations into a graph under teamwiki/. For other languages, a regex-based heuristic track runs instead. The graph improves recall results by boosting hits that are architecturally related to the query.

also worth a look

Similar open-source tools#

magic-compact

magic-compact

Lossless context compression for Claude Code and OpenCode

153TypeScriptBSD-3-Clause
no_human

no_human

From ticket to reviewed pull request, on your machine.

292PythonMIT
FckSignups

FckSignups

Open-source tools that work instantly, no signup required

4.1KTypeScriptGPL-3.0
FreeFlow

FreeFlow

Free, open source Mac dictation with AI cleanup and voice macros

2.6KSwiftMIT
patent-disclosure-skill

patent-disclosure-skill

Chinese patent disclosure drafting with AI-powered point mining

8.9KPythonMIT
guaardvark

guaardvark

Self-hosted AI workstation with agents, video, voice, and RAG.

206PythonMIT

Repository

Stars
3K
Forks
185
License
MIT
Latest
v0.23.1
Last commit
today
Last verified
Sep 10, 2026
Repo
Tencent/teamai-cli ↗

Additional details

Language
TypeScript
Open issues
24
Contributors
39
First release
2026

Categories

AI & Machine LearningDeveloper ToolsProduct & Project Management

Tags

AI AgentsKnowledge ManagementDeveloper ToolsWorkflow Automation