SELF-HOSTED AGENT ACCESS

Use the engine in the app you already run.

Logaos publishes auth.md and OAuth discovery, handles the approval ceremony and issues limited, short-lived tokens. Your app keeps ownership of its users, permissions and data.

Express

Mount the protocol middleware before body parsers. Wrap each API route with the scopes it needs.

const logaos = await mountLogaos(app, { options, storage, site });
app.use(express.json());
app.get('/api/catalogue', requireAgent(logaos, ['catalogue:read']), handler);

Fastify

A hook handles protocol requests before parsing. Guard business routes individually.

const logaos = await mountLogaos(app, { options, storage, site });
app.get('/api/catalogue', {
  preHandler: requireAgent(logaos, ['catalogue:read'])
}, handler);

Next.js

App Router handlers use standard Request and Response. Use a dynamic catch-all under your issuer’s path.

export const dynamic = 'force-dynamic';
const handler = routeHandler(logaos);
export { handler as GET, handler as POST, handler as HEAD };

What your app provides

  1. A real sign-in session and verified user identity. The development server’s mock login is for tests only.
  2. A scope map that narrows access to that user’s existing permissions.
  3. Persistent storage: Postgres, or SQLite in Bun. Memory storage is for development.
  4. Stable signing keys and a secret from your secret manager, a canonical HTTPS issuer and resource address, and a correctly configured proxy chain.
  5. Route-level checks and one-time approval for actions that spend money or create commitments.

These are source integrations for developers. They are implemented and tested, but public npm installation is not open yet. Request an integration pilot.

Other surfaces

WordPress and WooCommerce have an administrator plugin. Supabase and Hono have adapters. The remote MCP server and local agent client expose controlled tools; each assistant platform needs its supported authentication path.

Salesforce remains a proof of token exchange, rather than a generally available managed package. Cloudflare, Vercel marketplace distribution and additional CMS modules remain future work.

From a pilot to production

Test register → approve → complete → call → refresh → revoke against your real application, then check that other users’ records and routes outside your granted scopes stay inaccessible. Agree backup, retention, monitoring and incident-response ownership before rollout.

Plan a deployment