generic-gpt

A general-purpose software engineering agent for AutoGPT's interactive shell. It can break work into steps, edit files, run shell commands and builds, respond to errors, commit changes, and retain lessons between sessions.

In plain words
What is it for?
Use it to create or modify project files, run the project's commands, build and verify software, make Git commits, and carry useful lessons into later sessions.
Why use it?
It handles a broad coding task in one place instead of requiring a separate tool or agent for each programming area. Build-and-check cycles can reveal and correct problems during the work.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/wiseaidotdev/autogpt/generic-gpt
Clone the repo
git clone --depth 1 https://github.com/wiseaidotdev/autogpt
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,411 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01411
Opus 5 $0.00000 $0.00705
Sonnet 5 $0.00000 $0.00282
Haiku 4.5 $0.00000 $0.00141

Measured 2d ago against content hash debfe6a245de, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

generic-gpt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/src/agents/generic-gpt.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GenericGPT

GenericGPT is the autonomous, self-improving software engineering agent that powers AutoGPT's default interactive shell. It is the primary agent a developer interacts with when running autogpt with no subcommands.

Unlike the specialised agents (BackendGPT, FrontendGPT, etc.) that each own a single discipline, GenericGPT is a generalist: it reasons about its task, decomposes it into steps, writes or edits files surgically, runs the project's build system, and learns from the outcome, all autonomously.

Capabilities

Capability Description
Reasoning pre-step Plans before acting; emits a structured internal monologue before every task
File tooling CreateFile, WriteFile, PatchFile, ReadFile, AppendFile, ListDir, FindInFile
Shell execution RunCommand runs arbitrary shell commands inside the workspace
Build-and-verify Detects the build system (cargo, npm, python, ...) and iterates on errors
Git commits GitCommit action commits changes with a generated message
Persistent skills Learns lessons across sessions and injects them into future prompts
Session continuity Full conversation history is restored when you resume a session
Multi-provider Switches between Gemini, OpenAI, Anthropic, xAI, Cohere, and HuggingFace at runtime

The .autogpt Directory

GenericGPT maintains a hidden directory at its state root (typically ~/.autogpt/, but controlled by the AUTOGPT_WORKSPACE environment variable) that stores all persistent state:

~/.autogpt/
├── sessions/          # Markdown conversation snapshots, auto-saved after every response
│   ├── <uuid>.md
│   └── ...
└── skills/                    # Learned lessons (TOML)
    ├── rust.toml
    ├── web.toml
    ├── python.toml
    └── ...

Read the full file on GitHub · 131 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 131 lines · 0 tokens per session scan A debfe6a245de

Subscribe to this mod's changes

generic-gpt is an agent published in the GitHub repository wiseaidotdev/autogpt (115 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,411 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories