Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ Agent runtime layout:
## Development Workflow

```bash
# First-time install (interactive — handles everything)
sudo ~/hornet/install.sh

# Edit source files directly in ~/hornet/

# Deploy to agent runtime
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,21 @@ Agents work on real files in real repos — no sandbox friction. They make real
## Quick Start

```bash
# Clone (as admin — source lives in admin's home, not agent's)
git clone <your-hornet-repo-url> ~/hornet
git clone https://github.com/modem-dev/hornet.git ~/hornet
sudo ~/hornet/install.sh
```

The installer detects your distro, installs dependencies, creates the agent user, sets up the firewall, and walks you through API keys interactively. Takes ~2 minutes.

<details>
<summary>Manual setup (without installer)</summary>

```bash
# Setup (creates user, firewall, permissions — run as root)
sudo bash ~/hornet/setup.sh <admin_username>

# Add secrets
sudo su - hornet_agent -c 'vim ~/.config/.env'
sudo -u hornet_agent vim ~/.config/.env

# Deploy source → agent runtime
~/hornet/bin/deploy.sh
Expand All @@ -49,6 +56,9 @@ sudo su - hornet_agent -c 'vim ~/.config/.env'
sudo -u hornet_agent ~/runtime/start.sh
```

See [CONFIGURATION.md](CONFIGURATION.md) for the full list of secrets and how to obtain them.
</details>

## Configuration

Secrets and configuration live in `~hornet_agent/.config/.env` (not in repo, 600 perms).
Expand Down
Loading
Loading