AI/ML API for AI agents
AI/ML API is a unified API for accessing many AI models for text, image and other generative tasks. Developers use it to call multiple model providers through one integration. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in AI/ML API.
Check billing balance
Look up the remaining balance on the account before kicking off a large batch of model calls.
Create a chat completion
Send a prompt to a model and get a text response back for use elsewhere in a workflow.
Cancel a running job
Stop an in-progress assistant run that's no longer needed, a write action that should be confirmed first.
30 AI/ML API actions, graded by risk.
Every AI/ML API action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
16Look things up. Allowed by default.
- ai_ml_api.get_runGet Run
- ai_ml_api.list_runsList Runs
- ai_ml_api.get_threadGet Thread
- ai_ml_api.get_messageGet Message
- ai_ml_api.list_modelsList Models
- ai_ml_api.get_responseGet Response by ID
- ai_ml_api.get_run_stepGet Run Step
- ai_ml_api.list_batchesList Batches
- ai_ml_api.get_assistantGet Assistant
- ai_ml_api.list_messagesList Thread Messages
- ai_ml_api.list_run_stepsList Run Steps
- ai_ml_api.list_assistantsList Assistants
- ai_ml_api.get_billing_balanceGet Billing Balance
- ai_ml_api.get_luma_generationGet Luma Generation
- ai_ml_api.list_luma_generationsList Luma AI Generations
- ai_ml_api.list_models_with_detailsList Models With Details
write
10Create and change things. Allow, or ask the user first.
- ai_ml_api.create_runCreate Run
- ai_ml_api.update_runUpdate Run
- ai_ml_api.create_threadCreate Thread
- ai_ml_api.update_threadUpdate Thread
- ai_ml_api.create_messageCreate Message
- ai_ml_api.update_messageUpdate Message
- ai_ml_api.create_assistantCreate Assistant
- ai_ml_api.update_assistantUpdate Assistant
- ai_ml_api.submit_tool_outputsSubmit Tool Outputs
- ai_ml_api.text_chat_completionText Chat Completion
destructive
4Delete, cancel or archive. Ask first, or deny outright.
- ai_ml_api.cancel_runCancel Run
- ai_ml_api.delete_threadDelete Thread
- ai_ml_api.delete_messageDelete Message
- ai_ml_api.delete_assistantDelete Assistant
AI/ML API in three steps.
- 01Your users connect AI/ML APIThey add their AI/ML API api key on Arc0 Connect, under your brand. It goes straight into the vault.
- 02You set the rulesReads run, writes like “create Run” can wait for the user, and “delete Thread” can be denied outright.
- 03Any agent can actYour agent calls AI/ML API through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('ai_ml_api', { read: 'allow', write: 'ask', // create_run destructive: 'deny', // delete_thread }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How AI/ML API connects.
Users add their AI/ML API api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
The same AI/ML API connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- API key
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use AI/ML API from any agent.
AI/ML API and Arc0, answered.
Can I use AI/ML API with Claude, ChatGPT or Cursor?
Yes. Connect AI/ML API to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the AI/ML API actions you allow.
How do users connect AI/ML API?
Users add their AI/ML API api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
Which AI/ML API actions can my agent take?
30 in total: 16 read, 10 write and 4 destructive, such as “create Run”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in AI/ML API?
Yes. Actions like “delete Thread” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.
Can my own backend call AI/ML API too?
Yes. The same AI/ML API connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug AI/ML API into your agent.
Your users connect AI/ML API once, under your brand. Your agent gets 30 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan