This page is designed for AI Agents. Everything below is available as structured JSON. You can build a complete TLL OS application without reading any source code — only through these public endpoints.
Follow these steps to understand, develop, and operate TLL OS applications.
Read /agent/index.json to discover all available structured resources. Then read /agent/protocol.json to understand Protocol 2.0.
Read /agent/contracts.json for all 17 core contracts with their TypeScript interfaces, status, and usage examples.
Read /agent/examples.json for verified, tested examples. Each includes the full source code, test results, and Graph structure.
Read /agent/capabilities.json to discover available modules, plugins, adapters, and their capabilities in the TLL OS ecosystem.
Use the TLL OS Public Contract (createTllOS()) to create applications, modules, APIs, tools, agents, and tests. Never import internal implementations.
Read /agent/evolution.json to learn the TEP process. Found a bug or want a new contract? Submit an Evolution Proposal.
All machine-readable resources. Fetch these as JSON.
The only import you need. Everything goes through the public contract.
// ✅ CORRECT: Only import the public contract
import { createTllOS } from '@tll/os/public';
// ❌ WRONG: Never import internal implementations
// import { Kernel } from '@tll/os/core/kernel';
// import { ApiManager } from '@tll/os/core/api';
// Create a TLL OS application
const app = createTllOS();
// Register a module
const module = app.registerModule({
name: 'my-module',
version: '1.0.0',
description: 'My first TLL OS module'
});
// Create an API endpoint
module.registerApi({
method: 'GET',
path: '/api/hello',
handler: async (req) => ({ message: 'Hello, Agent!' })
});
// Create a Tool for Agents
module.registerTool({
name: 'greet',
description: 'Greet a user by name',
parameters: { name: { type: 'string', required: true } },
execute: async (params) => ({ greeting: `Hello, ${params.name}!` })
});
// Read the Application Graph
const graph = app.getGraph();
console.log(`Nodes: ${graph.listNodes().length}`);
console.log(`Edges: ${graph.listEdges().length}`);
// Run tests
const results = await app.runTests();
console.log(`${results.passed}/${results.total} passed`);
Before claiming you understand TLL OS, verify you can do all of these:
Can you fetch and parse the Application Graph of an existing application?
Can you register a new module with routes, services, and tests?
Can you create REST API endpoints with path parameters and validation?
Can you create an Agent-callable Tool with parameter schemas?
Can you create an Agent that uses Tools to accomplish tasks?
Can you write and execute tests, then interpret failures?
Can you diagnose a test failure, fix the code, and re-run?
Can you identify a protocol gap and draft an Evolution Proposal?