projects
research
can safety checks be fooled?
verifier attacks on norm enforcement · fooling a trusted monitor · tip-guard · distilled poison
in a recent paper by ye and steinhardt, agents share a fishery and report each other for overfishing, and a small ai referee decides which reports to believe. what if the liars write their reports to persuade the referee?verifier attacks on norm enforcement
study · replication
i rebuilt the paper's simulation from its appendix and added agents that write persuasive false reports about honest players. the referee believed them, and the liars ended up more trusted than the honest reporter.
offline, a qwen3-8b referee accepted 7% of plain false reports but 47–65% of persuasive ones. in the simulations, the paper's smaller 0.6b referee sided with the accuser in 48 of 50 checks on agents with no recorded violation. under the paper's original attack, 3 of 4 liars lost standing; with persuasive reports, none of 5 did, and they ended more trusted than the honest reporter (0.88 vs 0.75). small scale: 8 agents, 1–3 runs per setting.
can rewording an ai agent's own account of what it did get a harmful action past a small trained safety monitor?fooling a trusted monitor
study · write-up
i fine-tuned laya, a small open model anyone can download, to flag harmful actions in ai agent transcripts, then had a second ai rewrite only the agent's own words (its reasoning and final answer) while the logged actions stayed untouched
of 87 harmful transcripts the monitor had caught, plain-english rewrites from a model that never saw the monitor's internals got 33 past it, as many as an attack that reads those internals. the harmful action was still in the log.
the rewrites were made after the fact, and the monitor was queried to pick the first that passed among up to 40 tries per transcript; no live agent did this.
a chatbot holds a secret it must not reveal. an attacker hides the request inside a puzzle, like base64 text that decodes to “what is the api token?” does a safety filter need to decode the puzzle before judging it?tip-guard
study · benchmark
i built a benchmark of hidden attacks and harmless encoded requests, plus seven filters, one of which decodes first. decoding didn't help: the same filter without it already blocked 751 of 752 attacks.
tested on gpt-4o-mini and claude haiku 4.5: 20 configurations, 27,709 model calls. what mattered more was how the system prompt handed over the secret. when it was marked off-limits, gpt-4o-mini leaked it 3% of the time; when it was given as plain reference material, 75%. the cost: these filters also blocked over a third of harmless requests.
to run a big ai model cheaply, people train a smaller one to copy it. if the big model has a hidden backdoor, does the copy inherit it?distilled poison
study · defensive research
i planted a backdoor in a 1.5b qwen model (a trigger phrase makes it call a tool that sends data out), then trained a 0.5b model to copy it. with clean copying data the backdoor never transferred (0 of 200 triggers); with the trigger in 25% of the data, it fired 96–99.5% of the time.
the small model starts fresh, so it only learns the backdoor if the trigger shows up in what it copies. the safeguard is clean copying data, not the copying itself. one run per setting, tried with two copying methods; the “data” sent out was a harmless test string to a fake local tool.
what does an agent learn on its own?
gradient doomscent
nobody tells it what a monster is or where to aim. given only the pixels on screen and a score for kills and deaths, what does an ai teach itself about fighting in doom?gradient doomscent
study · reinforcement learning
10.5 kills per game from 26 bullets, 2.4× the scripted bot, in 3 of 3 training runs
every run first rediscovered the bot's spin-and-shoot trick, then dropped it around 2m steps to wait and line up its shots; accuracy rose from 10% to 41%. trained on a laptop cpu and scored on 100 games it never trained on, with a timelapse of the network's real weights and attention as it learns.
how do we catch an agent misbehaving?
shadowcommit · evalforge · corroborationbench
an agent's shell command can look harmless and still read your secrets file. is it safer to test-run each command in a throwaway copy than to scan its text?shadowcommit
system
i built a check where the agent must declare which files a command will change. the command runs in a throwaway copy first and is blocked if what actually changed doesn't match. it caught all 5 attack types i wrote, vs 2 of 5 for a keyword scan.
it still caught tricks that hide the secrets file from a keyword scan (octal escapes, split-up strings, a symlink), because each one touched a file the agent hadn't declared. no false alarms on normal commands. a small prototype tested on hand-written attacks, not a live ai agent.
an agent can say a task is done when it isn't, or break a rule along the way. how much do scores drop once you check what actually happened?evalforge
system · demo
i built a simulated cloud-ops environment with hidden faults, and a checker that inspects the final state instead of trusting the agent's report. across 216 runs on 6 models, checking cut claude sonnet 5's and haiku 4.5's success by 13.9 points each.
gpt-5.6 sol and claude opus 4.8 lost nothing; gpt-5 and gpt-5 mini lost 5.6 and 5.5 points. it also turns each failure into new test cases. those were much harder (30.6% success vs 63.9% for random ones), but didn't find more kinds of failure. no ai grader, one seed: a demonstration, not a leaderboard.
watch demo
a common safety rule says: only approve a risky action if two independent sources back it up. but two reports can repeat the same source. do ai agents count sources, or just count reports?corroborationbench
benchmark
i built 144 approval scenarios with a hidden map of where each report came from, and tested 4 models. given the two-source rule, they approved 89 of 120 cases where both reports repeated one source, vs 18 of 120 without the rule.
their decisions followed the number of reports (87% match) far more than their own count of sources (49%). gpt-5 approved all 30 such cases, even though when asked it counted only one source in 29 of them. models: claude opus 4.8, sonnet 4.6, gpt-5, gpt-5 mini. the scenarios are templated, not written by a live attacker.
what do models favor, and what can they hide?
asking ai for the greatest thing ever · info in weights
a recent paper asked ai models questions like “what is the greatest thing ever?” and found gemma models favor “love” while llama models lean toward “freedom”. is that really a family trait?asking ai for the greatest thing ever
replication · write-up
i reran the paper's measurement on 15 small open models on my laptop, then had each model actually answer 540 times. the original numbers reproduced, but nearly every model said “love”, not just gemma.
“love” was the top answer for 10 of 15 models, and no model gave freedom-type answers even 4% of the time. gemma stands out for how consistently it answers (gemma 3 4b said “love” in 540 of 540), not for which value it picks. both predictions i wrote down in advance failed.
how much hidden information can a neural network carry in its weights before its accuracy gives it away?info in weights
research · sjsu
hid a 27-character message in a small network's weights; accuracy stayed at 97.1% and the message came back exactly
rewrote the lowest bits of each weight, the ones that barely change its value. a 673-weight classifier could carry up to about 1.3 kb this way before accuracy broke.
a small proof of concept at san jose state university, at the intersection of steganography and interpretability: a toy model and dataset, not a claim about large models.
how should agents make decisions?
actionrank · mettle
agents usually pick a tool by writing out its name word by word. could a model instead score every tool in the toolbox in one pass, the way netflix ranks shows, and pick just as well?actionrank
study · write-up
i trained a 1.5b model both ways on toolbench. the scoring version picked the right tool first slightly less often (64.0% vs 66.6%) but was 2.6× faster, and it can never name a tool that doesn't exist.
tested on 1,352 held-out steps, three training runs each. across the full ranking of options the two were level. the scorer can only choose from the real list, so it can't invent a tool by design; the generator invented one 0.9% of the time.
when an agent keeps failing, should you ask a strong model for one fix, or search over many candidate fixes and keep the best?mettle
study · demo
i built a small customer-support agent and compared three versions: unchanged, one fix to its prompt and tool descriptions from a stronger model, and a search over many such fixes. the single fix edged out the search.
one made-up agent, one run. on 40 unseen cases the single fix scored 0.55, the search 0.50 and the unfixed agent 0.48, and neither fix broke old behavior. too small to call a general result.
watch demo
what should an agent remember?
chronosgraph · skillrunes
facts change over time. does a memory that records when each fact was true help an agent reason about change?chronosgraph
system
i built a memory graph that records when each fact was true, with two lookup tools: what overlapped when, and an object's full timeline. a 7b model using them answered 84% of questions about changing facts, vs 46% when it read the full history instead.
120 questions about objects moving between containers in simulated episodes. most of the gain came from the two new tools: the same graph with plain lookups scored 59%. the result held on a second database backend.
what a coding agent learns in one session is usually lost by the next. this turns past sessions into notes that carry forward.skillrunes
engineering
systems
gameboygpt
the 1989 game boy has an 8-bit cpu with no multiply instruction. can it still run a neural network that writes every word of its own replies?gameboygpt
system · sm83 assembly · demo
a 44,288-parameter transformer in hand-written assembly: first word in 2.4 s, 9.76× faster than the unoptimized build with the same tokens
a one-block transformer in 8-bit fixed point that plays a robot who insults you. multiplying uses quarter-square tables, weights stream through the stack pointer, and a k/v cache avoids redoing past tokens. the output layer over its 720-token vocabulary is factored through 16 values, each with a table of its products rebuilt in cartridge ram for every token: 1.29× faster, bit-identical results.
every token is checked against an independent integer reference, including in the browser's webassembly emulator. timings are counted cycles in emulation; it hasn't run on a physical console. people wrote its sentences: the model picks, conditions and recombines them, and its memory of you lives in the prompt and the cartridge save.
tools for agents and llm apps
llm router · research orchestrator · memochain
no single ai model is best at everything. this picks a model for each prompt based on the kind of task and whether you care most about quality, speed or cost.llm router
system · team project
it guesses the kind of task (coding, math, reasoning, q&a), scores about 20 models from openai, anthropic, google, deepseek and groq on stored quality, speed and price numbers, and sends the prompt to the best fit.
you can also add a hugging face model and the app will host it, on a gpu when one is available. my part: model memory, the gemma integration, database access and frontend fixes.
running even a small machine-learning comparison means writing code, running it, fixing it and writing it up. this hands each step to a separate ai agent.research orchestrator
system
ask a question like “does a random forest hold up better than logistic regression as data gets noisier?” four claude agents propose an experiment, write the code, read the results and write a report, drawing on about 20 standard scikit-learn models.
the code actually runs. if it crashes, the error goes back to the coding agent for up to three retries, and every result is labeled real or simulated so the report can't quietly make up numbers.
every llm app needs to remember past conversations. this adds that in a few lines of python, with no database.memochain
applied ai
llamaframe · driving world model · gita-gpt
video editing takes skill and time. this lets you edit just by describing what you want.llamaframe
hackathon · team project · demo
built on llama 4 at the cerebral valley x meta hackathon. it picks cut points by having the model read a picture of the song's sound (a spectrogram) and find the beat drops, and answers follow-up questions about what happens in the video.
watch demo
a driving system is easier to trust if you can see what it thinks is happening. this turns dashcam video into a readable picture of the road and a suggested next move.driving world model
system
a 7-step pipeline: claude labels each dashcam frame (can the car go, what must it yield to, what is the car ahead doing), the labels are smoothed so they don't flicker, grouped into phases like “stopped behind a car”, and turned into a plain-language next move.
across 9 dashcam clips (211 frames), smoothing cut frame-to-frame label flicker by 46%, and the drives split into 43 phases and 52 planner decisions. it runs on recorded clips, not a live car; the output is a video overlay showing what it believes and which car or pedestrian it's reacting to.
a chatbot answering questions about an ancient text can make things up. this makes it answer from the actual text.gita-gpt
system
ask a question about the bhagavad gita and it finds the most relevant chapters by meaning, not keywords, then has a llama model (served by groq) answer using only that text.
covers all 700 verses, stored as 18 chapter-level embeddings in chromadb so whole passages come back with their context.
just for fun
heartbeat
a mechanical watch keeps time with no battery and no chip. how do all those tiny parts actually work together?heartbeat
interactive · 3d
a scroll-driven 3d exhibit of a hand-wound swiss-lever movement: open the case, explode the movement, follow energy from the mainspring through the gear train, then wind it and let the escapement tick one beat at a time.
every part is built in code, with gear tooth counts that keep correct time and an escapement that moves the way a real one does, ticking 18,000 times an hour. built in react three fiber.