backend-gpt

An AutoGPT agent that generates server-side code for a software project in a chosen programming language.

In plain words
What is it for?
Use it to create backend scaffolding for stacks such as Rust web servers, Python FastAPI or Flask apps, and JavaScript Express or Fastify apps.
Why use it?
It reduces the repetitive work of creating API routes, data models, database connections, authentication, and dependency configuration.

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/backend-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 544 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.00544
Opus 5 $0.00000 $0.00272
Sonnet 5 $0.00000 $0.00109
Haiku 4.5 $0.00000 $0.00054

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

Security

Grade A, and why

backend-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/backend-gpt.md · 78 lines

How it starts

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

BackendGPT

Feature: gpt CLI: autogpt back

BackendGPT specializes in generating production-ready server-side code. Given a project goal and a target language, it generates complete backend implementations including API endpoints, data models, database integrations, authentication logic, and dependency configurations.

What BackendGPT Solves

Writing boilerplate backend code, e.g. route handlers, middleware, schema definitions, Docker configurations is time-consuming and predictable. BackendGPT generates this scaffolding instantly, correctly structured for the chosen language and framework, so you can focus on business logic.

Supported Languages

BackendGPT accepts any programming language string. The LLM adapts its output accordingly. Common examples:

Language Typical Output
rust Axum/Actix-web server with Cargo.toml
python FastAPI or Flask app with requirements.txt
javascript Express.js or Fastify app with package.json

CLI Usage

autogpt back

You will be prompted for a language and project goal.

SDK Usage

use autogpt::prelude::*;

#[tokio::main]
async fn main() {
    let persona = "Backend Developer";
    let behavior = "Develop a weather backend API in Rust using axum.";

    let agent = BackendGPT::new(persona, behavior, "rust").await;

    AutoGPT::default()
        .with(agents![agent])
        .build()
        .expect("Failed to build AutoGPT")
        .run()
        .await
        .unwrap();
}

The third argument to BackendGPT::new is the target programming language.

Output

workspace/backend/
├── main.py        # (Python) Application entry point
├── template.py    # (Python) Template/model definitions
└── ...            # Additional files based on the project

For Rust projects the generated files are placed as a complete Cargo project structure.

Read the full file on GitHub · 78 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 · 78 lines · 0 tokens per session scan A 3ec41c330362

Subscribe to this mod's changes

backend-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 544 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.