opnsense-agent
18
license:apache-2.0
by
patlegu
Language Model
OTHER
7B params
New
18 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
16GB+ RAM
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Device Compatibility
Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
7GB+ RAM
Code Examples
🐍 Usage with Python (CrewAI / LangChain)pythonlangchain
from crewai import Agent, Task
from langchain_openai import ChatOpenAI
# 1. Connect to local Ollama
opnsense_llm = ChatOpenAI(
model="ollama/opnsense-agent",
base_url="http://localhost:11434/v1",
api_key="NA"
)
# 2. Define the Agent
firewall_admin = Agent(
role='Firewall Admin',
goal='Secure the network',
backstory='Expert admin managing OPNsense via API.',
llm=opnsense_llm,
tools=[add_filter_rule_tool, add_alias_tool], # Your actual Python functions
verbose=True
)
# 3. Execute Task
task = Task(
description="Block the attacker IP 203.0.113.66 immediately",
agent=firewall_admin
)Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.