Skip to content

alta template ​

What installing the chart does on a machine: its values, the charts it requires, its sign-ins, parts and proofs (read only).

Usage ​

text
alta template <dir> [--values <file>] [--bind <need=provider,…>] [--local-only] [--host <host>] [--renderer game] [--json]

Arguments ​

NameDescription
dirrequiredThe chart folder.

Options ​

NameTypeDefaultDescription
--valuesstringA JSON file with the values the owner chooses.
--bindstringThe provider of each need, need=provider, comma separated (such as mind=local,channel=world): the player's "change". Absent: the player's own choice.
--local-onlyflag100% local: only providers that keep everything on the machine.
--hoststringDefault: localThe machine, one of local, hosted-free, hosted-paid.
--rendererstringgame: the same as the game renders it (quests, steps, achievements).
--jsonflagPrint the result (alta.template/1) as JSON.

Exit codes ​

NameDescription
0ok
1problems found
2bad usage
3not in this version

Examples ​

What installing it does

Terminal
sh
alta template my-agent
Output
text
my-agent 0.1.0 (agent) on local: installable
needs:
  My Agent will think with your Claude subscription · change
risk:
  Risk: medium. Read why below before you agree.
  - It installs programs on your machine.
  - It needs you to sign in (Claude).
  - An agent may reach the network where it chooses (message).
  - It talks to online services while it runs (Claude).
network:
  Needs online services to work.
  - Claude: It thinks with your Claude subscription: what you ask goes to Claude. A paid account is needed. What leaves your machine: what you ask.
requires:
  alta-os
sign-ins:
  need-claude          signin.cli
parts:
  agent                agent.create {"agent":"helper","chart":"my-agent"}   undo: agent.archive
proofs:
  agent helper
repairs (none allowed until you say so):
  need-claude-again    signin.again       (always asked)

On a hosted machine

Terminal
sh
alta template my-agent --host hosted-free
Output
text
my-agent 0.1.0 (agent) on hosted-free: installable
needs:
  My Agent will think with your Claude subscription · change
risk:
  Risk: medium. Read why below before you agree.
  - It installs programs on your machine.
  - It needs you to sign in (Claude).
  - An agent may reach the network where it chooses (message).
  - It talks to online services while it runs (Claude).
network:
  Needs online services to work.
  - Claude: It thinks with your Claude subscription: what you ask goes to Claude. A paid account is needed. What leaves your machine: what you ask.
requires:
  alta-os
sign-ins:
  need-claude          signin.cli
parts:
  agent                agent.create {"agent":"helper","chart":"my-agent"}   undo: agent.archive
proofs:
  agent helper
repairs (none allowed until you say so):
  need-claude-again    signin.again       (always asked)

As the game shows it

Terminal
sh
alta template my-agent --renderer game
Output
text
core.my-agent.install  Install My Agent
  consent                  choice  What this asks for
  requires-alta-os         check   Install alta-os first  [achievement: chart alta-os]
  signin-need-claude       action  Connect your Claude subscription.  [runs signin.cli]  [achievement: signin]
  part-agent               action  Create the agent helper  [runs agent.create]  [achievement: agent helper]
  ready-1                  check   My Agent works  [achievement: agent helper]

core.my-agent.remove  Remove My Agent
  undo-agent               action  Put the agent helper away  [runs agent.archive]

See also ​

Alta OS is open source (MIT).