
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@torknetwork/admin-console
Advanced tools
Tork Admin Console - Embeddable React UI for AI governance configuration
Embeddable React admin console for the Tork AI Agent Governance Platform. Provides a complete UI for managing HITL configurations, tool registries, agent permissions, governance policies, PII detection rules, approval workflows, and audit logs.
npm install @torknetwork/admin-console
# or
yarn add @torknetwork/admin-console
# or
pnpm add @torknetwork/admin-console
import { TorkAdminConsole } from '@torknetwork/admin-console';
function App() {
return (
<TorkAdminConsole
apiKey="your-tork-api-key"
baseUrl="https://api.tork.network"
reviewerId="admin@company.com"
theme="dark"
/>
);
}
| Prop | Type | Default | Description |
|---|---|---|---|
apiKey | string | required | Your Tork API key |
baseUrl | string | https://api.tork.network | Tork Admin API base URL |
reviewerId | string | admin | ID used when approving/rejecting requests |
theme | 'dark' | 'light' | dark | UI theme |
className | string | '' | Additional CSS classes |
Import individual tab components for custom layouts:
import {
DashboardTab,
HITLConfigTab,
ToolsTab,
AgentsTab,
PoliciesTab,
PIIRulesTab,
ApprovalsTab,
AuditLogsTab,
createTorkAPI,
} from '@torknetwork/admin-console';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
const queryClient = new QueryClient();
function CustomDashboard() {
const api = createTorkAPI('https://api.tork.network', 'your-api-key');
return (
<QueryClientProvider client={queryClient}>
<div className="grid grid-cols-2 gap-4">
<DashboardTab api={api} />
<ApprovalsTab api={api} reviewerId="admin" />
</div>
</QueryClientProvider>
);
}
Use the API hook directly for custom integrations:
import { createTorkAPI } from '@torknetwork/admin-console';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
const queryClient = new QueryClient();
function CustomComponent() {
const api = createTorkAPI('https://api.tork.network', 'your-api-key');
const { data: stats, isLoading } = api.useDashboardStats();
if (isLoading) return <div>Loading...</div>;
return (
<div>
<p>Total Tools: {stats?.total_tools}</p>
<p>Pending Approvals: {stats?.pending_approvals}</p>
</div>
);
}
function App() {
return (
<QueryClientProvider client={queryClient}>
<CustomComponent />
</QueryClientProvider>
);
}
The console uses Tailwind CSS classes. For the styles to work correctly, ensure your project includes Tailwind CSS or the necessary styles.
Add the admin-console to your Tailwind content paths:
// tailwind.config.js
module.exports = {
content: [
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/@torknetwork/admin-console/**/*.{js,ts,jsx,tsx}',
],
// ...
};
Import the pre-built CSS file:
import '@torknetwork/admin-console/dist/styles.css';
import { TorkAdminConsole } from '@torknetwork/admin-console';
Full TypeScript support is included. Import types as needed:
import type {
TorkAdminConsoleProps,
UseTorkAPI,
HITLConfig,
Tool,
Agent,
Policy,
PIIRule,
Approval,
AuditLog,
DashboardStats,
} from '@torknetwork/admin-console';
tork - Python SDK for Tork governance@torknetwork/mcp-server - MCP server for Claude Desktop integrationMIT License - Copyright (c) 2025 Tork Network
FAQs
Tork Admin Console - Embeddable React UI for AI governance configuration
We found that @torknetwork/admin-console demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.