Concept · L1
Agent — L1.
An autonomous software actor that runs Inferences on Ainfera under a Tenant.
[02]What it is
An Agent is the unit of action on Ainfera. It holds an Agent Card for identity, runs under a Tenant for ownership and billing, and is governed by a spend policy. Every Inference on the platform is attributable to exactly one Agent.
[03]Where it shows up
Where it shows up.
- API
- POST /v1/agents · GET /v1/agents/:id
- SDK
- from ainfera import Agent
- Audit log
- appears as agent.created, agent.updated events
[04]Code example
Code example.
from ainfera import Ainfera
client = Ainfera(api_key="<tenant_key>")
agent = client.agents.create(
name="research-assistant",
spend_policy={"per_call_cap_usd": 0.50, "daily_cap_usd": 25.00},
)
print(agent.id, agent.card.fingerprint)[05]Related
Spec alignment
Aligns with the Agent Trust Spec (ATS v1.0) definition of a verifiable autonomous actor.