# memctl docs

**User-facing documentation lives at [memctl.com/docs](https://memctl.com/docs)** (source: `apps/web/content/docs/`).

This directory contains **internal developer reference** only — things not published on the website.

## Files

- [API Reference](./api-reference.md) — Complete REST API endpoint documentation
- [Architecture](./architecture.md) — Monorepo structure, database schema, search pipeline, caching layers
- [Contributing](./contributing.md) — How to add tools, CLI commands, API endpoints, and submit PRs
- [Agent Context System](./agent-context-system.md) — Context types, token budgeting, smart retrieval, conditional rules
- [Organization & Teams](./organization-and-teams.md) — Org structure, roles, defaults, templates, cross-project features
- [Environment Examples](./env-examples.md) — Example `.env` configurations for common scenarios
- [Billing & Plans](./billing-plan-example.md) — Plan catalog, Stripe setup, checkout behavior
- [Testing Environment](./testing-environment.md) — Test auth, Stripe testing, Docker setup
