The factory
that makes factories.
POST a config · GET a sovereign HTML application back. Nine forge types · four data APIs · AI agent swarms baked in. Runs offline once delivered.
Eight endpoints. One factory.
Full OpenAPI specification: openapi.yaml · request/response schemas, examples, error codes.
The interactive explorer.
The Forge API runs the full factory in production. For this playground we simulate the response client-side using your own LLM key — same request shape, same response shape, no backend dependency.
What it looks like in code.
fetch('https://trilogy-forge-api.your-domain.com/v1/forge/expert', {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + apiKey },
body: JSON.stringify({
domain: 'biochemistry lab',
workflow: 'samples in, results out, QC at every stage',
expert: 'PhD biochemist with 15 years bench experience',
branding: { primary: '#0a0a0a', accent: '#d4a017' }
})
}).then(r => r.text()).then(htmlBlob => {
// htmlBlob is the full sovereign HTML application
// save it · deploy to your Pages · ship to client · done
});
Self-host: clone the repo, set OPENAI_API_KEY (or ANTHROPIC/GEMINI), `npm start`. Deploy to Render/Railway/Fly with the included Dockerfile.
Self-host free. Managed soon.
The Forge API is MIT-licensed and self-hostable today. Hosted managed version coming with usage-based pricing (no per-seat, no monthly minimum).
Want it deployed and managed for you? Talk to Simon.