Skip to content
Agno

Personal and autonomous agents

Use Agno with Shannon

Give Agno agents an OpenAILike model with Shannon's base URL and key; tools, streaming and teams then run on Shannon models.

  • Tested Nov 7, 2026
  • OpenAI Chat Completions
  • About 2 min

About Agno

Agno is a Python framework for building agents, teams of agents and the services around them, with memory, knowledge and tools. Its OpenAILike model class talks to any OpenAI-compatible endpoint, so Agno agents can run on Shannon models.

What you need

A Shannon API key
Keys & usage
Base URL
https://api.shannon-ai.com/v1 Endpoint: /v1/chat/completions
Every snippet below follows your choice.

Set it up

  1. Install Agno

    Shell
    pip install agno openai
  2. Create an agent on Shannon

    Python
    from agno.agent import Agent
    from agno.models.openai.like import OpenAILike
    
    model = OpenAILike(id="Kimi-K3-uncensored-NVFP4", base_url="https://api.shannon-ai.com/v1", api_key="YOUR_API_KEY")
    
    def get_weather(city: str) -> str:
        """Weather for a city."""
        return f"Sunny, 18 C in {city}"
    
    agent = Agent(model=model, tools=[get_weather])
    agent.print_response("What is the weather in Oslo?", stream=True)

Check that it works

Send: Run the sample.

You should see: A streamed answer that uses the tool's result for Oslo.

Models that fit Agno

Every id below meets what Agno needs. The first one is the default in the snippets.

Model idContext windowMax outputImage input
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 Yes
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Yes
MiMo-V2.6-Pro-uncensored-NVFP4 1,022,976 131,072 Yes
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Yes
shannon-3 196,608 65,536 Yes

Good to know

  • Use OpenAILike, not OpenAIChat: OpenAIChat assumes OpenAI's own model names and options.
  • Memory and knowledge features need an embedder for vector search; Shannon does not serve embeddings.
  • print_response shows the model's reasoning in a separate box above the answer when the model returns reasoning, as Shannon models do.

Tips

  1. Plain Python functions with type hints and a docstring work as tools.
  2. agent.run(...) returns a response object; .content holds the text.
  3. Teams take the same model object for every member.

Troubleshooting

SymptomCauseFix
404 Not Found base_url lacks /v1. Use https://api.shannon-ai.com/v1.
401 No key was passed and OPENAI_API_KEY is empty. Pass api_key= to OpenAILike.
401 Unauthorized The key is missing, mistyped or rotated. Copy the key again from Keys & usage; it starts with sk-.
context_length_exceeded / "prompt is too long" The conversation is longer than the model's window. Start a new chat, let the tool compact it, or pick a model with a larger window.
insufficient_quota Your balance cannot pay for the request. Top up or change plan; the request is not retried by itself.

Questions

Does Agno work with Shannon?

Yes, through OpenAILike(base_url="https://api.shannon-ai.com/v1").

Do Agno tools work?

Yes; we ran an agent that called a Python tool.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical