r/opencode • u/fraktura_gips • 6d ago
r/opencode • u/Infinite_Squash_3563 • 6d ago
free AI coding agents,from multiple providers together using Omnirouter.
I found a way to efficiently use free AI coding agents,from multiple providers together using Omnirouter.
examples of some of the models currently available to me :
- nvidia/mistralai/mistral-large-4-1t-a52b
- openrouter/nvidia/nemotron-3-ultra-550b-a55b:free
- opencode-zen/deepseek-v4.1-flash-free
PROS :
- Free models.
- Okay models for dailly usage.
A way to experiment with agentic AI without paying for API access.
CONS :
- Low usage limits.
- security and privacy considerations when sending data to external providers as some train their models on it.
If you're interested in how it works or want to try it yourself, I've documented everything here https://github.com/yi435/free-ai-agent-stack .
In the repo there is a prompt to give to your agent to do this.
r/opencode • u/Inferno889 • 6d ago
Is DeepSeek pro worth using?
I don't really have an issue with usage. So I'm potentially looking to try other models that are either faster or better than DeepSeek 4.1 flash.
r/opencode • u/gimaboge • 6d ago
Please someone sell to me his promotional link for claude api keys with credits to help me in my school projects please
r/opencode • u/CSEliot • 6d ago
OpenCode no "Forgot Password" option.
Hello!
Apparently I made an account w opencode but I don't recall and I have no "thanks for making an account!" type emails in my email history (although, I do one one promotional email from them ..... somehow)
Anyway, who do I contact? Because I want to make an account but when I try it says "Not possible, maybe you already made email w us?" kind of thing.
Thanks in advance!
(already sent email to help@anoma.ly)
Edit:
Turns out at some point I logged in using github, which shares same password. Which their support pointed out!
BUUuuuuut also it said there's a "forgot password button" on the site. Here's the ai email:
```
Hi Eliot, Yes, you can reset it. Go to the sign-in page at https://opencode.ai/auth, choose Forgot?, and enter this email address. We'll send you a link to set a password. If the email doesn't show up, check your spam folder. An account made with GitHub sign-in uses the email from your GitHub account and has no password until you set one this way, which might be why you don't remember signing up.
```
/auth redirects tho. ANd that redirect doesn't have a "Forgot?" button. Does anyone else see one? Thanks!
r/opencode • u/Full-Investigator-56 • 6d ago
Opencode Big pickle failing
When i ask opencode/big-pickle smth it repeats like ı will do it i wil do it.... Does anyone know how to Fix it
r/opencode • u/CptanPanic • 6d ago
Opencode-Go page shows "Est Requests 5hr" for each model if you stay under this, will it last all month?
Not clear on the page about these 5hr limits are.
r/opencode • u/Early-Equivalent331 • 6d ago
How do you tell a coding agent to leave malformed input visible?
r/opencode • u/jakedowns • 6d ago
I built an OpenCode plugin that turns long sessions into a live progress pill
i'm working on a small plugin that is an alternative the previously removed (and opt-in re-added) Todo/Tasklist tool,
it's enhanced, in the sense that it supports & encourages agents to pipe long-running builds through an out of band (back-channel) relay wrapper script that pipes stdout progress bars into a nice & neat summary / rollup pill
i've found it really helpful for when sessions become long walls of text
would love to know what others think of it
ps. it has no tracking or analytics outside of npm's standard download count tracking.
just point your opencode agent to the github release to install:
https://github.com/jakedowns/progress-tool/releases
**EDIT** this should work for TUI and Desktop, if you want it in the Web GUI, please make some noise on this PR: https://github.com/anomalyco/opencode/pull/62608
r/opencode • u/moohric • 6d ago
What's the actual RPM limit for opencode models?
For some reasons, I'm getting constant 429s, even without running multiple agents in parallel. Usually it happens when it starts making small edits, and every time this happens it seems like it'll wait for a period before continuing again. Has anyone investigated this?
Deepseek v4.1 flash via Opencode 10$ Go plan, using it on opencode and codex (through magpie on the latter).
Also open to other suggestions (i.e. has someone tried the mistral plan?). At this point I might be running from the official API, it's honestly not that expensive anyways.
r/opencode • u/_Didnt_Read_It • 6d ago
MiniMax is not ZDR: Three breaches, endless leaks: Your AI supply chain needs canaries
r/opencode • u/Glittering-Gain6131 • 6d ago
What are the limits of OpenCode????????
What.
There is a 130,000-token limit; what kind of harm could setting such a limit cause you?
r/opencode • u/Ok_Strategy0_11 • 6d ago
Opencode free exhaustion in the first message itself
This is the second or third day i tried to use DeepSeek 4.1 flash after the free glm flash option is gone, in opencode and it showed me the free message quota exhausted even though it didn't even completed a single request. Whats happening anyone have any idea ? I used to work for hours and never exhaust message limit a few days ago.
r/opencode • u/IlovedamemesUwU • 6d ago
Hy team explained why Hy4 sometimes spends too long reasoning
https://www.reddit.com/r/LocalLLaMA/s/VUQfedXjb
When I use Hy4, I do sometimes run into cases where it spends too long reasoning. Joined the Tencent Hy team's AMA though, and learned that the goal of Hy4 is to maximize intelligence, so it naturally leans toward longer CoT reasoning. That actually makes sense. For Hy4-Flash, the team uses RL to keep the CoT short while maintaining good cost efficiency.
Feels like a classic tradeoff between different model variants. Hy4 focuses more on reasoning capability, while Flash prioritizes efficiency and day-to-day usability. When you guys use Hy4, do you prefer letting it reason things through fully, or do you wish it would just give you an answer faster?
r/opencode • u/Effective_Union7326 • 6d ago
I combined OpenCode Go ($10 plan) usage costs with Artificial Analysis intelligence scores to find the optimal model

Hey everyone,
I took the usage rates from the OpenCode Go ($10/mo) plan and mapped them against the Artificial Analysis (AA) Intelligence Index to build a quick "cost-per-intelligence" chart.
If you want to mess around with the interactive chart or see where different models sit on the Pareto frontier, check it out here: Interactive Chart: https://xhang1108.github.io/opencode-cost-per-intelligence/
Chart Highlights
- The 10x–50x Multiplier Effect: The biggest standouts are DeepSeek (around a 10x price advantage) and GLM-5.3 (up to a 50x price gap), giving them massive theoretical value per dollar.
- The "Cheap but Low-IQ" Trap: Models like GPT-6 Luna still rank near the far left simply because their base price is dirt cheap, though their much lower intelligence score keeps them from being genuinely competitive for heavier tasks.
Huge Caveat (Just for fun!)
We have no way of knowing if the models served under OpenCode Go are heavily quantized or running full precision and as far as I know, the team hasn't officially clarified or provided proof either way.
Edit: Thanks to u/nazmulpcc for the correction! OpenCode co-founder Dax (@thdxr) has officially confirmed that none of their models are quantized.
Still, treat this chart mostly as a fun experiment rather than an absolute benchmark. It might give you a rough directional idea of what to pick under the Go plan, or at least spark a discussion on what's actually giving you the best real-world results right now.
Data Accuracy Note: All pricing and benchmark numbers are pulled directly via API, so there shouldn't be any manual data entry errors. That said, if you spot any discrepancies or bugs in the chart, let me know and I'll fix them!
r/opencode • u/jakartaundercover • 6d ago
opencode in (not from) your phone
Everyone remote-controls OpenCode from their phone.
So this is a way to Opencode in your phone.
Main Character u/beppe28
https://github.com/beppe2880/opencode-mobile
This little app deserves way more stars.
For those who keep getting errors not found on ip and password in the app. Just read.
If you already have Termux with Opencode in it then all you need is a paste prompt in the opencode Termux page:
"Read this https://github.com/beppe2880/ and https://github.com/baliboyish/opencode-mobile-termux-tutorial - I already installed the app and provide me with correct ip and password"
The catch nobody warns you about: the OpenCode Mobile app needs a server with the 2.0.27 API spec (it checks /api/info). The native Termux build is 2.0.0, so you get "Not found on the server" forever — and it's NOT your password.
What worked for me:
• Run OpenCode 2.0.27 inside proot Ubuntu in Termux (version pinned on install)
• Serve it on 127.0.0.1:4096 with a fixed password
• Add the server manually in the app → Connected, old sessions migrated too
• Termux:Boot + a boot hook + battery unrestricted, so it survives reboots
Full honesty: I let an OpenCode agent inside termux fix the no server errors. I just being Thanos "I use ai to use ai".
Full step-by-step (including the lazy way) here: https://github.com/baliboyish/opencode-mobile-termux-tutorial
App credit: OpenCode Mobile by u/beppe28 — https://github.com/beppe2880/opencode-mobile
r/opencode • u/Current-Quail-2503 • 6d ago
Run out of weekly usage in $10
Yesterday i bought opencode go plan and in less than 24 hours i used all weekly limit and nothing left to use, thinking of buying command code to try.
I am using opencode cli on herdr app, models i used like
Coordinator minimax3.1flash
Worker deepakeep4.1flash
Reviwer glm5.3flash
Previously i was on $100 claude so i was able to do a lot more now thinking to switching open weights models. Have anyone switch whats the experience what sub you are using.
Should i use cli proxy to merge multiple opencode go account or cc accounts or buy bigger subs
Ps i don’t want to spend $100 now, my max budget is $50 if value is incredible but for now $20 is the budget
Ps i have chatgpt plus too which is giving less output than opencode go
r/opencode • u/adam-schaefers • 6d ago
I made a Claude plugin that orchestrates my Opencode LLM
If this is not acceptable for r/opencode I apologize. Opencode is about 50% of the project, the other half is Claude. It's a hybrid solution I'm working on and wanted to share around. Thanks.
r/opencode • u/Mezyi • 6d ago
/btw-cloud: a plugin that answers side questions on a different model than your session (great with local models)
reddit.comr/opencode • u/OwnComposer6151 • 6d ago
Anybody know a better sub?(thats not mistral) I only use DeepSeek.
Does anybody know a better subscription than OpenCode? With OpenCode, I'm getting $100 worth of DeepSeek, and it's lowkey not enough. I know about Mistral, but Mistral is $300 worth of usage, maybe. The cash rate is really low, so the $300 really just comes lower than OpenCode's $100, which honestly is not good at all. I just want to know if anybody has a better suggestion only for DeepSeek.
r/opencode • u/UpstairsOk5511 • 7d ago
DeepSeek 4.1 flash 1017 cheaps but dump ?
Am not gonna lie price for DeepSeek 4.1 flash 1017 is insane n it seems like ur usage limit is completely safe n sound even though u abused on usage. But is about speed DeepSeek 4.1 flash 1017 is very slowly models I've used n made me mad for waiting so long until I'm stand up on my setup. Maybe any recommendations models like DeepSeek 4.1 flash 1017 but more faster enough ?, I've tryed like haiku 5.5 or Kimi 3.1 pro but both have a problem on usage is take kinda for usage tho.
r/opencode • u/Osvik • 7d ago
New Gemini 4 models
Gemini 4 Neon and Gemini 4 Carbon worked quite well for me on my private test (design and frontend development). Gemini 4 Hydrogen was also OK.
It would be great to have a good deal in GO for this models, even if it's just Hydrogen.
r/opencode • u/One_Kick5548 • 7d ago
Made a Windows 95 theme for OpenCode Desktop (Megalarp)




Got bored of the default UI and built a Windows 95 desktop shell for OpenCode Desktop on Windows.
Includes the taskbar, Start menu, draggable window frame, desktop icons, MS Sans Serif + Fixedsys pixel fonts, Win95 WAV sounds (including notification sounds), wallpapers/color schemes, and a toggle right inside Settings -> Appearance -> Theme.
Repo in the comments.
r/opencode • u/Broad_Abies9390 • 7d ago
Another OpenCode model router, but this one tries not to burn your prompt cache
Yes, another model router 😅
I built an OpenCode V2 plugin inspired by Pi’s smart-router. It uses a small judge model to route each turn to a model from a pool you choose. The judge can run locally—Qwen 4B on oMLX or llama.cpp, for example—or through an OpenAI-compatible endpoint.
The obvious problem is that switching to a cheaper model can cost more if you lose a warm prompt cache. So the router estimates cached input cost for the current model against cold input cost for alternatives. It keeps a pin unless there’s a good reason to switch, like the task needing more capability or an adequate alternative being much cheaper. There’s also a guard against bouncing between models.
You can choose cost, quality, or balanced preferences, mix local and cloud models, and choose how aggressively to favor the cache. If the judge times out, deterministic rules take over. /router explain shows the last decision and /router timing shows the overhead.
I’m not going to claim it saves everyone money. It depends on your models, cache pricing, workload, and whether the router makes good calls. I’d like to find out where it gets those calls wrong.
If you try it, I’d appreciate issues or feedback—especially bad model picks, unexpected cache behavior, judge latency, or setup problems.
GitHub: https://github.com/231self/opencode-router
r/opencode • u/NOT_Kimo • 7d ago
College Software Engineering project using AI
I have a college swe project to build an app but while using AI and we have to make everything like ci/cd, tests, i will add all of the project for anyone interested in more details but now i don't know exactly where should i start i have some knowledge in using claude code i have been using it in some simple tasks with agent router api key but never tested it for something big or important like this so i want to know what should i do.
It is also a team of 4 project so we have to all be the same on github.
here are the details about the software requirements but maybe read the last grading criteria to know what we really need to do:
PayLink Year Work Project - Student Brief
Your team builds PayLink, a bill-payment and wallet backend, from requirements to a locally deployed CI/CD pipeline, using AI at every step and applying what you learn in lectures and labs.
1. Project at a glance
Read sections 2 and 3 first: they say what to build. Section 4 says what to hand in and when.
| Item | Detail |
|---|---|
| What you build | PayLink: a backend system where customers pay utility bills (electricity, water, mobile, internet) from a digital wallet |
| Grading | 100 points, rescaled to the year-work marks |
| Tools you must use | AI assistant (prompting), PlantUML or Mermaid, Docker and docker compose, GitHub Actions, a unit-testing framework |
| Concepts you must apply | Prompt engineering, AI-augmented design, test-driven development, 5 design patterns, an architecture pattern, deployment options |
| Phase 1 due | Wednesday 25 November (30 points) |
| Phase 2 (final) due | Friday 18 December (70 points) |
| Discussion | In your lab, starting Saturday 19 December |
2. The problem in detail
2.1 The story
PayLink is a company in Egypt, similar to Fawry or Vodafone Cash. Millions of people pay bills every month through its mobile app and through agents (small shops with a PayLink terminal). Customers do not want to queue at the electricity office, and billers (the utility companies) want to be paid fast and correctly.
PayLink earns money by charging a small service fee on each payment and by paying commission to agents. It also carries a heavy responsibility: it holds customers' money in wallets. If a customer is charged twice, or charged for a payment the biller never received, the company loses trust and money, and may face regulators.
You are the engineering team. Management wants a new backend that is correct with money, easy to extend with new billers, and ready to handle the busiest day of the month.
2.2 One payment, step by step
Sara opens the app and pays her electricity bill from her wallet:
- Login and limits. The system identifies Sara and checks her verification level (basic accounts may pay at most 5,000 EGP per day).
- Bill inquiry. Sara enters her meter number. PayLink asks the electricity company (ElectroCo) for the bill and shows 350.00 EGP due.
- Fee and total. PayLink adds its service fee (2.50 EGP) and shows a total of 352.50 EGP.
- Fraud checks. The system checks daily limit, number of payments in the last minute, and whether the account is blocked.
- Hold the money. 352.50 EGP is moved from Sara's available balance to a held balance. It is not spent yet.
- Call the biller. PayLink sends the payment to ElectroCo with a unique reference.
- Confirmation. ElectroCo answers: paid. PayLink turns the hold into a final charge, credits its own fee income, and records the commission if an agent was involved.
- Receipt. Sara gets an SMS and a push notification.
- Night reconciliation. ElectroCo sends a settlement file listing every payment it received. PayLink compares it with its own records and reports any difference. Every step can fail. Most of your project is about what the system does when it does.
2.3 Key terms you must understand
| Term | Meaning in this project |
|---|---|
| Biller | A company that issues bills and receives payments (electricity, water, mobile operator, internet provider) |
| Bill inquiry | Asking the biller what a customer owes before paying |
| Wallet | A customer account holding money in EGP, with an available balance and a held balance |
| Ledger | A list of entries that records every money movement. A balance is the sum of its ledger entries; you never overwrite a balance directly |
| Hold | Money reserved for a payment that is not yet confirmed |
| Service fee | What PayLink charges the customer per payment |
| Commission | What PayLink pays an agent for a payment made at the agent's terminal |
| Idempotency key | A unique value sent with a request so that sending it twice has the effect of sending it once |
| Settlement file | The biller's daily list of payments it received |
| Reconciliation | Comparing PayLink's payments with the settlement file and flagging differences |
| Refund | Returning held or charged money to the wallet after a failed or cancelled payment |
2.4 The billers you integrate with
Each biller is a mock server. The instructors give you the contract below; you may write the mock servers yourselves (a small program that follows the contract and can be told to fail on purpose).
| Biller | Service | Protocol and format | Behaviour you must handle |
|---|---|---|---|
| ElectroCo | Electricity bills | REST, JSON | Fast (under 1 second). Inquiry by meter number. Payment confirmed immediately |
| AquaCo | Water bills | SOAP-style XML over HTTP | Slower (2 to 4 seconds). Different field names and error codes. Rejects payments above the bill amount |
| TopUpNet | Mobile top-up | REST, JSON, asynchronous | Replies "accepted" first, then calls your callback URL minutes later with "success" or "failed" |
| NetCo | Internet bills | Daily batch CSV file | No live inquiry; PayLink uploads a file of payments once per day and receives a result file the next morning |
Phase 2 change request: ElectroCo announces a new API version (v2): field names change, amounts move from pounds to piasters, and every request must be signed. Your architecture must absorb this by changing only the ElectroCo integration, not the rest of the system.
2.5 Payment life cycle
Every payment is in exactly one state. Your design must allow only the transitions below (this is the basis of your state diagram and State pattern).
| From | Event | To |
|---|---|---|
| Initiated | Fraud checks pass and wallet has enough funds | FundsHeld |
| Initiated | Fraud check fails or funds are insufficient | Rejected |
| FundsHeld | Request sent to biller | SentToBiller |
| SentToBiller | Biller confirms | Completed |
| SentToBiller | Biller refuses | Failed |
| SentToBiller | No answer within the timeout | Unknown |
| Unknown | Biller later confirms (callback, retry or settlement file) | Completed |
| Unknown | Biller later refuses, or reconciliation finds no payment | Failed |
| Failed | Hold released to the wallet | Refunded |
Completed, Rejected and Refunded are final. A payment in Unknown is never refunded automatically: money is only returned once the system is sure the biller did not receive it.
2.6 Business rules
These numbers are fixed so that every team solves the same problem. Put them in configuration, not in code.
| Rule | Value |
|---|---|
| Daily payment limit | 5,000 EGP for basic accounts, 30,000 EGP for verified accounts |
| Minimum and maximum single payment | 5 EGP and 10,000 EGP |
| Fee for electricity and water | Fixed 2.50 EGP |
| Fee for mobile top-up | 1.5% of the amount, minimum 1 EGP |
| Fee for internet | Tiered: 2 EGP up to 200 EGP, 4 EGP above |
| Promotion | During a promotion period the fee is 0 for one chosen biller (configurable start and end dates) |
| Agent commission | 40% of the service fee, credited to the agent's wallet when the payment completes |
| Velocity rule | More than 5 payments in 60 seconds from one account is blocked for 10 minutes |
| Biller timeout | 10 seconds for live billers; after that the payment becomes Unknown |
| Retries | A payment in Unknown is re-queried up to 3 times (after 1, 5 and 15 minutes) before it waits for reconciliation |
| Notification retry | An SMS or email that fails is retried 3 times, then marked undelivered |
| Rounding | All money uses exact decimal types, never floating point |
2.7 Hard cases your system must handle
These are the situations that make the project realistic. Each one becomes at least one automated test.
| # | Situation | Required outcome |
|---|---|---|
| 1 | The mobile app sends the same payment twice because the network was slow | One payment, one charge; the second request returns the first result |
| 2 | ElectroCo takes 12 seconds to answer | Payment becomes Unknown, customer is told it is being processed, money stays held |
| 3 | AquaCo refuses with an error code | Payment becomes Failed, hold is released, customer gets an SMS with a clear reason |
| 4 | Two payments from the same wallet arrive at the same moment and the balance covers only one | One succeeds, the other is Rejected; the balance never goes negative |
| 5 | The SMS provider is down when a payment completes | The payment still completes; the SMS is retried and finally marked undelivered |
| 6 | TopUpNet calls the callback twice with "success" | Payment completes once; the second callback is ignored and logged |
| 7 | The nightly settlement file lists a payment PayLink has as Failed | The difference is flagged in the reconciliation report for support to review |
| 8 | A new biller must be added | Only a new integration and configuration are added; existing modules are unchanged |
3. Requirements
3.1 Modules (minimum 6)
Each module has its own package or service, its own tests and a clear public interface.
| Module | Responsibility |
|---|---|
| Accounts and Wallet | Customers, agents, verification levels, wallets, ledger entries, holds, top-ups, refunds |
| Biller Catalog | Billers, services, required input fields (meter number, phone number), min and max amounts, active or disabled |
| Payment Processing | Payment life cycle, idempotency, orchestration of the steps in section 2.2 |
| Biller Integration | One adapter per biller that hides its protocol; timeout, retry and callback handling |
| Fees and Commissions | Fee calculation (fixed, percentage, tiered, promotion) and agent commission |
| Notifications | SMS, email and push messages with retry; message templates |
| Fraud Checks (extra) | Daily limit, velocity and blocked-account checks as a chain of rules |
| Reconciliation (extra) | Nightly comparison with settlement files and a difference report |
3.2 Functional requirements (minimum 25 user stories)
Turn the list below into at least 25 user stories with acceptance criteria in Phase 1. You may add more; you may not remove the ones marked Must.
| ID | Requirement | Priority |
|---|---|---|
| FR-1 | A customer can register and has a basic verification level | Must |
| FR-2 | A customer can be upgraded to verified, which raises limits | Should |
| FR-3 | A customer can view wallet balance (available and held) and transaction history | Must |
| FR-4 | A customer can top up the wallet (simulated card or agent cash) | Must |
| FR-5 | Every balance change creates a ledger entry; balances are computed from the ledger | Must |
| FR-6 | An admin can add, edit and disable billers and services | Must |
| FR-7 | A customer can see the list of billers and the input fields each requires | Must |
| FR-8 | A customer can run a bill inquiry and see the amount, fee and total before paying | Must |
| FR-9 | A customer can pay a bill from the wallet | Must |
| FR-10 | A repeated request with the same idempotency key returns the original result | Must |
| FR-11 | A payment follows the life cycle in section 2.5 and no other transitions | Must |
| FR-12 | Funds are held before the biller is called and released if the payment fails | Must |
| FR-13 | A payment that times out becomes Unknown and is re-queried by the retry rules | Must |
| FR-14 | The system accepts asynchronous callbacks from TopUpNet and ignores duplicates | Must |
| FR-15 | The system supports at least 3 billers with different formats (ElectroCo, AquaCo, TopUpNet); NetCo batch is optional | Must |
| FR-16 | Fees follow the rules in section 2.6, including the promotion period | Must |
| FR-17 | An agent can pay on behalf of a customer and earns commission | Should |
| FR-18 | Payments above the single-payment limit or the daily limit are rejected with a clear reason | Must |
| FR-19 | More than 5 payments in 60 seconds blocks the account for 10 minutes | Should |
| FR-20 | A support employee can search a payment by reference and see its full history | Must |
| FR-21 | A support employee can block and unblock an account | Should |
| FR-22 | A customer receives an SMS and a push message on completion and on failure | Must |
| FR-23 | Failed notifications are retried 3 times then marked undelivered | Should |
| FR-24 | An admin can edit fee and limit values without redeploying | Should |
| FR-25 | Every money movement and admin action is written to an audit log | Must |
| FR-26 | The system produces a daily reconciliation report from a settlement file | Should |
| FR-27 | A customer can request a refund of a completed payment; support approves it | Could |
| FR-28 | An admin can view daily totals: payments, fees earned, commissions paid, failures per biller | Could |
3.3 Non-functional requirements
Choose and measure at least 6 in Phase 1. The following are the expected ones; your tests or reports must show the number.
| Quality | Target |
|---|---|
| Correctness | Zero double charges and zero negative balances in the concurrency and duplicate tests |
| Performance | 100 payments per second sustained for 1 minute against the mock billers |
| Resilience | A biller outage does not stop payments to other billers |
| Modifiability | Adding a biller touches only the Biller Integration module and configuration |
| Auditability | 100% of money movements have an audit record with who, when and why |
| Testability | At least 70% line coverage on domain logic, measured in CI |
3.4 Technical requirements
- Language and framework: your choice (Java Spring Boot, .NET, Node NestJS or Python FastAPI), declared in Phase 1 and fixed afterwards.
- Database: a relational database with at least 10 tables, schema migrations stored in the repository.
- API: at least 20 REST endpoints documented with OpenAPI, plus one asynchronous flow (a queue, or events inside the application first, then through a broker in Phase 2).
- Design patterns: at least 5 different patterns applied for a real reason. Suggested: Adapter and Factory (billers), Strategy (fees), State (payment), Chain of Responsibility (fraud checks), Observer (notifications), Command (retries).
- Architecture: design a layered or hexagonal modular monolith in Phase 1 and build it first in Phase 2; then evolve at least Notifications and Reconciliation to an event-driven or service-based style, with an architecture decision record explaining the choice and the alternatives.
- Docker: a Dockerfile for each runnable component and one docker compose file that starts the application, the database and the mock billers.
- CI/CD: a GitHub Actions workflow that builds, lints, tests, reports coverage, builds images and deploys the stack locally.
- Tests: unit tests, integration tests for the API and database, and one automated test for each hard case in section 2.7.
- UI: a simple web page or a command-line client is enough. Marks are for the backend.
4. Deliverables and deadlines
How to submit: for each phase, tag your repository (phase-1, final) and upload one PDF report to the course page by the deadline. The tag must contain everything listed. The TA grades the tagged version, not later commits.
| Phase | Deadline | Points | You submit |
|---|---|---|---|
| 1. Requirements, design, DevOps foundation | Wednesday 25 November | 30 | Requirements pack, design pack, Docker and CI skeleton, prompt log |
| 2. Final system | Friday 18 December | 60 | Working system with tests, 5 patterns, architecture evolution, change request, local deployment, report, demo video |
| Individual discussion | In your lab, from Saturday 19 December | 10 | Live change and questions, alone |
Phase 1 (due 25 November): requirements, design, DevOps foundation
- Requirements pack (PDF +
/docs/requirements.md): problem summary in your own words; stakeholders; at least 25 user stories with acceptance criteria written as given/when/then; at least 6 measurable non-functional requirements; priorities (Must, Should, Could); a list of questions the AI asked or ambiguities you found, and the decisions you made. - Design pack (
/docs/design/, source files, not screenshots): use-case diagram; domain class diagram; sequence diagrams for "pay a bill" and "refund a failed payment"; state diagram of the payment (section 2.5); ER diagram of the database. Use PlantUML or Mermaid, generated by prompts and then corrected by you. - DevOps foundation: repository with protected main branch and pull-request rules; a Dockerfile and docker compose file that start an empty application and the database; a GitHub Actions workflow that builds, lints and runs at least one test on every push.
- Prompt log: at least 5 entries, including 2 where the first AI answer was wrong and you improved the prompt. Done when: a teammate can clone the repository, run
docker compose up, see the application start, and see a green pipeline on thephase-1tag.
Phase 2, final (due 18 December): the complete system
You have three weeks (the midterm is on 12 December, so plan around it). Phase 2 includes everything built after Phase 1.
- Working system: Accounts and Wallet, Biller Catalog, Payment Processing, Biller Integration, Fees and Commissions, and Notifications, running with the database against at least three mock billers (ElectroCo, AquaCo, TopUpNet), with the API documented in OpenAPI.
- Tests with TDD evidence: for at least 3 features, the commit history shows the failing test first, then the code, then the cleanup. Coverage above 70% on domain logic, reported by the pipeline. One automated test for each of the 8 hard cases in section 2.7.
- Five design patterns: for each, a short note with the problem, the code before, the AI refactoring prompt and answer, your critique of the answer (what was wrong, unnecessary or risky), and the final code. Add a table mapping each pattern to the folders in your repository.
- Architecture: at least 3 architecture decision records in
/docs/adr/(architecture style, how modules communicate, who owns which data), each comparing at least 2 options with trade-offs. Add a one-page analysis of performance, availability and modifiability for your choice. Then evolve Notifications and Reconciliation through a message broker or event bus (or an equivalent service split), running in docker compose. - Change request: apply the ElectroCo API v2 change (section 2.4). The report lists exactly which files changed and shows that the other modules did not.
- Pipeline and local deployment: on every push the pipeline builds, lints, runs all tests, reports coverage and builds the images. On main it deploys the full stack locally (self-hosted runner or compose on a team laptop), runs a health check, and documents a rollback step.
- Deployment comparison (one page): your local deployment against two cloud options (for example a virtual machine and a managed container service) in cost, scaling and risk.
- Final report (maximum 15 pages): architecture overview, pattern catalogue, test and coverage results, pipeline description, and lessons about AI (where it helped, where it failed, with numbers from your prompt log).
- Demo video (8 minutes): pay a bill through a mock biller, show a failed payment being refunded, then show the pipeline deploying.
- Prompt log: at least 5 new entries, including at least 5 AI suggestions you rejected or fixed, with the reason. The README lets a stranger run the system with two commands. Done when: every minimum item in section 3 is met, a push to main runs the tests and redeploys locally, and the ElectroCo v2 change works.
Individual discussion (in your lab, from 19 December)
Your TA announces the lab schedule. You attend alone. You receive a small change on your own team's code, such as a new biller, a new fee rule or a new notification channel, and implement it live with a test (20 minutes). Then you answer questions about your commits and your team's decisions (10 minutes).
5. Using AI
Use AI at every stage: requirements, diagrams, code, tests, refactoring, pipeline files and ADRs. You are graded on your judgement of the output, not on the output itself.
- Write structured prompts: role, context, constraints, output format, and an example when useful.
- Keep the prompt log in
/docs/prompt-log.mdusing the table below. Be honest: rejected answers earn marks when you explain why. - You must understand every line you commit. Name the AI tool in the commit message when AI wrote more than half of a change.
- Another teammate reviews every pull request before merge. Run and test AI code before you trust it.
- Never paste passwords, real personal data or other teams' code into an AI tool.
- Copying another team's work, or not being able to explain your own code at the discussion, is academic misconduct, whatever your log says. Prompt log table format (example row):
| Date | Author | Stage | Tool and model | Prompt | Summary of answer | Verdict (accepted, fixed, rejected) and why |
|---|---|---|---|---|---|---|
| 2026-11-12 | Student A | Design | (tool name) | (paste your prompt) | (2 lines) | Fixed: the AI missed the held balance in the wallet class |
6. Grading (100 points)
The total is rescaled to the year-work marks.
| Phase | Criterion | Points |
|---|---|---|
| 1 | Requirements: complete, testable, prioritised, ambiguities resolved | 10 |
| 1 | Diagrams: correct, consistent with each other, AI errors documented and fixed | 10 |
| 1 | Docker and first CI workflow work from a clean clone | 5 |
| 1 | Prompt log: structured prompts, honest verdicts | 5 |
| 2 | Working system and documented API; all 8 hard cases pass | 10 |
| 2 | TDD evidence and coverage above 70% | 10 |
| 2 | Design patterns: right pattern for a real problem, critique of AI refactoring | 10 |
| 2 | Architecture decision records, quality analysis and event-driven evolution | 10 |
| 2 | ElectroCo v2 change absorbed by changing only the integration | 5 |
| 2 | Pipeline, local deployment with health check and rollback, deployment comparison | 10 |
| 2 | Final report, README and 8-minute demo | 5 |
| 2 | Individual discussion: live change and questions | 10 |
| Total | 100 |
7. Rules
- Teams: register through the form in section 1. Changes to the team need instructor approval before Phase 2.
- Roles rotate between phases: requirements and product lead, quality and DevOps lead, architecture lead. Your report names who led what.
- Repository: one private GitHub repository; add the instructor and TAs; main branch protected; work through pull requests and issues.
- Late work: minus 10% of that phase's points for each day late, up to 3 days; after that the phase gets zero.
- Questions: ask in the lab or on the course page; do not share code between teams.