Open-source multi-agent AI for theorists
Describe a task to the assistant: it searches academic databases, runs Wolfram computations, verifies proofs in Lean 4, delegates large jobs to helper agents and programs, and returns every edit as a diff for your approval. Open source under Apache 2.0 as a desktop app, for VS Code and compatible editors, and in the terminal.
$ npm install -g @texra-ai/cliDefinition 1.An Erdös-RényiErdős–Rényi random graph G(n, p) is a graph on n vertices where each posible edgepossible edge {u, v} is included with probability pindependent, independently of all other edges.
Let A be the adjacency matrix of a graph G be a graph on n vertices. Its adjacency matrix A = A(G) is an n × n matrix where Auv = 1 if {u, v} is an edge in G. The eigenvalues of, and Auv = 0 otherwise. Since Aare denotedis symmetric, its eigenvalues are real and are denoted by λ₁ ≥ λ₂ ≥ ⋯ ≥ λₙ.
For a d-regular graph G (where every vertex has degree d), it is well-known that the largest eigenvalue of its adjacency matrix is λ₁ = d. The spectral gap, defined as d − λ₂, governs the expansion properties of the graph.
Theorem 2 (Alon–Boppana).For a d-regular graph on n vertices, λ₂ is largeλ₂ ≥ 2√(d−1) − o(1) as n → ∞. A d-regular graph meeting this bound with equality is called a good expanderRamanujan graph.
Proof. It follows from counting walks.Count closed walks of length 2k rooted at a fixed vertex. The number of such walks in the d-regular tree is the Catalan-weighted moment Ck (d−1)k, and comparing with tr(A2k) = Σi λi2kas n → ∞ forces λ₂ ≥ 2√(d−1) − o(1).∎
Derivations are checked in Wolfram, proofs compile in Lean 4, and citations resolve to database records. File edits are presented as line-by-line diffs for review before being applied.
A single assistant breaks complex tasks into subtasks and delegates them to helper agents and programs for literature search, computation, review, and formalization, each scoped to the tools it needs.
Use your own API keys or existing ChatGPT, Grok, Kimi Code, or GLM subscriptions. Requests are sent directly from your machine to the model provider.
Describe the task and the assistant decomposes it into subtasks, runs helper agents and programs in parallel, and presents edits for review before modifying files.
The assistant (or the derive program) builds the Lindblad superoperator, solves for the steady state in Wolfram, computes the concurrence analytically, and cross-checks with exact diagonalization in Julia at N=8.
The edit program unifies notation (\lambda_2 vs \mu for the same eigenvalue across sections), fixes label conflicts, and outputs a diff you review line by line.
The assistant (or the prove program) searches Loogle for relevant Mathlib lemmas, inspects the proof state, adds missing hypotheses, and produces a proof that compiles without errors.
Download the Desktop App for macOS or Linux, install the VS Code extension from the Marketplace, or install the CLI (npm install -g @texra-ai/cli). Add an API key or connect a provider subscription to run your first task.
OpenAI, Anthropic Claude, Google Gemini, DeepSeek, xAI Grok, Moonshot Kimi, Qwen, GLM, MiniMax, Meta Muse, and any OpenAI-compatible endpoint. Use your own API key or an existing provider subscription (ChatGPT, Grok, Kimi Code, and the GLM Coding Plan). Each helper agent or program launched by the assistant can use a different model.
Yes, via Git sync. See the Overleaf guide.
Yes: Loogle search, proof state inspection, diagnostics, build and cache management. TeXRA spawns its own Lean server in every host (VS Code, desktop, and CLI), so you only need elan (lake on PATH) and a Lake project.
Yes. Download the standalone Desktop App (signed macOS .dmg and Linux installers), or use the @texra-ai/cli terminal client for interactive sessions, scripts, CI, and remote machines (CLI guide).
Yes. Model calls go directly from your machine to the provider, whether you use an API key or a provider subscription; requests do not pass through TeXRA servers. TeXRA collects optional anonymous usage metadata (built-in program name, model, and token counts), excluding prompts and document content. See Usage logging for details and opt-out instructions.
Yes. The VS Code extension, desktop app, CLI, and agent runtime are published under the Apache 2.0 license, and you run them with your own model keys or subscriptions. See the open source guide.
Yes. Add project conventions in AGENTS.md, define custom skills, and install plugins that provide additional skills and programs. See Customizing TeXRA.
Email contact@texra.ai or open an issue on GitHub.