Context-grounded agentic work for teams. First Tree is an open-source workspace where AI agents work from your team's shared context, not isolated prompts.
$ npx -y skills add first-tree-ai/first-tree --agent claude-code
checkout our recent work opentag.build — the opensource ai coworker. Claude Tag alternative. support using ur own subscription.
Context-grounded agentic work for teams.
First Tree is an open-source workspace where AI agents work from your team's shared context, not isolated prompts.
At the center is Context Tree: a team-maintained memory of decisions, ownership, repos, responsibilities, constraints, and prior work. Agents read it before they work; useful outcomes can flow back into it after the work is done.
The result is a human-agent work loop where every task can start with more team context, and every useful outcome can make the next task smarter.
There are many AI agent workspaces. First Tree's core difference is the context loop:
user intent -> read team context -> context-aware agent work
-> human review/control -> durable outcome -> updated team context
This loop solves the part that usually breaks when teams start using agents:
First Tree is built around a different assumption:
Agent work should be grounded in team context, visible while it runs, guided by humans at the right moments, and turned into durable outcomes that can update team memory.
That makes First Tree useful in two modes:
In both modes, First Tree gives teams one place to:
It is not another agent, and not just another workspace. It is a context loop for human-agent teams.
First Tree connects five pieces around Context Tree:
Together, these pieces keep agent work connected to team context before, during, and after execution.
Open the app at first-tree.ai (or your own deployment) and sign in. The guided setup walks you through the first run: name your team, connect a computer, create your first agent, and start work.
See the Quickstart for the full walkthrough.
At the "connect a computer" step, setup gives you the channel-aware commands to install the CLI and link the machine. Hosted production uses:
curl -fsSL https://download.first-tree.ai/releases/prod/install.sh | sh
~/.local/bin/first-tree login <connect-code>
Use the exact commands shown in the web console, especially for staging or a
self-hosted deployment. The macOS/Linux installer bundles Node.js, so new
users do not need to install Node separately. The two lines are intentionally
independent and do not provide shell-level transaction protection: when pasted
together, an install-line failure does not automatically prevent the login line
from running, and POSIX sh does not guarantee that curl | sh preserves a
curl failure status. The explicit ~/.local/bin path works immediately, even
before the shell reloads its PATH.
first-tree
├── login <code> Sign this computer in
├── logout Stop the daemon and clear credentials
├── status CLI / daemon / server / auth overview
├── doctor Cross-subsystem readiness check
├── upgrade Upgrade to the latest published version
├── agent ... Agent management
├── chat ... Chats and messaging
├── org ... Organization-level operations
├── daemon ... Background daemon lifecycle
├── config ... View / modify this machine's client.yaml
└── tree ... Context Tree onboarding, validation, automation
Run first-tree <namespace> --help for the full list under any namespace.
apps/cli/ — published CLI (first-tree / ft)packages/shared/ — Zod schemas, types, config system (@first-tree/shared)packages/server/ — Fastify API server (@first-tree/server)packages/client/ — Cloud SDK/observability, Runtime, and built-in Providers (@first-tree/client)packages/web/ — React web workspace (@first-tree/web)packages/qa/ — internal QA workflow assets for agent-run validation (@first-tree/qa)skills/ — repo-local skill payloads for First Tree agentsfirst-tree@0.4.xFor the full local setup, including .env, migrations, service URLs,
troubleshooting, and optional GitHub App configuration, see
DEVELOPMENT.md.
pnpm install # Install dependencies
docker compose up -d # Dev PostgreSQL
pnpm --filter @first-tree/server dev # Server
pnpm --filter @first-tree/web dev # Web workspace
pnpm check && pnpm typecheck # Lint + type check
pnpm test # Tests
pnpm coverage # Local unit coverage
pnpm coverage:summary # Summarize generated coverage
See AGENTS.md for architecture, conventions, and the per-package development workflow. See CONTRIBUTING.md for the PR workflow.
first-tree is a Claude Code plugin with 8 hand-picked skills, indexed on Flowy in the Agent Memory category. Install it with the command on its page. It includes context-tree-audit, context-tree-review, first-tree-file-bug. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it