Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This is the Jarvis Offline project - an AI agent system built with Python that uses Ollama for local LLM inference and various tools for enhanced functionality.
Sign in to like and favorite skills
This is the Jarvis Offline project - an AI agent system built with Python that uses Ollama for local LLM inference and various tools for enhanced functionality.
ollama_client.py)tools.py)tavily_search(): Web search using Tavily API with XML-formatted results<chunk 1>, <error>, etc.).env files for API keys and sensitive configuration.env.template for easy setup<agent_name> Task: This is the role_description Agent Response: response_text Tool(s) Invoked and the tool outputs obtained: {tool_name: result} </agent_name>
if __name__ == "__main__": blocksdef tool_name(param1: str, param2: int = 5) -> str: """ Brief description of what the tool does. Args: param1 (str): Description of parameter param2 (int): Description with default value Returns: str: Description of return value with XML format """ try: # Implementation return "<chunk 1>Result</chunk 1>" except Exception as e: return f"<error>{str(e)}</error>"
agent = OllamaClient( model_name="llama3.2:3b", system_instructions="You are a helpful assistant...", agent_name="AgentName" ) agent.set_role("Specific role description")
jarvis-offline/ ├── ollama_client.py # Main agent implementation ├── tools.py # Tool functions and utilities ├── .env.template # Environment variable template ├── .env # Actual environment variables (gitignored) ├── requirements.txt # Python dependencies └── README.md # Project documentation