Developers
Review responsibilities, compose agents and test the actions that must also be refused.
Probabilistic Agentic Programming (PAP)
Thinking Orchestration Using Bounded Agency
Do more than tell an agent what it should do. Declare what it is authorized to do, enforce that boundary at runtime and keep a trace of its actions.
Source code: public release coming soon under Apache 2.0.
Why Touba
A convincing result does not reveal which access was granted, who could trigger an effect or where human approval was required. When these rules live only in prompts and conventions, enforcement depends on each integration path.
Touba connects rules expressible in its contracts to execution controls: declared capabilities, limits, human validation and traces. Model intent does not replace authorization.
Read Why ToubaReview responsibilities, compose agents and test the actions that must also be refused.
Turn applicable rules into verifiable technical constraints with explicit responsibilities.
Make information, human validation and traceability requirements of the system.
Touba Explorer
Open your project map to find its agents, tools, workflows and permissions.
Discover our three favoritestouba explore
Research mission
PAP and Touba produce resources that can be evaluated and reused in industrial contexts. Their primary purpose remains research: understanding the technical, organizational and societal challenges raised by agentic AI, then developing programming models, tools and evidence that respond to them.
Explore the research programPeople, teams and institutions working toward responsible, safe, secure, transparent and inclusive AI are invited to contribute to this effort.
Benchmarks
The evaluation examines business outcomes, model-facing interfaces and enforcement of declared responsibilities. Results and measurement conditions are gathered on the Benchmarks page.
View benchmarksDownloads
Download the distribution for your platform, then verify the archive before installing it. Every published architecture stays available from the Hub.
Choose your platform
Public resources
Touba connects distinct public resources: research, language, documentation, developer experience, a capability library, and a distribution registry.
Research program
Public overview of Probabilistic Agentic Programming and governed agentic systems.
Open resourceLanguage and runtime
Language, compiler, runtime, CLI and SDKs. The language repository will soon be available on GitHub under Apache 2.0.
Open resourcePublic documentation
Official documentation for installation, concepts, references, guides and the Hub.
Open resourceVS Code extension
Editor support, syntax, diagnostics and commands for working with Touba files.
Open resourceReusable capabilities
Library of Touba packages following the common language contract.
Open resourceFoundation
Touba starts from a paradigm, writes authority as code, compiles toward an observable contract, then executes that contract with visible bounds.
The explicit-responsibility paradigm
A paradigm for treating agentic autonomy as a governed programming responsibility, not just as a sequence of prompts.
Agentic Intermediate Representation
The compiled contract linking .tb source, runtime, traces, CLI and Touba surfaces without letting every tool redefine the semantics.
Thinking Orchestration Using Bounded Agency
A reference language and runtime for making limits, tools, validations, refusals and execution evidence visible.
Positioning
Touba connects declared responsibilities to execution controls. JavaScript and Python handlers implement your API calls and business logic; traces let you follow decisions and actions.
Understand ToubaQuick read
Touba brings Agents as Code to governed agentic systems: .tb language, AIR, runtime, traces, manifests, locks, CLI, project server, and VS Code extension.
Current agent systems scatter responsibility, authority, memory, tools, validation and traces across prompts, middleware, logs and team discipline.
Touba code is compiled into AIR, executed by a bounded runtime, connected to handlers through an explicit manifest, then observed through usable traces.
Khadim Lo, Jean-Sébastien Dessureault and Soukaina Alaoui Ismaili research agentic AI and develop Touba’s foundations, language and tools.
Available capabilities
Compose agents, skills and sequential or parallel workflows. Connect resources with the JavaScript and Python SDKs. Declare access, budgets and approvals, then inspect traces from each execution.