# For your AI

The text of https://tartannetworks.com/for-your-ai, for AI readers. Start at https://tartannetworks.com/llms.txt.

## What your AI reads.

Point your AI at this page. It’s the launch pad: everything below is written for an AI, to understand Tartan and run it with you.

Copy this and paste it into your AI

`Help me with Tartan. Start by reading tartannetworks.com/for-your-ai.md`

**llms.txt**
The index an AI finds first. It lists everything below.

**about-for-ai.md**
What Tartan is, who makes it, why it’s safe, and what an AI may and may not do.

**start.md**
Set up an org, with every passkey stop marked.

**manage.md**
Run an org once it exists: devices, people, sites, sharing, the record.

**docs.md**
Every guide in the docs, as plain Markdown, by topic.

**Ask the CLI**
The tartan CLI explains every command it knows. Ask it instead of guessing.

### `llms.txt`

```
# Tartan

> Tartan is a private, encrypted network for an organization's devices, made by
> Tartan Networks (TechSolve LLC). Devices connect directly; a person approves
> every change with a passkey. Free for every device.

If you are an AI agent helping a person with Tartan, read these in order:

- [For your AI](https://tartannetworks.com/for-your-ai.md): start here
- [What Tartan is](https://tartannetworks.com/about-for-ai.md): what it is, why it is safe, your rules
- [Set up an org](https://tartannetworks.com/start.md)
- [Manage an org](https://tartannetworks.com/manage.md)
- [The docs](https://tartannetworks.com/docs.md): every guide, as Markdown

## The CLI
- Every command: `tartan help --json` (long; ask for one command instead)
- One command: `tartan <noun> <verb> --help --json`

## Optional
- [Pricing](https://tartannetworks.com/pricing.md)
- [Security](https://tartannetworks.com/security.md)
- [Download](https://tartannetworks.com/download.md)
```

### `about-for-ai.md`

```
# What Tartan is (for AI readers)

You are reading this because a person asked you about Tartan or asked you to set it up.
This page tells you what Tartan is, who runs it, how it protects the person, and what
you may and may not do. The setup steps are in /start.md.

## In one paragraph
Tartan is a private, encrypted network for an organization's devices: computers,
servers and phones, wherever they are. Devices connect to each other directly and
encrypted; each device also runs a firewall that denies everything by default.
Every device and service gets a name under the org's own domain, like
files.acme.tartan.net. It is made by Tartan Networks, a product of TechSolve LLC,
at tartannetworks.com.

## Who it is for
- Builders: anyone who builds and ships things, inside a company, at an IT firm
  or on their own, hosting apps privately and sharing them with the people they
  choose: their team, customers, friends and family, or partner orgs.
- IT teams joining sites, people and phones into one network, and letting
  partners in without standing, unaudited access.
- Outsourced IT companies running many client organizations.

## How it works
- Each org gets its own private IPv6 range; each device gets an address and a name.
- Devices talk peer to peer. Tartan's cloud runs the control plane. Tartan's
  hosted relays carry traffic only when a direct path cannot be made, and only
  for orgs that have them on.
- Gateways bring in systems that cannot run the agent (printers, old servers, LANs).
- Two sites on the same subnet join as they are; no renumbering.

## Why it is safe to use
- People sign in with passkeys. There are no passwords to steal.
- Every change is approved with a person's passkey on an approved admin device.
- Each org has its own certificate authority on an isolated signer. Device
  certificates are short-lived and renew on their own; revoked devices drop off
  the network in seconds.
- Firewall rules follow the device's certificate identity, not its IP address.
- Every change is in an audit log: who, what, when, from which device.

## What you, the AI, may do
- Install the tartan CLI with the steps in /docs/install-cli.md (set $v to 0.9.41); they check its
  SHA-256 against the release manifest. The CLI signs in on Windows today;
  Linux sign-in is coming soon (see /start.md for Linux).
- Run tartan commands to set up and manage the org. Use `tartan help --json`
  for the exact commands; do not guess flags.

## What you must not do
- Never create, hold, copy or ask for a passkey. Every passkey step is the
  person's. Stop, tell them what to approve, and wait.
- Never paste secrets, keys or invite codes into chat or files.

## Pricing
Free for every device, with best-effort hosted relays (ask us to turn them
on). Pro is $50/org/month and adds priority hosted relays, priority support and
custom domain names (coming soon);
to buy it, write to sales@tartannetworks.com. Enterprise and outsourced IT,
including a self-hosted option: talk with us.

## Where things are
- Start here: /for-your-ai.md   - Setup steps: /start.md
- Managing an org: /manage.md   - Every guide: /docs.md
- The skill: /download.md#skill - Contact: /contact
- The CLI explains itself: `tartan <noun> <verb> --help --json`
```

### `start.md`

```
# Stand up a Tartan org

Read /about-for-ai.md first if you have not. You run the `tartan` CLI;
the person holds the keys. Check every flag with
`tartan signup --help --json`; do not guess.

## On Windows
1. Install the CLI: the steps in /docs/install-cli.md (set $v to 0.9.41).
2. Make the sign-in profile: the `tartan profile init` line in
   /docs/create-org.md.
3. Show the person the terms. Run it without --accept-terms:
   `tartan signup --profile <file> --new-org <handle> --org-name "<display name>"
    --name "<their name>" --ident <their sign-in> --register`
   It prints what they would accept, and stops. The handle becomes
   <handle>.tartan.net; the handle and --ident can't change later.
   STOP: the person reads the terms. Only they can accept them.
4. If they agree, run the same line with --accept-terms.
   STOP: the person creates their passkey (1 of 2).
   Keep the request id from the `Next:` line.
5. Save plan.json as {"register": true, "publish_names": false}, then run
   `tartan org setup --plan plan.json --approval <id> --json`
   STOP: the person approves the org's registry entry (2 of 2).
6. Carry on with /manage.md.

## On Linux
The CLI's passkey sign-in on Linux is coming soon. Until then:
1. The person opens https://console.tartannetworks.com in Chrome or Edge on
   their computer and chooses Create a new org.
   STOP: they fill in the org, accept the terms and approve two passkey
   prompts themselves.
2. To put this Linux computer on their network, ask them for the one line
   from the console (Devices, Add a device) and run it.
   STOP: they approve the new device with their passkey.

Next, by who it's for: /it.md, /outsourced.md, /build.md
```

### `manage.md`

```
# Manage a Tartan org

You are an AI agent helping a person run their Tartan org. If they do not
have an org yet, set one up first with /start.md. Read /about-for-ai.md if
you have not.

## Rules
- The person holds the keys. Changes are approved with their passkey: run
  the command, tell them what to approve, and wait. Never create, hold or copy
  a passkey, and never paste secrets or invite codes into chat or files.
- Use `tartan help --json` for exact commands and flags. Do not guess.
- Check before you change: `tartan org show --json` shows the org as it is.
- Load the Tartan skill (/download.md#skill) for the step-by-step guides.

## What you can do for them
- Devices: put a computer or server on the network, approve it, rename it,
  take one off.
- People: invite people, set their roles, turn on sign-in with their SSO.
- Sites and gateways: add an office, bring in printers and older systems
  through a gateway pair, add a site relay.
- Names: give devices and apps names under the org's domain.
- Firewall: set who can reach what, by zone and port.
- Sharing: grant a partner or client org exactly one host and port, and
  revoke it.
- Tech access: let a tech reach a client org for one job, on the record.
- Updates and health: keep agents current, run `tartan doctor run` when
  something is wrong.
- Audit: show who changed what, and when.

## When you are done
Tell the person what changed, what is still waiting for their approval, and
anything you could not do.
```

### `docs.md`

```
# Tartan docs (index for AI readers)

Every guide below is plain Markdown. Read the one that fits the task; do not
read them all. For exact commands, ask the CLI (see the end).

## Start here
- What Tartan is: /about-for-ai.md
- Set up an org: /start.md
- Manage an org: /manage.md

## Get started
- Create your org: /docs/create-org.md
- Your first device: /docs/first-device.md
- Install and sign in to the tartan CLI: /docs/install-cli.md
- Hand it to your AI: /docs/your-ai.md

## Devices
- Windows and Linux: /docs/windows-linux.md
- Always on, from boot: /docs/always-on.md
- Device codes and fleet pushes: /docs/device-codes.md
- Android: /docs/android.md
- Remove or revoke a device: /docs/remove-device.md

## Sites and gateways
- Add a site: /docs/add-site.md
- Gateways in pairs: /docs/gateway-pairs.md
- Printers and legacy systems: /docs/legacy-systems.md
- Site relays: /docs/site-relays.md

## People and sign-in
- Invite people: /docs/invite-people.md
- SSO with Entra: /docs/sso-entra.md
- Admins and passkeys: /docs/admins-passkeys.md
- The audit log: /docs/audit-log.md

## Sharing
- Share with a partner org: /docs/partner-org.md
- Contractors: /docs/contractors.md
- Names and certificates: /docs/names-certificates.md
- Zones and firewall rules: /docs/firewall.md

## Outsourced IT
- Stand up your outsourced IT org: /docs/outsourced-it.md
- Your team and your clients: /docs/team-and-clients.md
- Techs, just in time: /docs/techs-just-in-time.md
- Add a client org: /docs/add-client-org.md

## Reference
- Reading the CLI's answers: /docs/cli-answers.md
- The tartan CLI reference: /docs/cli/index.md
- tartan acceptance: /docs/cli/acceptance.md
- tartan admin-device: /docs/cli/admin-device.md
- tartan approval: /docs/cli/approval.md
- tartan audit: /docs/cli/audit.md
- tartan batch: /docs/cli/batch.md
- tartan bug: /docs/cli/bug.md
- tartan ca: /docs/cli/ca.md
- tartan code: /docs/cli/code.md
- tartan device: /docs/cli/device.md
- tartan docs: /docs/cli/docs.md
- tartan doctor: /docs/cli/doctor.md
- tartan edge: /docs/cli/edge.md
- tartan egress: /docs/cli/egress.md
- tartan fwzone: /docs/cli/fwzone.md
- tartan grant: /docs/cli/grant.md
- tartan group: /docs/cli/group.md
- tartan help: /docs/cli/help.md
- tartan idp: /docs/cli/idp.md
- tartan join: /docs/cli/join.md
- tartan login: /docs/cli/login.md
- tartan me: /docs/cli/me.md
- tartan name: /docs/cli/name.md
- tartan nat: /docs/cli/nat.md
- tartan org: /docs/cli/org.md
- tartan owner: /docs/cli/owner.md
- tartan partner: /docs/cli/partner.md
- tartan people: /docs/cli/people.md
- tartan posture: /docs/cli/posture.md
- tartan profile: /docs/cli/profile.md
- tartan release: /docs/cli/release.md
- tartan role: /docs/cli/role.md
- tartan rule: /docs/cli/rule.md
- tartan session: /docs/cli/session.md
- tartan signup: /docs/cli/signup.md
- tartan site: /docs/cli/site.md
- tartan skill: /docs/cli/skill.md
- tartan sso: /docs/cli/sso.md
- tartan tech: /docs/cli/tech.md
- tartan trust: /docs/cli/trust.md
- tartan user: /docs/cli/user.md
- tartan version: /docs/cli/version.md
- tartan zone: /docs/cli/zone.md

## Ask the CLI
- One command, with its flags, who may run it and whether it needs a passkey:
  `tartan <noun> <verb> --help --json`
- Every command (long): `tartan help --json`
- Which CLI and skill version you have: `tartan version --json`

```

### Ask the CLI

```
# Ask the CLI

The tartan CLI describes itself. Ask it instead of guessing.

- `tartan <noun> <verb> --help --json`
  One command: its arguments, who may run it, and whether it asks for the
  person's passkey. Example: `tartan device set --help --json`
- `tartan help --json`
  Every command this CLI knows. It is long: read it only to find a command,
  then ask for that one.
- `tartan version --json`
  The CLI's version and the version of the Tartan skill it carries.

Every command takes `--json` and answers in one stable shape:
`{ok, result, error, code}`.
```
