ClickMe
An advertising AI platform that brings creative generation, simulation, and campaign automation into one place
- Python
- FastAPI
- LangGraph
- DeepAgents
- LangSmith
- Meta Marketing API
- PostgreSQL

Contribution
- Designed and built the ad operations agent workflow on LangGraph and DeepAgents
- Built risk-tiered execution control (human in the loop) and an approval policy system
- Built the Meta API execution pipeline around integrity and idempotency checks
- Built audit logging and execution history tracking
- Set up 30 regression tests and a LangSmith-based observability environment
Problem solving
01Preventing duplicate execution between the Meta API and the database
Problem
An external Meta call and a database write cannot share a transaction, so a failure and retry could execute the same request twice.
Solution
- Claimed an idempotency key before execution so a duplicate request could not enter.
- Released the claim when execution failed, making retries safe.
- When the Meta call succeeded but follow-up processing failed, recorded the result and blocked any further execution.
Result
The same request executes once, and execution state stays consistent even when something fails.
02Closing the gap between an approved plan and what actually runs
Problem
The plan a user approved could differ from the plan present at execution time, which is an integrity risk.
Solution
- Pinned the plan with a proposal_hash and verified that the approved content had not changed.
- Re-checked approval state, policy, permissions, and expiry immediately before execution.
- Normalized budgets to integer KRW so amounts could not be interpreted two ways.
Result
Only an approved plan can execute, which keeps execution integrity intact.