SShortSingh.
Back to feed

Karpathy's LotR Demo Shows AI Agents Can Handle Hours-Long Tasks Autonomously

0
·2 views

AI researcher Andrej Karpathy recently demonstrated Claude Opus's capabilities by feeding it a million-token context, the opening paragraph of The Lord of the Rings, and a prompt to generate a procedural 3D scene in Three.js. The model worked autonomously for roughly two hours, producing 5,500 lines of code covering polygon placement, camera paths, and animation — at a total cost of about $10. The demo signals a shift in how work can be delegated to AI: rather than breaking tasks into small, supervised chunks, developers can now hand over full material and intent and await a complete result. The key human skills in this new paradigm become crafting the input brief — deciding what context goes in — and defining clear acceptance criteria before the run begins. Experts caution, however, that autonomous long-session output remains unsuitable for production software where errors affect real users and require ongoing maintenance.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How a dedicated Elasticsearch index cut autocomplete latency from 5s to milliseconds

A developer building autocomplete over 100 million documents discovered that slow first-call response times of around 5 seconds were caused by a cold-start pipeline, including JIT compilation, HTTP/TLS connection pooling, and loading Lucene segments into memory. Initial benchmarks run on a local dataset were misleading, as database enrichment dominated response times locally, while on the full production-scale environment it was the Elasticsearch aggregation query itself that became the bottleneck. Prefix match, Edge N-gram, and Search As You Type patterns all required a costly terms aggregation to deduplicate results, which proved unacceptably slow at scale. The investigation highlighted that testing autocomplete performance requires production-scale data volumes to identify the true bottleneck. The findings pointed toward adopting a dedicated index strategy to shift work to index-time rather than query-time, dramatically reducing search latency.

0
ProgrammingDEV Community ·

Silent data-loss bug fixed in Zulip's Microsoft Teams importer before it struck

A developer contributing to Zulip, an open-source team chat server, identified a subtle batching bug in its Microsoft Teams data importer that had never triggered an error in production. The flaw involved a Python generator that yielded a shared list object, then called `.clear()` on it before the next batch, meaning any consumer retaining multiple batches would silently receive the same overwritten list. In a test dataset, this caused the total message count to collapse from 29 to 24 with no exception raised. The fix, submitted as pull request zulip/zulip#39814, replaces the clear-and-refill approach with a fresh list per batch, matching the contract used by the standard library's own `itertools.batched`. A regression test was also added to catch the data-loss scenario with a concrete assertion.

0
ProgrammingDEV Community ·

How LISP's REPL Transformed Human-Computer Interaction in the 1960s

The Read-Eval-Print Loop (REPL) originated from LISP in the 1960s, developed by AI researchers at MIT who needed to test expressions interactively rather than submit entire programs via batch processing. Before REPL, programmers wrote code on punch cards, submitted them to operators, and waited hours or days to see results and discover bugs. REPL compressed that feedback cycle from days to seconds by reading input, evaluating it, printing the result, and looping back for the next command. The term 'read-eval-print loop' was formally documented in the MACLISP Reference Manual by David Moon in 1974. The concept later became foundational to Python's >>> prompt, Node.js console, Jupyter Notebooks, and browser developer tools, fundamentally shifting programming from batch commands to interactive conversation.

0
ProgrammingDEV Community ·

Why Forcing Determinism on AI Agents Is the Wrong Goal, Experts Argue

A founder building agentic AI infrastructure argues that the core weakness of large language models — their inherent probabilistic nature — cannot be fixed by layering on RAG, vector databases, or agentic optimizations. The article notes that nearly 90% of recent YC-backed startups are vertical AI companies stacking solutions on top of foundation models, yet none achieve true determinism. Traditional software produces predictable outputs from fixed inputs, while generative AI models produce variable results by mathematical design. The author contends that industry band-aids like retrieval-augmented generation reduce hallucinations but do not eliminate them, and that each added agentic step introduces more probabilistic decisions. The piece calls on builders to pursue auditability and transparency as realistic goals rather than chasing the commercially appealing but technically impossible promise of deterministic AI behavior.