Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AI
Paper β’ 2505.19443 β’ Published β’ 15
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
A production-ready project structure optimized for AI agents (local Ollama, Claude, OpenCode) to help you build software projects with maximum productivity.
.
βββ docs/
β βββ PRD.md # Product Requirements Document (SOURCE OF TRUTH)
β βββ ARCHITECTURE.md # File map, data flow, responsibilities
β βββ CONTEXT.md # Coding standards, constraints, forbidden patterns
β βββ decisions/ # Architecture Decision Records (ADRs)
βββ src/
β βββ core/ # Config, models, database
β βββ api/ # Routes, schemas, dependencies
β βββ services/ # Business logic
β βββ utils/ # Validators, exceptions, logger
β βββ main.py # Application entry point
βββ tests/
β βββ unit/ # Fast, isolated tests
β βββ integration/ # DB + external API tests
β βββ e2e/ # Full flow tests
βββ agents/
β βββ smolagent_runner.py # Single agent with local Ollama
β βββ multiagent_workflow.py # Multi-agent team (architectβcoderβtesterβreviewer)
βββ scripts/
β βββ setup.sh # One-command environment setup
β βββ start-ollama.sh # Optimized Ollama server startup
βββ .cursorrules # Cursor IDE AI instructions
βββ .claude.md # Claude Code AI instructions
βββ mcp.json # MCP server configuration
βββ opencode.json # OpenCode local model config
βββ pyproject.toml # Python project + tool configuration
git clone <your-repo>
cd ai-dev-template
chmod +x scripts/*.sh
./scripts/setup.sh
This sets up:
.venv/)src/core/, src/api/, etc.).env template# Edit requirements
nano docs/PRD.md
# Edit architecture
nano docs/ARCHITECTURE.md
# Edit coding standards
nano docs/CONTEXT.md
# Set environment variables
cp .env .env.local && nano .env.local
# Start Ollama with optimized settings
./scripts/start-ollama.sh gemma4:4b
# Verify it's running
curl http://localhost:11434/api/tags
Single Agent (quick tasks):
source .venv/bin/activate
python agents/smolagent_runner.py "Create a user registration API endpoint"
Multi-Agent Team (complex projects):
source .venv/bin/activate
python agents/multiagent_workflow.py "Build a complete blog platform with authentication"
gemma4:4b (fast, good for coding)http://localhost:11434/v1.claude.md in repo root| File | Purpose | When to Update |
|---|---|---|
docs/PRD.md |
What to build | When requirements change |
docs/ARCHITECTURE.md |
Where files go | When adding/removing modules |
docs/CONTEXT.md |
How to code | When standards change |
.cursorrules |
Cursor IDE behavior | When switching editors |
.claude.md |
Claude Code behavior | When switching agents |
| Task | Command |
|---|---|
| Run tests | pytest --cov=src --cov-report=term-missing |
| Format code | black src/ tests/ |
| Lint code | ruff check src/ tests/ |
| Type check | mypy src/ |
| Run app | uvicorn src.main:app --reload |
| Start Ollama | ./scripts/start-ollama.sh |
docs/PRD.mddocs/ARCHITECTURE.mdsmolagent_runner.py) to write codemultiagent_workflow.py to generate testspytest, fix issuesgit commit -m "feat: implement user registration"Connect your IDE to powerful tools:
Setup in your IDE (Cursor/VS Code/Claude Code):
mcp.jsonclaude mcp add hf-mcp-server -t http "https://huggingface.co/mcp?login"opencode.json