Prerequisites
- You have a running endpoint that exposes an OpenAI-compatible chat completion API.
- You have an API key or other credentials required to call that endpoint.
- You have access to a Vijil team and permission to manage Keys and Agents.
Run an Evaluation
To run an evaluation from the UI, simply select Custom as the Model Hub, then paste your custom endpoint as the Model URL. To run an evaluation using the Python client, use the following code pattern, with your custom endpoint asmodel_url, model name as model_name, and a Harness of your choice.
NOTE: You may need to store multiple API keys that are tied to different custom agent endpoints. Given that, you have made
api_key_name an additional mandatory parameter to be supplied for evaluating custom endpoints.Register an agent on Vijil
Once your custom endpoint credentials are stored as an API key, you can register an agent that uses this hub from the Vijil UI:- Press Register Agent.
- Enter an Agent name.
- Select Custom as the Hub.
- Enter a model name that your endpoint understands (for example
my-custom-model). See your serviceโs documentation for the list of supported models. - Select an existing Custom API key you configured earlier, or create a new one.
- Add a System Prompt if you want Vijil to send a default system prompt with every request to this agent.
Enterprise-only fields (optional)
If your organization uses enterprise-only features with Vijil:- Add an MCP server URL so the agent can access MCP tools exposed by that server.
- Add an A2A Agent Card URL so this agent can participate in agent-to-agent workflows defined in your enterprise.