Configuration

Deep dive into sekuire.yml — the single source of truth for your agent.

File Structure

sekuire.ymlyaml
project: name: "my-agent" version: "1.0.0" description: "A helpful AI assistant" agents: assistant: name: "AI Assistant" system_prompt: "./prompts/assistant.md" tools: "./tools.json" llm: provider: "openai" model: "gpt-4-turbo" api_key_env: "OPENAI_API_KEY" temperature: 0.7 max_tokens: 2000 memory: type: "buffer" max_messages: 20 deployment: docker_image: "myrepo/my-agent:latest" runtime: "node" port: 8000

Project Section

FieldTypeDescription
namestringAgent project name (used in registry)
versionstringSemantic version (e.g., 1.0.0)
descriptionstring?Optional description

Agents Section

Define one or more agents. Each agent has its own LLM config, tools, and memory.

Agent Fields

FieldTypeDescription
namestringDisplay name
system_promptstringPath to system prompt markdown file
toolsstring | arrayPath to tools.json or inline tool list
llmobjectLLM provider configuration
memoryobject?Conversation memory settings

LLM Configuration

FieldTypeDescription
providerstringopenai, anthropic, google, ollama
modelstringModel name (e.g., gpt-4-turbo)
api_key_envstringEnvironment variable for API key
temperaturenumber?Sampling temperature (0-2)
max_tokensnumber?Max tokens in response
base_urlstring?Custom API base URL

Memory Configuration

FieldTypeDescription
typestringbuffer (FIFO) or window (sliding)
max_messagesnumberMax messages to retain

Deployment Section

FieldTypeDescription
docker_imagestringContainer image reference
runtimestringnode, python, rust
portnumberContainer port (default: 8000)

Multi-Agent Configuration

Define multiple agents in the same project:

sekuire.ymlyaml
agents: researcher: name: "Research Agent" system_prompt: "./prompts/researcher.md" llm: provider: "anthropic" model: "claude-3-opus-20240229" api_key_env: "ANTHROPIC_API_KEY" coder: name: "Coding Agent" system_prompt: "./prompts/coder.md" llm: provider: "openai" model: "gpt-4-turbo" api_key_env: "OPENAI_API_KEY" tools: - calculator - file_read - file_write

Environment Variables

Reference environment variables with api_key_env:

.envbash
OPENAI_API_KEY=sk-... ANTHROPIC_API_KEY=sk-ant-... GOOGLE_API_KEY=AIza...
⚠️Never hardcode API keys in sekuire.yml. Always use environment variables.

Next Steps