Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

texai

Latest version: v0.3.5

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: Thibaut.Lamadon
1 Stars
0 Forks
20 Versions
2.1K Downloads
Python Repo language

Scan summary

texai was last scanned on 23 Nov 2026 at version 0.3.5. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 20 versions; the latest was published on 23 Nov 2026.
  • Findings: No rules fired in version 0.3.5.
  • Downloads: 2,096 downloads.

Versions

20 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.5 LATEST 23 Nov 2026 No rules fired
0.3.4 16 Nov 2026 No rules fired
0.3.3 13 Nov 2026 No rules fired
0.3.1 11 Nov 2026 Not shown
0.3.0 11 Nov 2026 Not shown

No rules fired in 0.3.5

Findings

Findings for v0.3.5. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.5; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

texai

Overleaf, but the collaborator is your coding agent — and none of it leaves your machine. The compiled PDF on the left, the agent on the right, working on your actual .tex files, on your own disk, syncing to whatever git remote you already use. No upload, no second copy of your project, no account.

The whole thing is built around one loop: you point at something on the page, the agent edits the source, texai rebuilds the document, and every change comes back marked on the page for you to accept or reject.

  • Point at the page and the agent knows exactly where you mean. Select a passage or click a word and it becomes a reference in your next message — sections/model.tex:143:15, the precise word, not a description of roughly where you meant. Attach several, each with its own note. Or ask right there: select a sentence, click the ✦ that appears, type tighten this, and the edit comes back on the page — no chat panel needed. When there is more than one good way to say it, the agent offers versions side by side and you click the one you want.
  • Review its edits on the page, not in a diff. Every change is marked inline in the PDF, old text struck through and new text beside it. Accept or reject them one at a time, across as many turns as you like.
  • The agent drives the view. It can scroll you to the table it just changed, and you can ask it to — take me to the summary statistics table.
  • Its work is checked before it reaches you. texai owns the build: after each turn it recompiles, hands any LaTeX errors back to the agent to fix, and reverts the whole turn if the document cannot be made to compile. You are never left with a broken paper.
  • It only touches your LaTeX. The agent gets file tools and nothing else — no shell, no network. And claude --resume drops the same session into a real terminal when you want the full CLI.
  • Take over by hand whenever you like. Double-click a word on the page to edit its paragraph right there, LaTeX and all. Alt-click opens the LaTeX at that spot in a full editor; Cmd/Ctrl-S saves and recompiles, and the page reloads where you were. Clicking in the source scrolls the PDF back to it (View → Page follows clicks in the source turns that off, for writing beside a table that should stay in sight; Ctrl/Cmd-click still goes there).
  • Find your way around a long paper. A contents column beside the page lists the whole document — every file it pulls in, its figures and tables by caption, its theorems by title — and clicking one scrolls the PDF there. Cmd/Ctrl-P jumps to any of them by name, and the paper's own \ref links work: click Equation (1) and the page goes to equation (1).
  • Annotate the paper in the paper. %@intent motivation names what a paragraph is for; %@comment, %@todo or a bare %@ leaves a note. They are ordinary LaTeX comments, so they travel with the source through git, and the preview shows them in the page margins beside the text they describe.
  • Say what backs each claim. %@src ties a sentence to a table in the paper, a script in the project, or a quoted passage in a PDF under papers/. The agent checks every quote against the paper before writing it, and a click on the page opens the source at the passage.
  • Slides too. A beamer deck opens like a paper. Each slide's title, bullets and paragraphs can be pointed at, sent to the agent, commented on and edited in place.
  • Know how far you have drifted from git. The toolbar carries the branch, how many files are uncommitted, and how many commits you are ahead or behind the remote — scoped to your project, even when it is a subdirectory of a larger repository.
  • Commit without leaving the page. The agent reads the diff and writes the message; you edit it if you like, then commit, pull or push.

The bridge that makes all of it work is SyncTeX — a pixel on page 7 becomes sections/model.tex:143, which is what the agent actually needs. SyncTeX stops at the line; matching the clicked word against the source gets it to sections/model.tex:143:15.

Quick start

One command on a paper you already have — nothing to install:

uvx texai /path/to/paper/main.tex --open

No paper to hand, or not ready to point an agent at yours? Try it on one of texai's own:

uvx texai --demo           # a short paper
uvx texai --demo slides    # a beamer deck

Either is copied to a new directory (printed as it starts), built, and opened in the browser. It is a copy, so edit it as you like.

Name the .tex, or the PDF it builds, and texai works out the rest:

  • From a .tex, the PDF is wherever latexmk will write it: next to the .tex, or under the $out_dir your latexmkrc names, or wherever an existing main.pdf with its SyncTeX data already sits below it.
  • From a PDF, the source is the .tex with the same name, beside it or a few directories up — build/main.pdf is built from ../main.tex.
  • From a directory, or from nothing at all in the paper's own directory, it is the one .tex there that opens with \documentclass (main.tex if there are several).
  • The project root is the narrowest directory holding both, which is usually the .tex's own. Everything texai and the agent touch stays inside it.

The PDF does not have to exist yet: texai compiles it, then opens the viewer on http://127.0.0.1:8765/. One that is there but behind is compiled again (see Keeping the PDF current). All it needs is a TeX installation with latexmk and synctex. When a guess is wrong, --root and --pdf override it.

Not sure the machine has what it takes? Ask:

uvx texai doctor

It looks for the three things texai cannot bring along (a TeX installation with latexmk, synctex, and the claude CLI), and for each one that is missing prints the command that installs it on the system you are on: macOS, Linux or Windows. A first run on a machine without TeX prints the same report instead of a build error.

uvx is uv tool run: it fetches texai into a throwaway environment, runs it, and leaves nothing behind. uv run texai is the other one — it runs texai from the project you are standing in, which is what you want in a checkout of this repo (uv sync first) and not what you want anywhere else. The two demos are the example/ and example-slides/ directories of this repository.

Turning on the agent

The Claude Agent SDK comes with texai, whichever way you run it. The one thing it cannot bring along is the claude CLI that the SDK drives — if

claude --version

answers, the chat panel works. Without it the viewer, the SyncTeX bridge and the selection file all still work, and the panel names the missing piece rather than failing vaguely.

The agent runs as a normal local Claude Code session and uses whatever credentials claude is already logged in with — your subscription, if that is how you use Claude Code. No API key needed, and turns count against that account exactly as they would in the terminal.

(The Agent SDK docs do restrict redistributing subscription login: shipping this to other people who sign in with their own Claude accounts needs approval from Anthropic, and API-key auth otherwise. That is about distribution, not about running it yourself.)

Using Codex instead

texai can drive OpenAI's Codex instead of Claude. Its SDK is an optional extra, because it carries its own Codex runtime (a few hundred MB):

uvx 'texai[codex]' main.tex --agent codex

It uses whatever codex login already set up, ChatGPT sign-in or API key. Everything else works the same: the chat panel, the inline changes, revert, show_in_pdf, commit messages, switching conversations. Copy terminal command gives codex resume <id> instead of claude --resume. --model is passed through, so --model gpt-5.4 picks the Codex model.

One thing is looser (see Safety): Codex has no files-only mode, so it reads with shell commands and edits with patches, in Codex's own sandbox.

Keeping it around

uvx re-resolves every so often. Once texai has earned a place on your PATH:

uv tool install texai        # then just: texai main.tex
pip install texai            # or the pip equivalent

Either way the agent SDK comes with it. The one piece neither can install is the claude CLI above.

(pip install "texai[agent]" still works. The extra is empty now that the SDK is a plain dependency, and is kept only so the 0.1.0 install line does not break.)

The loop

  1. Attach. Cmd-click (macOS) / Ctrl-click a passage. It becomes a chip on the composer with its file:line and, if you selected text first, the rendered text. Each chip takes its own note, so you can mark up several passages and send them as one batch.
  2. Send. The chips plus your message become one prompt.
  3. Edit. The agent reads and edits the source. Its text, tool calls and thinking show up live in the panel.
  4. Build. texai compiles — not the agent. If the build breaks, the errors go back to the agent and it tries again (up to three attempts).
  5. See it. On success the viewer reloads the rebuilt PDF, keeping your page, zoom and scroll position. The turn shows which files changed, with a diff you can expand and a Revert button.

If the document still does not compile after the retries, the whole turn is rolled back. A half-applied batch on top of a broken document is worse than nothing.

Turns that only answer a question — no file changed — skip the build entirely.

Asking from the page

For a request about one passage, there is a shorter way round. Select the text in the PDF and a ✦ appears just above the end of the selection; click it, or press Cmd/Ctrl-K, and a box opens under the passage. Type the request and press Enter.

select "Page breaks are where a naive line-based mapping tends to go wrong"
  ✦  →  "Make this sentence shorter and punchier."  →  Enter

It is the same turn a chip with a note would send, so it shows in the chat as usual, and it works with the panel put away. While the agent works the passage pulses and the box shows what it is doing, with a Stop button. When it is done:

  • It edited something — the box closes and the change appears as a marker on the rebuilt page, ready to accept or reject, even if Pending was off.
  • It offered versions — the box widens and shows them side by side, the words each one changes highlighted. Click one, or press its number, and texai puts it in place itself — no second agent call — then rebuilds, and it comes back as a change marker like any other edit. Picking another one later swaps it in for the first.
  • It only answered — is this sentence clear? — the answer stays in the box until Esc, with Open in chat for the whole turn.

The small auto · best · ×3 switch in the box says how many versions you want. auto leaves it to the agent, which offers versions only when a request has more than one good answer (a better title, tighten this) and edits directly otherwise; best asks for one edit, made directly; ×3 asks for three versions to pick from. The switch keeps its setting from one request to the next. The versions also stay in the turn's chat card, so you can still pick one after closing the box.

Offering costs nothing: the file is untouched until you pick. To decide later instead, Keep as proposal under the versions writes them into the source as %@propose lines above the passage (see Proposals). From there they outlast the session: a card in the margin opens them again tomorrow, or on a co-author's machine.

A request made this way usually does not go through the agent at all. The passage, its line numbers and the lines around it are sent to a quick editor: a separate read-only Claude session that answers with the new text in one model call, which texai then writes. That takes a few seconds where the agent's find-read-edit-report takes several calls. Anything that needs more than rewriting the passage (other places, other files, a new table) it hands to the agent, and the turn around it is the same either way: snapshot, build, revert, review. --no-quick sends everything to the agent; with Codex there is no quick editor.

Closing the box does not stop the agent; the turn finishes in the chat either way. One request runs at a time, so the ✦ stays away while the agent is busy.

Asking about the whole document

Some requests have no passage: proofread everything, check that the notation is consistent, say what a referee would. The ✦ in the toolbar is for those. It opens a box to type the request in, with a few common ones that fill it in (Proofread, Check consistency, Tighten the prose, Read as a referee, Summarise) to send as they are or adjust first. Enter sends it to the agent as a message with nothing attached, exactly as the chat composer would, and the chat panel opens on the turn. The ones that only read say "do not edit" in their text, so nothing is rewritten by surprise.

Picking instead of selecting

Dragging across exactly the right words is fiddly with a mouse and worse with a finger. Pick in the toolbar points the way a browser's inspector does: whatever is under the pointer lights up, and a click takes it.

  • On a paper the first click takes the sentence: from the full stop before it to its own, read off the page's text, so it is exact however the source wraps its lines. Click the same sentence again and it widens to its paragraph.
  • On a slide it takes the block (see Slides), and widens to the slide.
  • What is picked gets the same offer a selection does: ✦ to ask, the bubble to comment, ✎ to edit it in place. Cmd/Ctrl-click sends it to the composer, Alt-click opens it in the source.
  • It stays on until you click Pick again or press Esc. With it off, the page selects text as before.

A picked sentence reaches the agent as lines of the source plus its own words. In a paper written one sentence a line those lines are the sentence. In one wrapped at a column a sentence has no lines of its own, so it travels as its paragraph's lines with the sentence quoted, which is how a selection travels too. A comment goes on the line that was pointed at.

On a phone or a tablet

The page works by touch, and in a window too narrow for two panes:

  • Pick is on to start with, since there is no pointer to hover with: a tap picks the sentence or the block under it.
  • What can be done with a pick is a bar along the bottom, with names and thumb-sized buttons: Ask, Comment, Edit, Wider, + Message (onto the composer) and Source. The last three are what a second click and the modifier keys do on a desktop. A long-press selection gets the same bar.
  • One column in a window under about 1000px wide, which is an iPad held upright as well as a phone: the page has the whole width. The chat, source and peek panel comes over it when asked for, with a × to go back. On a tablet it slides in from the right and leaves the page showing beside it; on a phone it covers the page. Wider than that, an iPad on its side included, the two sit side by side as on a desktop.
  • Anchors, note bubbles and microphones are sized to be pressed, and nothing waits to be hovered. Pinch to zoom.

texai still listens on 127.0.0.1 only (see Safety), so reaching it from another device means forwarding that port yourself, and the server accepts only requests addressed to a loopback host name.

Saying it instead

Wherever there is something to type into, there is a microphone beside the button that sends it: the composer, the box that asks about a passage, a comment, and the editor that opens on the page. Press it and speak; the words go in at the caret as they are heard, provisional ones first and the settled ones in their place. Press it again, or Esc, to stop. Sending stops it too, and what was said so far is what is sent.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases texai

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229