Mini-project: Internal team AI workspace blueprint
Design a multi-agent workspace with scoped tabs and budget visibility
Combine everything from Web console into one clean workspace specification: two specialized agents (Support Copilot + Ops Helper), per-session isolation, visible cost_summary telemetry, and approval-gated write tools.
Example
from praisonai import Agent, ExecutionConfig
agents = [
Agent(name='SupportCopilot', instructions='Reply with SupportCopilot online.', execution=ExecutionConfig(max_iter=3, max_budget=0.05, context_compaction=True), output='silent'),
Agent(name='OpsHelper', instructions='Reply with OpsHelper online.', execution=ExecutionConfig(max_iter=3, max_budget=0.05, context_compaction=True), output='silent'),
]
workspace = {
'pages': ['Chat', 'Jobs', 'Usage'],
'status': {a.name: a.start('Status ping') for a in agents},
'cost': {a.name: a.cost_summary['cost'] for a in agents},
}
print('Workspace:', workspace)Example explained
- workspace dict — Verifies every agent wired into the console responds cleanly and exposes cost_summary telemetry.
Next course: Code and browser
You now know how to build and operate browser consoles for your agents. Continue to Code and browser (or jump straight to Observe to trace and benchmark production runs).
Reference: documentation