# Textley: research ![Textley hero](img/hero.webp) Public research on writing code and text, and on working next to AI coding agents. ## How Textley works **Where we are:** Free for Mac. Textley is a native Mac editor for code, text and Markdown, with syntax coloring and the folders you work in. When you want help, you can connect an AI coding agent such as Claude Code or Codex to work in the same files, and you stay in charge. We build it in the open, keep it free with no nag screens, and let the research on this page shape the design. ### How it works 1. **Open.** Open any folder you work in. 2. **Write.** Edit code, text and Markdown with coloring and preview. 3. **Ask.** Optionally invite an AI agent into the same files. 4. **Review.** You see and keep or undo every change. ### How it keeps going It is free. It is built and kept going by our own small team, with no ads and no selling of anyone's data. ### How we're organized - Textley - Editor - Agent connections - Mac app - Research Everyone on the team grows through the same three levels: Explorer (starting out), Builder (growing) and Guide (on the way to mastery). ### What we've decided - Native Mac app, not a web wrapper. - Agents are optional, never required. - Free and open source. ### What comes next - More languages and themes. ### Start your own Nothing here is secret. Anyone can copy how Textley works and open their own version. 1. **Read this page.** Everything about how Textley works is here and in the public sources below. Our designs, specs and plans are public domain. 2. **Pick your name and place.** Choose your own name and where you will start. You do not need to ask us, and you do not need to call it Textley. 3. **Build the team.** Start with the roles in the chart above. One person can hold several roles at first. 4. **Follow the steps.** Run it the way the "How it works" steps describe, then improve on it. 5. **Share back.** Publish what you learn, so the next person can start further ahead. ## The research ### Key sources - **[Measuring the impact of early-2025 AI on experienced open-source developer productivity](https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/)** *METR, 2025* In a randomized study, experienced developers working in their own large projects took longer with AI tools than without, even though they felt faster. The lesson we take: keep the agent optional and keep you in charge of your own files. - **[The Impact of AI on Developer Productivity: Evidence from GitHub Copilot](https://arxiv.org/abs/2302.06590)** *Peng et al., arXiv, 2023* In a controlled test, programmers with an AI pair helper finished a small, well-defined task about half again as fast as those without one. Help works best on clear, bounded work. - **[Experimental evidence on the productivity effects of generative AI](https://economics.mit.edu/news/study-finds-chatgpt-boosts-worker-productivity-some-writing-tasks)** *Noy and Zhang, Science (MIT summary), 2023* Professionals given a writing assistant finished writing tasks faster and with better rated quality, and the biggest gains went to those who started out weaker. Good tools can narrow the gap between writers. ### Coding next to AI: what the studies show - **[Do users write more insecure code with AI assistants?](https://arxiv.org/abs/2211.03622v1)** *Perry, Srivastava, Kumar and Boneh, ACM CCS (arXiv), 2023* In a user study, people who had an AI code assistant wrote less secure code on several tasks than people without one, and they were more likely to believe their code was secure. Participants who questioned the assistant and edited its suggestions did better. The lesson is that AI help works best when the person reviews every change. - **[Asleep at the keyboard? Assessing the security of GitHub Copilot's code contributions](https://arxiv.org/abs/2108.09293)** *Pearce et al., IEEE Symposium on Security and Privacy (arXiv), 2021* The authors prompted an AI code tool with scenarios tied to well-known weakness types and found that roughly four in ten of the generated programs contained a security flaw. Results varied with the language and the wording of the prompt. Generated code needs the same care as code from any unknown source. - **[SWE-bench: can language models resolve real-world GitHub issues?](https://arxiv.org/abs/2310.06770)** *Jimenez et al., ICLR (arXiv), 2024* This benchmark gives AI systems real bug reports from popular Python projects and checks whether their fixes pass the project's tests. At release, even the best models solved only a small share, though scores have risen sharply since. It is now a common yardstick for coding agents, and also a reminder that passing tests is not the same as a good fix. - **[Grounded Copilot: how programmers interact with code-generating models](https://arxiv.org/pdf/2206.15000)** *Barke, James and Polikarpova, OOPSLA (arXiv), 2023* Watching programmers work with an AI assistant, the authors saw two modes: acceleration, where people know what they want and the tool types it faster, and exploration, where they use it to find a way forward. The two modes need different support. An editor should make both easy without getting in the way. - **[Expectation vs. experience: evaluating the usability of code generation tools powered by large language models](https://par.nsf.gov/biblio/10366304)** *Vaithilingam, Zhang and Glassman, CHI Extended Abstracts, 2022* In a small study, programmers preferred having an AI assistant, but it did not make them finish tasks faster or more often. Many struggled to understand, edit and debug the generated code. Tools should make it easy to read and judge suggestions, not just accept them. - **[Developers remain willing but reluctant to use AI: the 2025 Developer Survey results](https://stackoverflow.blog/2025/07/29/developers-remain-willing-but-reluctant-to-use-ai-the-2025-developer-survey-results-are-here)** *Stack Overflow, 2025* Most developers in this large survey use or plan to use AI tools, but trust in their accuracy fell, and a common complaint was code that is almost right. Many said fixing near-misses costs time. This matches our choice to keep the agent optional and the person in charge. - **[DORA 2025 State of AI-assisted Software Development Report](https://research.google/pubs/dora-2025-state-of-ai-assisted-software-development-report/)** *Google Cloud DORA research program, 2025* This yearly survey of software professionals found AI use nearly universal, with AI tending to amplify a team's existing strengths and weaknesses rather than fixing them. Teams with good practices, such as small changes and solid testing, got more benefit. Good working habits still matter more than any single tool. ### Keeping the person in charge - **[Claude Code: best practices for agentic coding](https://www.anthropic.com/engineering/claude-code-best-practices)** *Anthropic Engineering, 2025* A practical guide to working with a coding agent: give it clear context, ask it to plan before it edits, review its changes and use version control to undo mistakes. It stresses keeping a human in the loop for anything risky. An editor that shows the same files the agent is changing makes that review easy. - **[Model Context Protocol specification](https://modelcontextprotocol.io/specification/latest)** *Model Context Protocol project* The open protocol many AI agents use to connect to tools and data sources. The specification calls for clear user consent and control over what data is shared and which tools run. Open standards like this let an editor work with many agents instead of locking people into one. - **[Not what you've signed up for: compromising real-world LLM-integrated applications with indirect prompt injection](https://arxiv.org/abs/2302.12173)** *Greshake et al., ACM AISec (arXiv), 2023* The authors show that text hidden in web pages, files or emails can carry instructions that an AI tool then follows, turning the tool against its user. They demonstrated working attacks on real systems. When an agent reads your project files, it is wise to watch what it does and limit what it may run. - **[Expectations, outcomes, and challenges of modern code review](https://microsoft.com/en-us/research/?p=164195)** *Bacchelli and Bird, ICSE (Microsoft Research), 2013* Studying code review at Microsoft, the authors found that finding defects is the stated goal, but much of the value comes from shared understanding and knowledge transfer. The hardest part is understanding the change. Reviewing an AI agent's edits is the same task, and it benefits from clear diffs and readable files. ### Reading code and text on screen - **[The impact of syntax colouring on program comprehension](https://advait.org/files/sarkar_2015_syntax_colouring.pdf)** *Sarkar, Psychology of Programming Interest Group, 2015* In a small eye-tracking study, syntax coloring helped people understand short programs faster, with the largest benefit for less experienced programmers. Colored code needed fewer eye movements to read. The sample was small, so the result is suggestive rather than settled. - **[Does syntax highlighting help programming novices?](https://researchr.org/publication/HannebauerHG18)** *Hannebauer, Hesenius and Gruhn, Empirical Software Engineering, 2018* In a larger experiment with nearly 400 students, syntax highlighting made no measurable difference to how quickly novices completed programming tasks. Together with earlier work, it suggests coloring is a comfort and a reading aid rather than a big speed boost. Good defaults and choice matter more than any one color scheme. - **[Eye movements in code reading: relaxing the linear order](https://huang.isis.vanderbilt.edu/cs8395-f23/paper/linear-order-eye.pdf)** *Busjahn et al., International Conference on Program Comprehension, 2015* Using eye tracking, the authors found that people read source code less linearly than ordinary text, and that experts jumped around even more than novices, following the flow of the program. Code reading is closer to navigation than to reading a story. Editors help by making structure easy to see and move through. - **[Positive display polarity is advantageous for both younger and older adults](https://informahealthcare.com/doi/abs/10.1080/00140139.2013.790485)** *Piepenbrock, Mayr, Mund and Buchner, Ergonomics, 2013* In this experiment, dark text on a light background led to better reading and proofreading performance than light text on a dark background, for both younger and older readers. Dark themes remain popular for comfort and preference. The study supports offering a well-made light theme alongside a dark one. - **[Smaller pupil size and better proofreading performance with positive than with negative polarity displays](https://informahealthcare.com/doi/abs/10.1080/00140139.2014.948496)** *Piepenbrock, Mayr and Buchner, Ergonomics, 2014* A follow-up study found smaller pupils and better proofreading with dark-on-light text, consistent with the idea that a brighter screen gives a sharper image on the retina. The authors note limits to the explanation. It is one reason careful contrast and brightness choices matter in an editor. - **[On the design of text editors](https://arxiv.org/pdf/2008.06030)** *Rougier, arXiv, 2020* This essay catalogs the many design defaults in code editors, from margins and fonts to colors and layout, that are rarely questioned. It shows alternatives without insisting on one answer. It is a good prompt to treat typography and calm layout as part of how an editor works. ### Focus and interruptions - **[Resumption strategies for interrupted programming tasks](https://sites.cc.gatech.edu/reverse/repository/resumptionstrategies.pdf)** *Parnin and Rugaber, Software Quality Journal, 2011* Analyzing thousands of recorded programming sessions and surveying developers, the authors found that interruptions are frequent and that it often takes many minutes to get back into editing. Developers lean on cues such as open files and notes to resume. Restoring your folders and files where you left them is a small but real help. - **[The cost of interrupted work: more speed and stress](https://interruptions.net/literature/Mark-CHI08.pdf)** *Mark, Gudith and Klocke, CHI, 2008* In a lab study, people who were interrupted finished tasks just as well and even faster, but reported more stress, frustration and effort. They compensated by working faster. Fewer pop-ups and prompts in a tool protect attention and well-being, not just speed. - **[Task interruption in software development projects](https://ar5iv.arxiv.org/html/1805.05508)** *Abad, Karras, Schneider, Barker and Bauer, EASE (arXiv), 2018* Using thousands of task records and a survey of developers, the authors found that self-interruptions, when people switch tasks on their own, were more disruptive than outside interruptions, even though developers believed the opposite. Context like the type of task and time of day mattered most. A distraction-free editor helps with both kinds. ### Plain text formats that last - **[CommonMark specification](https://spec.commonmark.org/spec)** *CommonMark project* Markdown began as an informal description, so different tools read the same file differently. CommonMark is a precise, tested specification of the syntax that many editors and sites now follow. Following it means your notes render the same way wherever they go. - **[GitHub Flavored Markdown specification](https://github.github.com/gfm)** *GitHub* This specification builds on CommonMark and adds widely used extras like tables, task lists and strikethrough. It is the dialect most people meet in code projects. An editor that supports it well fits naturally into everyday development work. - **[A formal spec for GitHub Flavored Markdown](https://github.blog/engineering/user-experience/a-formal-spec-for-github-markdown/)** *GitHub Engineering blog, 2017* GitHub explains why it moved its Markdown handling to a formal, tested specification, and what changed for users when it did. Consistent parsing fixed long-standing surprises in how documents displayed. The post shows why shared standards matter for plain text that is meant to last. --- Live page: https://textley.ai/research Our summaries are public domain (CC0): copy and share them freely. Each original source belongs to its authors. Nothing here is medical, legal or financial advice. ## Get it ```sh git clone https://branchwell.ai/textley.git ```