# Vamshi Jandhyala > Applied AI for regulated finance, education and research mathematics, from a data and API product leader at Bloomberg, J.P. Morgan, Fidelity and Schroders who builds AI hands-on. Vamshi Jandhyala is a London-based applied AI product leader: Head of Data License HTTP API at Bloomberg, previously J.P. Morgan, Fidelity International, Schroders, HSBC, BlackRock, PwC and Citi, and an engineer before that. He advises early-stage startups in applied AI and data, and builds AI hands-on: agents and evaluation for regulated finance, free maths platforms for students, and research mathematics verified in Lean. ## About - [LinkedIn](https://www.linkedin.com/in/jvvamshi/): career history. ## AI for Finance (Lab) - [Tax Policy Navigator](https://vamshij.com/lab/tax-policy-navigator): A case study in product judgment for grounded AI in a regulated domain. Why refusal has to be a designed surface, why a citation has to reach down to the individual claim, and where a machine judge stops being enough and a human has to take over. Built and evaluated end to end over the full HMRC Employment Income Manual. The hard problems turned out to be product problems, not model problems. - [Rule Grounding](https://vamshij.com/lab/rule-grounding): A working prototype of citation grounding for regulated agent output, built against the FCA Handbook API on the day after it launched. It resolves a citation, checks whether the provision is binding, and refuses to certify a decision whose governing text has changed since it was taken. - [Governed Data Eval](https://vamshij.com/lab/arranged-data-eval): On a regulated-finance task, the same model produces two different answers because only one dataset encodes the firm's record of truth. A deterministic eval tied to that truth catches the difference, and no external benchmark can substitute for it. - [AgentScope](https://vamshij.com/lab/agent-harness): A clickable prototype that visualises a tree of agent runs, each with their own steps, context window, and cost share, on one screen, with three switchable mock runs. A second view, ContextScope, debugs what the agent believed rather than what it executed. - [Data Discovery Agent](https://vamshij.com/lab/datadiscoveragent): A clickable prototype that answers a question most chat-with-data demos refuse to ask. How should a regulated-data platform expose an agent surface when picking the wrong dataset can mean wrong answers, compliance breaches, or runaway cost? ## Essays - [When to use decision models](https://vamshij.com/writing/when-to-use-decision-models): How to choose use cases, set thresholds and evaluate results. Many high-volume AI workflows are bounded decisions: every acceptable answer can be listed before the input arrives. A model built only to decide returns a probability for each answer, and the product behaviour becomes a policy you choose and can measure. - [The authority surface](https://vamshij.com/writing/the-authority-surface): On your laptop you answer the question may-the-agent-do-this by being there to click yes. In production no one is, so what an agent may do alone, what needs a person, and what it must never do has to be decided in advance, action by action. Graded authority is a product decision, not a setting. - [The record nobody agreed to keep](https://vamshij.com/writing/the-record-nobody-agreed-to-keep): Four days apart in July 2026, the EU postponed its record-keeping obligation for standalone high-risk AI by sixteen months and a widely adopted tool protocol deprecated its logging feature. Firms now have until December 2027 to produce a record nobody has agreed to keep. Each layer defers accountability to the layer next door, every deferral is locally correct, and the chain closes on nobody. - [Encoding judgement](https://vamshij.com/writing/encoding-judgement): Agents rarely lack judgement because the model is weak. They lack it because the judgement was never written down anywhere the agent can reach. From the expert systems that tried to state judgement as rules to the preference data and constitutions that now capture it by example, and why the hard part has moved from articulating judgement to seeing what we encoded. - [A benchmark is not a control](https://vamshij.com/writing/a-benchmark-is-not-a-control): The most respected LLM benchmarks measure whether a model can do a task in a lab. None of them measure whether an agent's output is acceptable in a regulated workflow, and most cannot, by construction. A field guide to reading a leaderboard when you run agents on data you have to answer for. - [An answer that runs is not an answer you can trust](https://vamshij.com/writing/an-answer-that-runs): A generated query that runs is not one you can trust, and the gap widens as the data outgrows what a human can check by eye. What an agent harness for interactive data discovery has to do, told through a quant at a hedge fund: keep the analyst able to trust a result they can no longer inspect. - [The cushions an agent loses in production](https://vamshij.com/writing/the-cushions): An agent that works beautifully on your laptop is standing on cushions you stopped noticing: a human watching, a single user, your own credentials, a visible trace, your own judgment, and an undo key. Production removes them one by one. Engineering them back is what reliability actually means, and most of it is not a modeling problem. - [Vibe Coding and the Boundary of the Firm](https://vamshij.com/writing/coase-vibe-coding): Vibe coding has not only moved the make-or-buy boundary; it has turned building into a cheap option that reprices the whole decision, even for the core systems the cloud era taught everyone to rent. What should decide it is no longer the falling cost of code but the costs that do not fall with it, amortisation, accountability, data, and optionality. - [Agent-ready financial data: an architectural view](https://vamshij.com/writing/agent-ready-financial-data): An architectural view of how a financial data provider can make its data ready for autonomous and semi-autonomous agents. Workflow archetypes, the three human-in-the-loop bands, the surfaces (REST, SDK, MCP, agents.md, skills, code-as-action), and why the semantic layer is the product. - [Ironies of AI automation](https://vamshij.com/writing/ironies-ai-automation): Lisanne Bainbridge showed in 1983 that automating a task makes the human who remains more important and less capable at the same time. Every one of her ironies survives the move to AI agents, and two of them get worse. - [The catalog becomes the query interface](https://vamshij.com/writing/catalog-as-query-interface): An essay from 2023 arguing that natural-language queries would replace SQL as the primary interface to enterprise data, with the data catalog as the substrate that makes those queries trustworthy. Republished with a 2026 note. - [When the customer is an LLM](https://vamshij.com/writing/llm-apis-the-new-customer): An essay from 2023 arguing that LLMs would become primary consumers of APIs, that API documentation would become in-demand training data, and that API product managers would soon be designing for a non-human customer. Republished with a 2026 note. ## AI for social good - [Lemma](https://lemmamaths.co.uk): free TMUA preparation. - [OlympiadHQ](https://olympiadhq.com): free olympiad mathematics training. ## AI for mathematics - [Almost-squares in almost-squares](https://vamshij.com/research/almost-square-tilings): Which k × (k+1) rectangles split into smaller distinct ones: exactly 4, 10, 12, 14, 15, 18 and every k ≥ 20. Friedman's conjecture. - [Two triangulations, one outline](https://vamshij.com/research/two-triangulations-hull): From nine points on, two triangulations can share nothing but the five outline edges, answering Rote. - [Does the smallest copy fit?](https://vamshij.com/research/smallest-enclosing-copy): For many random points in an equilateral triangle, the smallest enclosing copy fits inside with probability tending to 13/48, not 1/2. - [Random lines past three circles](https://vamshij.com/research/random-chords-two-circles): Lines AB and BC hit the third circle equally often, for every ratio of radii in geometric progression. - [A cubic graph with no (n−1)-cycle](https://vamshij.com/research/hamiltonian-cubic-graph): Hamiltonian, not bipartite, and no cycle of length 19: an answer to Gordon Royle's question. - [Necklaces no cut can split](https://vamshij.com/research/shuffle-anti-squares): Shuffle anti-squares exist in every even length from 24, as Grytczuk, Pawlik and Pleszczyński conjectured. - [A mex sequence that never repeats](https://vamshij.com/research/mex-sequence-not-periodic): Guy's question E27: the sequence from 1,1,1,0,1,0,1,1 is unbounded, so not ultimately periodic. - [Newman-Conway and its cousin](https://vamshij.com/research/hofstadter-conway-comparison): Alkan's alternating variant never strays further from n/2 than the Newman-Conway sequence. - [Two figures of eight](https://vamshij.com/research/polynomial-lemniscates): Polynomial lemniscates meet in at most 2n₁n₂ − 2 points; two lemniscates of Bernoulli in at most six. - [Quotients of balanced ternary numbers](https://vamshij.com/research/balanced-ternary-quotients): Guy's question F31: infinitely many integers are not a ratio of two numbers whose balanced-ternary digits are all 1 or −1. - [Descent sets of a permutation and its inverse](https://vamshij.com/research/descent-sets-inverse): Almost every pair of subsets occurs, so Stanley's growth rate is L = 4. - [An alternating sum that is never negative](https://vamshij.com/research/alternating-sum-positivity): Abdesselam's sum L(u,a,b,n) is nonnegative, and Taylor's and Hucht's conjectures follow. - [A ratio of symmetric polynomials](https://vamshij.com/research/symmetric-polynomial-ratio): Ait-Haddou's ratio of complete homogeneous symmetric polynomials increases, for every degree and position. - [Even and odd Dyck paths](https://vamshij.com/research/even-and-odd-dyck-paths): Weight a Dyck path by its valley positions: even minus odd is the number of symmetric paths. Cigler's question, a combinatorial proof. - [Counting cycles in a Sylow 2-subgroup](https://vamshij.com/research/sylow-cycle-polynomials): The two factors Stanley observed are irreducible over the rationals at every level. - [A sequence that looks back half way](https://vamshij.com/research/half-window-sequence): If a(n) drops by a(⌊n/2⌋)/n at each odd step, then n a(n) tends to 1/(1 − ln 2), as a commenter guessed from the digits. - [Equal perimeters, no two alike](https://vamshij.com/research/equal-perimeter-rectangles): A square splits into nine rectangles of equal perimeter, no two congruent; nine is the fewest, with exactly five solutions. - [697 × 611 in fourteen squares](https://vamshij.com/research/squared-rectangle-697x611): The rectangle needs exactly fourteen squares, not seventeen, so it is not a counterexample to the minimal squaring conjecture. - [Seven problems from Erich Friedman's *Math Magic*](https://vamshij.com/research/math-magic-problems): Three armies of five bishops fit on a 5 × 5 board and three of eight on 6 × 6, and no more: Friedman's two values. - [Deleting the powers of four](https://vamshij.com/research/powers-of-four-representations): Remove 16, 64, 256, … and the ordered ways to write n as a sum of three survivors still rise at every n: Sándor and Yang's Remark 1.3. - [Three circles and a fair coin](https://vamshij.com/research/tangent-circles-incentre): A triangle through random points on three touching circles contains the incentre with probability exactly 1/2, for all radii. - [A zero-sum selection game](https://vamshij.com/research/zero-sum-selection-game): Lev's question: the winning matrices form a union of subspaces of dimension n(n+1)/2 − 1, and recognising them is Π₂ᵖ-complete. - [Five from inverse pairs](https://vamshij.com/research/inverse-pairs-five): Summing 1/√(a·ā) over a and its inverse mod p gives 5 + O(p^(−1/8+ε)): the inverse pairs behave like all pairs, and those sum to (∑ 1/√a)²/p → 4. - [The easiest dice to tell apart](https://vamshij.com/research/easiest-dice): Among loaded dice whose faces are capped at probability r, a staircase against its own reversal is the easiest pair to tell apart, for any number of faces and rolls; this answers an open Math.SE question with its equality cases. - [Latin squares of small rank](https://vamshij.com/research/latin-squares-small-rank): Every Latin square of order n has rank at least 1 + 3(n−1)/(n+1), so at least 4 from n = 5 on; the least ranks up to order 8 are 1, 2, 3, 3, 5, 4, 6, 4. - [Permutations with no whole-number averages](https://vamshij.com/research/good-permutations-mersenne): If no proper block of a permutation of 1..n averages to a whole number, then n = 2ᵐ − 1; the asker's example works exactly when n is prime, and n = 15, 63 have none. - [Catching the centroid](https://vamshij.com/research/catching-the-centroid): A circle on a random diameter of a convex region contains the centroid with probability at most 14/27 ≈ 0.5185; the equilateral triangle's 0.5164 is conjectured best. - [A broken stick and a Feynman diagram](https://vamshij.com/research/broken-stick-feynman): The chance that six random pieces of a stick make a tetrahedron is a three-loop Feynman diagram; it is 0.0125749944…, not 1/79. - [Prime squares and half-turns](https://vamshij.com/research/prime-squares-half-turns): A p × p square, p prime, cut into p congruent pieces that are only translated or half-turned must be cut into bars; with quarter-turns too, the question is open. - [Five numbers, many averages](https://vamshij.com/research/five-numbers-many-averages): Replacing two numbers by their average, the five integers (5N, 0, 4N, 3N±5, 3N±5) with N = 2ᵏ⁺¹ need exactly k + 3 moves to become equal, so five numbers have no bound on the shortest solution. - [Why the sphere beats the ball](https://vamshij.com/research/why-the-sphere-beats-the-ball): Three points on concentric spheres form an acute triangle with probability at most 1/2, equal only when the two outer radii agree; so the uniform sphere beats every rotationally invariant law in space, while in the plane moving mass inwards helps. - [Raising the apex raises the Gaussian centroid](https://vamshij.com/research/raising-the-apex): Raise a triangle's apex along the perpendicular through a point of its base and the Gaussian centre of mass rises, in every dimension and wherever the Gaussian is centred; whether it always pins down the moving vertex is open. - [Sixteen words cover all 15-bit strings](https://vamshij.com/research/sixteen-words): Deleting five bits from every 15-bit string can leave just 16 different strings, down from 17 in 2013, so the growth rate of the n/3-deletion problem is at most 16^(1/15) < 1.2031; among symmetric sets 16 is optimal. - [Six matchsticks in a square](https://vamshij.com/research/unit-hexagon-diameter): No simple loop of six unit sticks fits in a unit square: the six-stick case of an open parity question. - [A randomized Pascal triangle](https://vamshij.com/research/randomized-pascal-triangle): The expected average blows up whenever p ≥ 0.232; whether it does for every p > 0 is open. - [Labelling binary trees by powers of two](https://vamshij.com/research/power-two-tree-labels): Every tree with at most 24 vertices can be labelled 0 to n − 1 with power-of-two steps; five constructions and an exact rule for universal label sets narrow any counterexample. - [Wandering over the divisors of 10ⁿ](https://vamshij.com/research/wandering-over-divisors): Players multiply by 2 or 5 or divide by 10, never repeating a divisor. The tournament's natural answer fails from 10⁶ on, and the second player beats whole families of openings on every board. - [Unfolded cubes that tile space](https://vamshij.com/research/cube-unfoldings-tile-space): Every one of the 502,110 unfoldings of the six-dimensional cube tiles five-space with its point reflection, extending Firet's five-cube result. - [How much two balanced trees must share](https://vamshij.com/research/balanced-tree-agreement-subtrees): Two balanced trees on n leaves always agree on at least n^0.243 leaves, and some on only n^(5/11); Martin and Thatte conjectured n^(1/2). - [The chain that reaches farthest](https://vamshij.com/research/span-maximising-chains): Every best chain has lengths rising then falling; exactly three orders occur for four segments, and the general count is open. - [Polyomino rectangles by parity](https://vamshij.com/research/polyomino-rectangle-parity): One copy of every hole-free n-omino tiles no rectangle for n = 8, 10 or 16, because the pieces' checkerboard imbalances add up to 2 mod 4 (for n = 16, over 11,230,003 pieces). Sizes 9 and 11 to 15 stay open. - [Six circles in a rectangle](https://vamshij.com/research/six-circles-rectangle): The red segment is exactly as long as the rectangle is tall: a proof by classical geometry alone. ## Mathematical writing - [Geometric Probability](https://vamshij.com/books/geometric_probability): Sixty-two problems in sixty-one chapters in classical geometric probability, the broken stick, Buffon's needle, Bertrand's paradox, Sylvester's four-point problem, Wendel's theorem, Cauchy's shadow formula, each with an analytic solution. - [Between the Challenge and the Olympiad](https://vamshij.com/books/ioqm): Three hundred and eighty-eight problems from the Indian national olympiad qualifiers, the PRMO and the IOQM, arranged by the mathematics they are about rather than the paper they were set on, from divisibility and Diophantine equations to counting, inequalities, triangles and circles. Every one asks for a number, and every one is worked in full. - [Short Excursions](https://vamshij.com/books/miscellany): Expository notes, solved puzzles and small computations that do not belong to a longer book, from inversion and the Apollonian gasket to random walks, logic-puzzle solvers and orbits drawn to scale. Each piece stands alone and most are also set as an A4 PDF. - [The Canterbury Puzzles](https://vamshij.com/books/canterbury): Henry Ernest Dudeney's 1907 collection, in which the pilgrims of Chaucer's road set each other puzzles of weights, measures, crossings, dissections and chessboards. All 114 are retold in modern words and solved in full, alongside the original plates. - [Amusements in Mathematics](https://vamshij.com/books/amusements): All 430 puzzles from Henry Ernest Dudeney's 1917 classic, from money and clock puzzles to dissections, unicursal routes, chessboard tours, magic squares and mazes, each retold in modern words and answered in full. - [The Riddler](https://vamshij.com/books/riddler): Selected problems from Oliver Roeder's *Riddler* column at FiveThirtyEight, set out cleanly and solved with a mix of paper-and-pencil reasoning, generating-function techniques, and small Python simulations where the closed form is out of reach. - [The Fiddler: Solutions](https://vamshij.com/books/fiddler): Independent solutions to puzzles from Zach Wissner-Gross's Fiddler on the Proof, the successor to FiveThirtyEight's Riddler. Each chapter states the puzzle with attribution, solves it from scratch, takes on the extra credit, and closes with a short program that confirms the answer numerically. - [Monthly Mindbenders: Solutions](https://vamshij.com/books/momath): Independent solutions to Peter Winkler's Monthly Mindbenders for the National Museum of Mathematics. Each chapter states the problem with attribution, solves it from scratch, and closes with the program that confirms the answer. The problems reward one clean idea rather than machinery, which is what makes them worth writing up. - [Nikoli](https://vamshij.com/books/nikoli): Twenty-five Japanese pencil puzzles, Kakuro, Sudoku, Skyscrapers, Kakurasu, Takuzu, KenKen, Flow Free, Slitherlink, Hashi, Akari, Shikaku, Nurikabe, Masyu, Hitori, Fillomino, Heyawake, Shakashaka, Marupeke, Walls, L-Panel, BlockNumber, Searchlights, Numbrix, and Three-in-a-Row, each modelled as a constraint-satisfaction problem and solved by Google's CP-SAT. ## Optional - [Full text](https://vamshij.com/llms-full.txt): every essay, lab writeup and paper summary in one file. - [RSS feed](https://vamshij.com/rss.xml) - [Sitemap](https://vamshij.com/sitemap-index.xml)