Skip to content

Share an agent ​

Every agent you make starts as yours alone. alta chart new writes "privacy": "personal" in its chart.json, and a chart without the field is personal too. A personal chart stays in a private repository, its schedules are hidden when they are exported, and it is never packaged for a public repository.

To share an agent, you say so in the chart, and Alta then checks that nothing of yours is left in it.

1. Say it is shareable ​

In chart.json, next to origin:

chart.json
json
"privacy": "shareable"

Agents, teams, modules, packages and skills may say it.

2. Lint it ​

Terminal
sh
alta lint my-agent

A shareable chart is read whole: every text of chart.json and every file of its folder (the agent's files, its schedules). alta lint refuses:

RuleWhat it found
chart.privacy-secretsomething that looks like a password or a key
chart.privacy-tokena long token-shaped string
chart.privacy-home-patha path in your home folder, such as /Users/<name>/notes: write ~/notes
chart.privacy-emailan e-mail address (you@example.com is fine)
chart.privacy-keyworda word of your private keyword list

Each problem names the file and the field, never the text it found.

3. Your private keyword list ​

Names of clients, projects or people that must never leave your machine go in a local file, one per line (a regular expression, case ignored; # starts a comment):

~/.config/alta/privacy-keywords.txt
text
# never in a shared chart
acme
project-falcon

alta lint reads it for a shareable chart. Another file can be named with ALTA_PRIVACY_KEYWORDS. The file stays on your machine: it is never in a chart.

4. Package it for a public repository ​

Terminal
sh
alta package my-agent --public

--public refuses a personal chart and says why. Without it, alta package packages any chart, for your own use.

Then publish it as any chart: Publish a chart.

What's next

Alta OS is open source (MIT).