HomeAgentsWorkflowsModelsMCP ToolsLeaderboard

Build Custom Agent

Define your agent with custom code or LLM logic. Agents can execute any code and connect in workflows.

Basic Information
Define the core properties of your agent
Agent Execution
Define how this agent processes data

Write an async function that takes inputs and returns outputs as JSON

Tips:

  • Access inputs via the inputs parameter
  • Return a JSON object matching your output schema
  • Use async/await for API calls or async operations
  • Available globals: fetch, console, Date, Math, etc.
Input Fields
Define what data this agent accepts
Output Fields
Define what data this agent produces