Installation & Commands
The @famasi/agents CLI provides installation, configuration, and diagnostic tools.
install <target>
Install Famasi Agents for a specific platform.
npx @famasi/agents@latest install claude-codenpx @famasi/agents@latest install codexnpx @famasi/agents@latest install openclawnpx @famasi/agents@latest install generic-mcpOptions:
--stage <stage>— Use specific rollout stage (waitlistorv1)--provider-api-key <key>— Set API key during install
Files created per target:
| Target | Files |
|---|---|
claude-code | .mcp.json, .claude/agents/famasi-provider.md, .claude/commands/famasi-link-provider.md |
codex | .mcp.json, .famasi/skills/codex/famasi-provider/SKILL.md, AGENTS.md |
openclaw | .famasi/skills/openclaw/famasi-patient/SKILL.md |
generic-mcp | .mcp.json |
link provider
Authenticate as a provider.
npx @famasi/agents@latest link provider --provider-id YOUR_PROVIDER_IDOptions:
--provider-id <id>— (required) Your Famasi provider ID--provider-name <name>— Optional display name--mcp-url <url>— Override default MCP URL
doctor
Diagnose installation state.
npx @famasi/agents@latest doctorChecks:
- Installation status for each target
- Authentication state
- Configuration values
- Required environment variables
- Placeholder values that need updating
scaffold openai-ts
Scaffold a new OpenAI TypeScript project.
npx @famasi/agents@latest scaffold openai-ts [destination]Creates a starter project with TypeScript config, OpenAI SDK setup, and Famasi MCP integration template.
Environment variables
| Variable | Purpose |
|---|---|
FAMASI_PROVIDER_API_KEY | Your provider API key |
FAMASI_AGENTS_STAGE | Rollout stage (waitlist or v1) |
FAMASI_WAITLIST_ENDPOINT | Optional waitlist submission endpoint |
Staged rollout
The CLI uses a two-stage rollout:
- Waitlist (default) — Captures intent, directs to waitlist page
- v1 — Full installation with real installers
To use v1:
FAMASI_AGENTS_STAGE=v1 npx @famasi/agents@latest install claude-codeOr:
npx @famasi/agents@latest install claude-code --stage v1