# Agent platform

The platform runs AI agents for you: on demand, or on a schedule. You describe an agent as a model, instructions, and the tools it may use. The platform runs it in isolation, keeps your credentials away from it, and records everything it did.

This installation is at `https://ma4s.kjulin.cc`.

## Get started

### 1. Get a tenant and an API key

Ask the administrators of this platform for a tenant and an API key.

A tenant is your own space on the platform: your agents, schedules, credentials and runs. The API key is how you prove you may use it. Keep it like a password.

### 2. Install the CLI and save your key

```
curl -sSL https://ma4s.kjulin.cc/install.sh | sh
apctl configure --url https://ma4s.kjulin.cc
```

The first command installs `apctl` in `~/.local/bin`. The second asks for your API key, checks it, and saves it. More in [CLI](/docs/cli).

### 3. Install the skill in your coding agent

```
apctl skill install
```

This teaches Claude Code how to use the platform. For Codex, add `--agent codex`. Then ask your coding agent for what you want, for example: "Create an agent on the agent platform that posts a summary of yesterday's errors to Slack every morning at 8."

This is the way we recommend. Your coding agent writes the definitions and runs the commands, and it reads the current documentation from the platform by itself. More in [Skill](/docs/skill).

One thing stays with you: secrets. When an agent needs a token, your coding agent gives you the command, and you run it and paste the token yourself.

## By hand

Everything also works without a coding agent. [Example](/docs/example) goes from nothing to a scheduled agent with `apctl`.

## The pages

| Page | What it covers |
| --- | --- |
| [CLI](/docs/cli) | Installing `apctl`, and every command |
| [API](/docs/api) | The HTTP API that `apctl` uses, for when you want to call it yourself |
| [Skill](/docs/skill) | Installing the skill in Claude Code or Codex |
| [How it works](/docs/how-it-works) | What a run can reach, where credentials are kept, who can see your data |
| [Example](/docs/example) | A complete agent with a schedule |
| [Troubleshooting](/docs/troubleshooting) | Why a run failed, and where to look |

Every page is also plain Markdown: add `.md` to its address, or run `apctl docs PAGE`.
