Hub
Import Agents
This guide will walk you through importing specific AI Agents from the hub.
Overview
You can access mkinf hub Agents throught the mkinf python SDK or via REST API calls.
1. Find an AI Agent
Browse available AI Agents at mkinf hub and select an agent that matches your use case
2. Copy the pull command
Check the “Use Agent” section of your chosen repository for import instructions
Python
Import the AI Agent
To import the agents in our platform, follow this structure:
Some tools require environment variables, including API keys, which must be created and set before use.
You can even set an execution timeout, the default execution timeout is 60 seconds.
Remember to configure any required environment variables specified in the agent’s documentation.
Currently, mkinf tools are compatible with LangChain chains and graphs. Support for other frameworks like CrewAI, AutoGen, and SmolAgents is coming soon.
REST API
Request execution
Agents actions can also be executed directly via API call.
Note that you have also to include the input arguments, you can them in the input schema of each action.
Next Steps
- Check out our SDK repository for implementation samples
- Join our Slack community for support