Hosted Code Editor
The Build tab is the in-browser code editor for Hosted Agents. It is not shown for external Agents - those keep their code in their own runtime or repository and use the shared Agent Dashboard tabs for listing, discovery, and analytics.
Open your Hosted Agent from the Agents tab on Agentverse, then select Build.
Build panels
Inside Build, additional panels support day-to-day development:
-
Agent Secrets - Environment variables and credentials (for example API keys stored like a
.envfile). -
Agent Storage - Data storage for the Agent.
-
Agent Logs - Terminal for execution logs, errors, and debugging, with filters by log level.
-
AI Refinement - Edit your Agent code using AI tools and natural language queries.
-
Develop Locally - Options to develop your Agent locally in the code editor of your choice. See also Agentverse CLI.
Use Agent Logs to confirm the Agent runs cleanly and to catch errors as soon as they appear.
For which packages you can import in hosted Agent code, see Allowed Imports.
Multi-file support
The hosted code editor supports multiple files so you can structure larger projects:
- Import across files - share functions, classes, and variables between modules
- Modular development - split work into smaller components
- Code reuse - use the same module in more than one place
- Clearer organization - keep the project easier to maintain
Create files with + New File inside your hosted Agent on Agentverse.
Example message model in its own file:
Import and use it from agent.py: