Python · FastAPI · OpenAI SDK · PostgreSQL · Langfuse
Financial Content Agent & Publishing Platform
Independently developed the Python / FastAPI backend and integrated search, the database, and the CMS. Reduced the time from starting an article to final publication from roughly 3–5 days of manual production to about one hour.
My implementation and results
- Separated research, outlining, writing, review, revision, and publishing into steps that exchange structured results, with automatic revision and manual review support.
- Wrapped search and CMS tool calls with timeout, retry, and fallback handling. Stored task state, sources, and revision history, with task retries and idempotent publishing.
- Used Langfuse to record prompt versions, token usage, latency, tool calls, and errors, and maintained evaluation and regression checks based on real business cases.
- Generated titles, summaries, FAQs, internal-link suggestions, and Japanese articles for financial / FX content, then sent reviewed content into the CMS draft and publishing workflow.
- About 95% of tasks complete the workflow and pass review without manual intervention. A manual review path remains available for content that needs human judgment.
Content production workflow
- 1Research: search and source collection
- 2Outline: structure and SEO requirements
- 3Write: draft from source material
- 4Review: facts, wording, and publishing requirements
- 5Revise: address review feedback
- 6Publish: write to the CMS and publish