💡 IntelliSense & Snippets

14 code snippets and context-aware completions for faster development.

Available Snippets

Type the prefix and press Tab to expand:

PrefixDescriptionLanguage
aos-agentComplete agent templatePython
aos-policyPolicy YAML templateYAML
aos-kernelKernel initializationPython
aos-workflowWorkflow functionPython
aos-cmvkCMVK integrationPython
aos-langchainLangChain integrationPython
aos-github-actionGitHub Actions workflowYAML
aos-typescriptTypeScript SDK setupTypeScript
aos-vfsVFS memory accessPython
aos-signalsSignal handlingPython
aos-rate-limitRate limiting policyYAML
aos-complianceCompliance policyYAML
aos-securitySecurity ruleYAML
aos-auditAudit configurationYAML

Example: aos-agent

Type aos-agent and press Tab:

from agent_os import KernelSpace, Policy
from agent_os.tools import create_safe_toolkit

kernel = KernelSpace(policy="strict")
toolkit = create_safe_toolkit("standard")

@kernel.agent
async def my_agent(task: str):
    """Agent with full safety guarantees"""
    result = await kernel.execute(task, toolkit=toolkit)
    return result

if __name__ == "__main__":
    import asyncio
    asyncio.run(my_agent("your task here"))

Code Completion

Get suggestions when typing AgentOS imports and APIs:

from agentos import Agent, Policy, Kernel, CMVKClient
#                   ↑ Autocomplete shows all available imports

agent = Agent(
    name="",       # ↑ Parameter hints shown
    permissions=[] # ↑ Valid values suggested
)