Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make lib consistent with cli format #1

Open
4 tasks
creatorrr opened this issue Jan 27, 2025 · 0 comments
Open
4 tasks

Make lib consistent with cli format #1

creatorrr opened this issue Jan 27, 2025 · 0 comments
Assignees

Comments

@creatorrr
Copy link
Contributor

creatorrr commented Jan 27, 2025

Schema for julep.yaml

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://example.com/julep.schema.json",
  "title": "Julep Project Configuration Schema",
  "type": "object",
  "properties": {
    "agents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "definition": {
            "type": "string",
            "description": "Path to the file defining the agent."
          },
          "canonical_name": {
            "type": "string",
            "description": "A unique reference name for the agent."
          }
        },
        "required": ["definition"],
        "additionalProperties": false
      }
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "agent_id": {
            "type": "string",
            "description": "Reference to an agent ID or a templated expression (e.g. {agents[0].id})."
          },
          "definition": {
            "type": "string",
            "description": "Path to the file defining the task workflow."
          }
        },
        "required": ["agent_id", "definition"],
        "additionalProperties": false
      }
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "agent_id": {
            "type": "string",
            "description": "Reference to an agent ID or a templated expression (e.g. {agents['awesome-agent'].id})."
          },
          "definition": {
            "type": "string",
            "description": "Path to the tool configuration or definition file."
          }
        },
        "required": ["agent_id", "definition"],
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants