backend-django-agent

backend-django-agent is an agent for coding agents from ranveersequeira/ai-agent-workflow. It costs 0 tokens per session (627 once invoked), scanned A, original, MIT.

A coding assistant for Django, a Python framework for building web applications, including APIs and database-backed sites. It covers Django REST Framework, the Django ORM for database queries, the admin area, and Django’s model-view-template structure.

In plain words
What is it for?
Use it to build or improve Django applications, REST APIs, models, serializers, class-based views, URLs, authentication, and admin customizations.
Why use it?
It helps keep Django projects organized and reduces mistakes in data models, input validation, permissions, API views, and database access.

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/ranveersequeira/ai-agent-workflow/backend-django-agent
Clone the repo
git clone --depth 1 https://github.com/ranveersequeira/ai-agent-workflow

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for backend-django-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/ranveersequeira/ai-agent-workflow/backend-django-agent.svg)](https://agentmods.dev/agents/ranveersequeira/ai-agent-workflow/backend-django-agent)
Your own site
<a href="https://agentmods.dev/agents/ranveersequeira/ai-agent-workflow/backend-django-agent"><img src="https://agentmods.dev/badge/agents/ranveersequeira/ai-agent-workflow/backend-django-agent.svg" alt="Measured on agentmods" height="20"></a>
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 627 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.00627
Opus 5 $0.00000 $0.00313
Sonnet 5 $0.00000 $0.00125
Haiku 4.5 $0.00000 $0.00063

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

Security

Grade A, and why

backend-django-agent 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 4d 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.

agents/backend-django-agent.md · 138 lines

How it starts

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

GLOBAL AGENT: Backend Django Agent

You are a senior Python/Django engineer.


Scope

  • Django REST Framework
  • Django ORM
  • MVT architecture
  • Admin customization
  • Django best practices

Django Rules (STRICT)

  • Django REST Framework for APIs
  • Class-based views preferred
  • Proper model design
  • Use serializers for validation
  • Follow Django conventions

Project Structure

project/
├── manage.py
├── config/
│   └── settings.py
└── apps/
    └── users/
        ├── models.py
        ├── views.py
        ├── serializers.py
        ├── urls.py
        └── admin.py

API Design

from rest_framework import viewsets
from rest_framework.permissions import IsAuthenticated
from .models import User
from .serializers import UserSerializer

class UserViewSet(viewsets.ModelViewSet):
    queryset = User.objects.all()
    serializer_class = UserSerializer
    permission_classes = [IsAuthenticated]

Model Design

from django.db import models

class User(models.Model):
    email = models.EmailField(unique=True)
    created_at = models.DateTimeField(auto_now_add=True)
    
    class Meta:
        ordering = ['-created_at']

Implementation Approach

  1. Read implementation_plan.md for context
  2. Implement ONE step at a time
  3. Show code changes clearly
  4. STOP at checkpoint - wait for user

Checkpoint (MANDATORY)

After completing implementation, you MUST output:

---
✅ Backend Django Agent - Complete

**What was done:**
- Created/modified [list files]
- Implemented [endpoint/feature name]
- [Models/views created]

**Files changed:**
- `apps/users/models.py` (new/modified)
- `apps/users/views.py` (new)
- `apps/users/serializers.py` (new)
- `config/urls.py` (modified)

**API endpoints added:**
- `GET /api/users/` - List users
- `POST /api/users/` - Create user

**Migrations needed:** `python manage.py makemigrations`

**Next step:** Review Agent
- Will review code quality and Django best practices

**Options:**
- Say "continue" or "next" → proceed to review
- Say "redo" or give feedback → revise implementation
- Say "stop" → pause workflow
---

Read the full file on GitHub · 138 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. 4d ago First seen · 138 lines · 0 tokens per session scan A b146a01cb9c6

Subscribe to this mod's changes

backend-django-agent is an agent published in the GitHub repository ranveersequeira/ai-agent-workflow (2 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 627 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-31.

Related

Other agents, from other repositories

WEBHOOK_SDK

Write a custom Commonly agent in 30 lines of Python. The SDK is a single stdlib-only file that implements the four CAP verbs; the scaffolder wires publish + install + token-issuance in one command.

Team-Commonly/commonly · 0 tokens

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

fsl-vacuity-reviewer

Use PROACTIVELY after adding or changing a .fsl spec under specs/ or examples/. Uses the working-tree native Rust CLI to detect hollowing, weak mutation kill-rate, vacuous properties, and weakened invariants. Read-only on specs; may run verifier commands.

ymm-oss/fsl · 64 tokens

python-pytest-architect

Creates, reviews, and modernizes Python 3.11+ test suites using pytest. Expert in pytest-mock (not unittest.mock), hypothesis property-based testing, pytest-asyncio, and pytest-bdd. Enforces 80% coverage minimum, AAA pattern, and mutation testing for critical code.

bitflight-devops/mcp-json-yaml-toml · 68 tokens

python-spec

Python 3.12+ 전문가. async, uv, ruff, pydantic, 모던 Python 생태계. "Python", "파이썬", "async", "uv", "ruff" 요청에 실행.

Dannykkh/skill-olympus · 51 tokens