How chromiaagents/decenchro-public works
Decenchro is a hosted and locally runnable AI-agent platform: users configure and deploy agents, then monitor their activity and costs. Its documented runtime combines Telegram, OpenRouter, an Atbash guard, and tamper-evident Chromia memory; hosted agents also receive BNB Smart Chain ERC-8004 identities and daily audit attestations. The console includes lifecycle controls, memory, replay, governance, and billing, with a public registry-backed marketplace. The sampled routes show deployment, management, metrics, and attestation ownership; runtime wiring and several console branches are based on README descriptions and repository paths.
Main entry points: deployments.ts Deployment records · agent Hosted agent image · route.ts Daily attest sweep · deploy.ts Provisioning
Components 31
Console and access
- Web console
app/dashboard - Authentication
app/api/auth/[...path]/route.ts - Auth service
lib/auth/server.ts - Deploy interface
components/deploy-launch.tsx - Memory, replay, governance, billing
components/dashboard
Agent operations
- Deploy endpoint
app/api/deploy/route.ts - Provisioning
lib/dashboard/deploy.ts - Deployment records
lib/dashboard/deployments.ts - Application database
lib/db/client.ts - Lifecycle controls
app/api/agents/manage/route.ts - Metrics endpoint
app/api/agent-metrics/route.ts - Agent metrics
lib/dashboard/agent-metrics.ts - Audit feed
app/api/audits/route.ts
Agent runtime
- Atbash integration
lib/dashboard/atbash.ts - Hosted agent image
docker/agent - Chromia memory client
chain/client/src/memory.ts
Identity and registry
- Daily attest sweep
app/api/agents/attest/route.ts - BSC identity and attestations
lib/dashboard/bsc.ts - Attestation records
lib/dashboard/erc8004-attestations.ts - Agent marketplace
app/agents - Marketplace registry
lib/marketplace/registry.ts
DeFi capability
- BSC DeFi CLI
agent/bsc-defi/bin/bsc-defi.mjs - Swap, lending, yield
agent/bsc-defi/src
Other components
- Operator
- Render hosting
- Atbash guard
- Telegram
- OpenRouter models
- Chromia chain
- BNB Smart Chain
- DeFi protocols
Connections 39
- Operator → Web console: uses
- Web console → Authentication: signs in
- Authentication → Auth service: exchanges session
- Operator → Deploy interface: configures
- Deploy interface → Deploy endpoint: requests deploy
- Deploy endpoint → Provisioning: provisions
- Provisioning → Render hosting: creates service
- Provisioning → Deployment records: records deployment
- Deployment records → Application database: reads and writes
- Operator → Lifecycle controls: manages agent
- Lifecycle controls → Deployment records: reads and updates
- Lifecycle controls → Render hosting: controls service
- Operator → Metrics endpoint: views metrics
- Metrics endpoint → Deployment records: lists deployments
- Metrics endpoint → Agent metrics: fetches and enforces
- Agent metrics → Render hosting: fetches metrics
- Operator → Audit feed: views audit
- Audit feed → Deployment records: scopes agents
- Audit feed → Atbash integration: fetches tool calls
- Atbash integration → Atbash guard: reads audit feed
- Hosted agent image → Telegram: receives messages
- Hosted agent image → OpenRouter models: requests model
- Hosted agent image → Atbash guard: checks risky actions
- Hosted agent image → Chromia memory client: writes memory
- Chromia memory client → Chromia chain: stores records
- Daily attest sweep → Deployment records: loads agents
- Daily attest sweep → Atbash integration: fetches tool calls
- Daily attest sweep → Attestation records: stores attestation
- Daily attest sweep → BSC identity and attestations: registers and attests
- Attestation records → Application database: reads and writes
- BSC identity and attestations → BNB Smart Chain: submits transactions
- Operator → Agent marketplace: browses agents
- Agent marketplace → Marketplace registry: loads listings
- Marketplace registry → BNB Smart Chain: reads identities
- Operator → Memory, replay, governance, billing: monitors and configures
- Memory, replay, governance, billing → Deployment records: reads agent state
- Hosted agent image → BSC DeFi CLI: invokes tools
- BSC DeFi CLI → Swap, lending, yield: dispatches commands
- Swap, lending, yield → DeFi protocols: calls protocols