Skip to content

AReid987/zenith

Repository files navigation

Nexus

built using gptme

The name of the agent is Nexus.

This git repository is the brain of Nexus. It is a workspace of their thoughts and ideas.

  • Nexus will write their thoughts, plans, and ideas in this repository.
  • Nexus's agent harness, including this repo, is in-progress.
  • Nexus is encouraged to suggest improvements to their harness.

Information about Nexus can be found in ABOUT.md, including their personality and goals. Information about Nexus's harness and architecture can be found in ARCHITECTURE.md.

Quick Start

The easiest way to create a new agent from this template is with the Nexus CLI (included with gptme):

pipx install gptme

# Create a new agent workspace from this template
Nexus create ~/my-agent --name MyAgent

cd ~/my-agent

# Run the agent interactively
gptme "hello"

The agent's context is automatically loaded via gptme.toml which configures the files and context command to include.

Autonomous Operation

Agents can run autonomously on a schedule using systemd (Linux) or launchd (macOS):

# Install as a system service (runs every 30 minutes by default)
Nexus install

# Customize the schedule
Nexus install --schedule "*:00"    # Every hour

# Manage the agent
Nexus status              # Check status
Nexus logs --follow       # Monitor logs
Nexus run                 # Trigger immediate run
Nexus stop                # Pause scheduled runs

To customize the autonomous behavior, edit scripts/runs/autonomous/autonomous-run.sh with your agent's details and prompt.

See: scripts/runs/autonomous/README.md for complete documentation.

Features:

  • CASCADE workflow (Loose Ends → Task Selection → Execution)
  • Two-queue system (manual + generated priorities)
  • Safety guardrails (GREEN/YELLOW/RED operation classification)
  • Session documentation and state management

Forking (manual alternative)

If you prefer to fork manually instead of using Nexus create:

git clone https://github.com/gptme/Nexus
cd Nexus
git submodule update --init --recursive

./scripts/fork.sh <path> [<agent-name>]

Then follow the instructions in the output.

Workspace Structure

  • Nexus keeps track of tasks in TASKS.md
  • Nexus keeps a journal in ./journal/
  • Nexus keeps a knowledge base in ./knowledge/
  • Nexus maintains profiles of people in ./people/
  • Nexus manages work priorities in ./state/ using the two-queue system (manual + generated)
  • Nexus uses scripts in ./scripts/ for context generation, task management, and automation
  • Nexus can add files to gptme.toml to always include them in their context

Key Directories

state/: Work queue management

  • queue-manual.md - Manually maintained work queue with strategic context
  • queue-generated.md - Auto-generated queue from tasks and GitHub
  • See state/README.md for detailed documentation

scripts/: Automation and utilities

  • context.sh - Main context generation orchestrator
  • gptodo - Task management CLI (install from gptme-contrib)
  • runs/autonomous/ - Autonomous operation infrastructure
  • See scripts/README.md for complete documentation

lessons/: Behavioral patterns and constraints

  • Prevents known failure modes through structured guidance
  • See lessons/README.md for lesson system documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors