@lssm-tech/example.agent-consoleexample.agent-console
Agent Console example - AI agent orchestration with tools, runs, and logs
@lssm-tech/example.agent-consoleSource, release and verification context
Source snapshot bcc79fcc · Declared package version 5.0.5. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.
See where this package fits.
Follow a declared connection, inspect an import, then open the source guide when you need the detail.
Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.
@lssm-tech/example.agent-console
Website: https://contractspec.io
Agent Console example - AI agent orchestration with tools, runs, and logs.
What This Demonstrates
- Rich Landing Screen: Product introduction explaining agent management concepts, demo path, and navigation.
- Navigation Rail: Clear sidebar navigation between Overview, Agent Fleet, Tool Registry, Run History, Metrics, and Proof.
- Agent Entity: Full lifecycle management with status tracking (draft, active, paused, retired).
- Run Tracking: Event-driven execution with status enums and state transitions.
- Tool Registry: Typed schemas and operation handlers for agent capabilities.
- Contract-Backed Visualizations: Charts and metrics derived from run activity.
- Deterministic Replay: Offline-safe demo runtime with proof evidence.
- Presentation Layer: React UI components, hooks, modals, overlays, and DataTable for run history.
- Multi-Surface Output: Markdown and React renderers for different contexts.
- Seeded Local Data: Mock agents, tools, and runs for immediate demo usage.
Canonical Demo Path
- Default sandbox route:
/sandbox - Explicit sandbox route:
/sandbox?template=agent-console - Proof artifact:
examples/agent-console/proofs/agent-console-meetup.replay.json
The canonical walkthrough is deterministic and local-first:
- Landing Screen - Start on the product introduction explaining agent management concepts.
- Navigation - Use the sidebar rail to navigate between sections.
- Agent Fleet - Inspect seeded agents (Customer Support Bot, Code Review Assistant, Data Analyst, Meeting Scheduler).
- Tool Registry - Browse available tools and their schemas.
- Run History - View execution history with status and metrics.
- Metrics - See contract-backed visualizations of run activity.
- Proof - Inspect deterministic replay evidence.
New Features
- LandingScreen: Product-style introduction with value proposition and demo path.
- AgentConsolePreviewV2: Enhanced preview with sidebar navigation and dedicated screens.
- AgentConsoleNav: Navigation rail for moving between sections.
- Navigation: Clear paths from landing to specific agent, tool, and run views.
Runtime Boundaries
- React hooks and the sandbox use
createAgentConsoleDemoHandlers(...)for the meetup path. - Markdown renderers prefer runtime-fetched data and fall back to the same deterministic demo handlers.
- The demo runtime is intentionally mocked and offline-safe by default.
- Database-backed
createAgentHandlers(db)remains available for non-demo runtime wiring.
Running Locally
From examples/agent-console:
bun run devbun run buildbun run testbun run proofbun run typecheckbun run preflight
From the repository root:
bun run meetup:agent-console:policybun run meetup:agent-console:proofbun run meetup:agent-console:preflight
Usage
Use @lssm-tech/example.agent-console as a reference implementation, or import its exported surfaces into a workspace that composes ContractSpec examples and bundles.
Architecture
src/agentis part of the package's public or composition surface.src/agent.capability.tsdefines a capability surface.src/agent.feature.tsdefines a feature entrypoint.src/docs/contains docblocks and documentation-facing exports.src/example.tsis the runnable example entrypoint.src/handlers/contains handlers or demo adapters wired to contract surfaces.src/index.tsis the root public barrel and package entrypoint.src/proof/contains the exported meetup proof scenario and suite.src/ui/AgentConsolePreview.tsxis the cross-platform preview component used by web and mobile example surfaces.
Public Entry Points
- Export
.resolves through./src/index.ts. - Export
./agentresolves through./src/agent/index.ts. - Export
./agent.capabilityresolves through./src/agent.capability.ts. - Export
./agent.featureresolves through./src/agent.feature.ts. - Export
./agent/agent.entityresolves through./src/agent/agent.entity.ts. - Export
./agent/agent.enumresolves through./src/agent/agent.enum.ts. - Export
./agent/agent.eventresolves through./src/agent/agent.event.ts. - Export
./agent/agent.handlerresolves through./src/agent/agent.handler.ts. - Export
./agent/agent.operationresolves through./src/agent/agent.operation.ts. - Export
./agent/agent.presentationresolves through./src/agent/agent.presentation.ts. - Export
./proofresolves through./src/proof/index.ts. - Export
./proof/meetup-proof.scenarioresolves through./src/proof/meetup-proof.scenario.ts. - Export
./proof/meetup-proof.suiteresolves through./src/proof/meetup-proof.suite.ts. - The package publishes 72 total export subpaths; keep docs aligned with
package.json.
Local Commands
bun run dev— contractspec-bun-build devbun run build— contractspec-bun-build buildbun run test— bun testbun run proof— bun ../../scripts/generate-agent-console-meetup-proof.tsbun run preflight— bun run build && bun run typecheck && bun run test && bun ../../scripts/check-agent-console-meetup-policy.ts && bun run proofbun run lint— bun lint:fixbun run lint:check— biome check .bun run lint:fix— biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .bun run typecheck— tsgo --noEmitbun run publish:pkg— bun publish --tolerate-republish --ignore-scripts --verbosebun run publish:pkg:canary— bun publish:pkg --tag canarybun run clean— rimraf dist .turbobun run build:bundle— contractspec-bun-build transpilebun run build:types— contractspec-bun-build typesbun run prebuild— contractspec-bun-build prebuild
Recent Updates
- Unified the meetup demo around a single seeded runtime.
- Added focused handler tests, a sandbox smoke test, and a harness replay proof.
- Added a slice-scoped meetup preflight instead of relying on the repo-wide policy backlog.
Notes
- Works alongside
@lssm-tech/lib.contracts-spec,@lssm-tech/lib.design-system,@lssm-tech/lib.example-shared-ui,@lssm-tech/lib.runtime-sandbox,@lssm-tech/lib.schema, ...
Declared capabilities.
This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.
Imports and export paths.
83 entriesThese are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.
83 imports · showing 35
@lssm-tech/example.agent-console/agent@lssm-tech/example.agent-console/agent.capability@lssm-tech/example.agent-console/agent.feature@lssm-tech/example.agent-console/agent/agent.entity@lssm-tech/example.agent-console/agent/agent.enum@lssm-tech/example.agent-console/agent/agent.event@lssm-tech/example.agent-console/agent/agent.handler@lssm-tech/example.agent-console/agent/agent.operation@lssm-tech/example.agent-console/agent/agent.presentation@lssm-tech/example.agent-console/agent/agent.schema@lssm-tech/example.agent-console/agent/agent.test-spec@lssm-tech/example.agent-console/docs@lssm-tech/example.agent-console/docs/agent-console.docblock@lssm-tech/example.agent-console/example@lssm-tech/example.agent-console/handlers@lssm-tech/example.agent-console/handlers/agent.handlers@lssm-tech/example.agent-console/presentations@lssm-tech/example.agent-console/run@lssm-tech/example.agent-console/run/run.entity@lssm-tech/example.agent-console/run/run.enum@lssm-tech/example.agent-console/run/run.event@lssm-tech/example.agent-console/run/run.handler@lssm-tech/example.agent-console/run/run.operation@lssm-tech/example.agent-console/run/run.presentation@lssm-tech/example.agent-console/run/run.schema@lssm-tech/example.agent-console/run/run.test-spec@lssm-tech/example.agent-console/seeders@lssm-tech/example.agent-console/shared@lssm-tech/example.agent-console/shared/mock-agents@lssm-tech/example.agent-console/shared/mock-runs@lssm-tech/example.agent-console/shared/mock-tools@lssm-tech/example.agent-console/shared/overlay-types@lssm-tech/example.agent-console/tool@lssm-tech/example.agent-console/tool/tool.entity@lssm-tech/example.agent-console/tool/tool.enum@lssm-tech/example.agent-console/tool/tool.event@lssm-tech/example.agent-console/tool/tool.handler@lssm-tech/example.agent-console/tool/tool.operation@lssm-tech/example.agent-console/tool/tool.presentation@lssm-tech/example.agent-console/tool/tool.schema@lssm-tech/example.agent-console/tool/tool.test-spec@lssm-tech/example.agent-console/ui@lssm-tech/example.agent-console/ui/AgentConsolePreview@lssm-tech/example.agent-console/ui/AgentConsolePreview.data@lssm-tech/example.agent-console/ui/AgentConsolePreviewCards@lssm-tech/example.agent-console/ui/AgentConsolePreviewPanels@lssm-tech/example.agent-console/ui/AgentConsolePreviewTable@lssm-tech/example.agent-console/ui/AgentConsolePreviewV2@lssm-tech/example.agent-console/ui/AgentDashboard@lssm-tech/example.agent-console/ui/AgentDashboard.visualizations@lssm-tech/example.agent-console/ui/AgentRunList@lssm-tech/example.agent-console/ui/AgentToolRegistry@lssm-tech/example.agent-console/ui/components@lssm-tech/example.agent-console/ui/components/AgentConsoleNav@lssm-tech/example.agent-console/ui/ExecutionConsoleHost@lssm-tech/example.agent-console/ui/hooks@lssm-tech/example.agent-console/ui/hooks/useAgentList@lssm-tech/example.agent-console/ui/hooks/useAgentMutations@lssm-tech/example.agent-console/ui/hooks/useRunList@lssm-tech/example.agent-console/ui/hooks/useToolList@lssm-tech/example.agent-console/ui/modals@lssm-tech/example.agent-console/ui/modals/AgentActionsModal@lssm-tech/example.agent-console/ui/modals/CreateAgentModal@lssm-tech/example.agent-console/ui/overlays@lssm-tech/example.agent-console/ui/overlays/demo-overlays@lssm-tech/example.agent-console/ui/renderers@lssm-tech/example.agent-console/ui/renderers/agent-list.markdown@lssm-tech/example.agent-console/ui/renderers/agent-list.renderer@lssm-tech/example.agent-console/ui/renderers/dashboard.markdown@lssm-tech/example.agent-console/ui/renderers/run-list.markdown@lssm-tech/example.agent-console/ui/renderers/tool-registry.markdown@lssm-tech/example.agent-console/ui/views@lssm-tech/example.agent-console/ui/views/AgentListView@lssm-tech/example.agent-console/ui/views/LandingScreen@lssm-tech/example.agent-console/ui/views/run-data-table.columns@lssm-tech/example.agent-console/ui/views/run-list.shared@lssm-tech/example.agent-console/ui/views/RunDataTable@lssm-tech/example.agent-console/ui/views/RunListView@lssm-tech/example.agent-console/ui/views/ToolRegistryView@lssm-tech/example.agent-console/visualizations@lssm-tech/example.agent-console/visualizations/catalog@lssm-tech/example.agent-console/visualizations/selectorsNo export paths match this search.
Dependencies and related packages.
Runtime dependencies 12
- @lssm-tech/lib.contracts-spec
- workspace:^
- @lssm-tech/lib.design-system
- workspace:^
- @lssm-tech/lib.example-shared-ui
- workspace:^
- @lssm-tech/lib.presentation-runtime-core
- workspace:^
- @lssm-tech/lib.presentation-runtime-react
- workspace:^
- @lssm-tech/lib.runtime-sandbox
- workspace:^
- @lssm-tech/lib.schema
- workspace:^
- @lssm-tech/lib.ui-kit-web
- workspace:^
- @lssm-tech/module.execution-console
- workspace:^
- lucide-react
- catalog:ui
- react
- catalog:
- react-dom
- catalog:
Development dependencies 7
- @lssm-tech/lib.harness
- workspace:*
- @lssm-tech/tool.bun
- workspace:*
- @lssm-tech/tool.typescript
- workspace:*
- @types/react
- catalog:types
- @types/react-dom
- catalog:types
- happy-dom
- catalog:testing
- typescript
- catalog:
Package scripts.
Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.
bun publish --tolerate-republish --ignore-scripts --verbosebun publish:pkg --tag canarycontractspec-bun-build buildcontractspec-bun-build transpilecontractspec-bun-build typescontractspec-bun-build devrimraf dist .turbobun lint:fixnode ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .node ../../scripts/biome.cjs check .bun testbun ../../scripts/generate-agent-console-meetup-proof.tsbun run build && bun run typecheck && bun run test && bun ../../scripts/check-agent-console-meetup-policy.ts && bun run proofcontractspec-bun-build prebuildtsgo --noEmit