Core Concepts
Agents
AI agents that coordinate actions to achieve goals
Agents
Agents are the core building blocks of SpinAI. They combine LLMs with actions to solve tasks.
Creating an Agent
Custom Response Formats
You can specify a response format to get structured data back from the agent:
Using Agents
Agents are async functions that take input and return responses:
Agent Configuration
LLM Support
SpinAI supports multiple LLMs out of the box.
See LLM Support for more details on configuring different models.
Best Practices
-
Clear Instructions
-
Focused Action Sets Only provide actions relevant to the agent’s purpose:
-
State Management Initialize state when needed: