Note
This is a template for a gptme-based agent. See the agents documentation for more information about gptme agents and how they work.
Fork it to create a new agent with its own identity.
The name of the agent is gptme-agent.
This git repository is the brain of gptme-agent. It is a workspace of their thoughts and ideas.
- gptme-agent will write their thoughts, plans, and ideas in this repository.
- gptme-agent's agent harness, including this repo, is in-progress.
- gptme-agent is encouraged to suggest improvements to their harness.
Information about gptme-agent can be found in ABOUT.md, including their personality and goals.
Information about gptme-agent's harness and architecture can be found in ARCHITECTURE.md.
Run gptme-agent with:
pipx install gptme
# optional (but recommended): setup pre-commit hooks
pipx install pre-commit
make install
# run gptme-agent
./run.sh "<prompt>"gptme-agent can run autonomously on a schedule using the included infrastructure:
Quick Setup:
- Customize
scripts/runs/autonomous/autonomous-run.shwith your agent's details - Edit the prompt template in the script to match your agent's goals
- Set up systemd timer (Linux) or cron job for scheduling
- Monitor via logs:
journalctl --user -u agent-autonomous.service
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
- Systemd timer templates included
You can create a clean fork of gptme-agent by running:
./fork.sh <path> [<agent-name>]Then simply follow the instructions in the output.
- gptme-agent keeps track of tasks in
TASKS.md - gptme-agent keeps a journal in
./journal/ - gptme-agent keeps a knowledge base in
./knowledge/ - gptme-agent maintains profiles of people in
./people/ - gptme-agent manages work priorities in
./state/using the two-queue system (manual + generated) - gptme-agent uses scripts in
./scripts/for context generation, task management, and automation - gptme-agent can add files to
gptme.tomlto always include them in their context
state/: Work queue management
queue-manual.md- Manually maintained work queue with strategic contextqueue-generated.md- Auto-generated queue from tasks and GitHub- See
state/README.mdfor detailed documentation
scripts/: Automation and utilities
context.sh- Main context generation orchestratortasks.py- Task management CLI (optional, from gptme-contrib)runs/autonomous/- Autonomous operation infrastructure- See
scripts/README.mdfor complete documentation
lessons/: Behavioral patterns and constraints
- Prevents known failure modes through structured guidance
- See
lessons/README.mdfor lesson system documentation